Globale linker

Inet+

Tester

Braindumps

Chapter 3 - Development principles

Essential programming terms

Types of internet programming

The logical structure of compiled and interpreted programming languages are similar, so some types of code might look similar. See table pages 166-168 in the book.

Database principles

A database represents an attempt to describe real-world values in a way that allows for easy storage, manipulation and retrieval. Data is stored in rows (records) and columns (fields).

Traditional nonrelational databases are seldom used in modern database applications. Think of a nonrelational database as an Excel-database where all the data is stored in one place. Each database operation requires moving the entire databasefile to the workstation running the application. Sharing data between different applications is difficult.

Relational databases stores multiple data tables in one file or multiple files. Relations are built/established between the different tables.

SQL is a data-definition and data-manipulation language for relational databases.

The decision to integrate a database into a website can be made whenever active or dynamic data is needed on the site, or the site needs to store information. This can be anything from personalization of a site to developing a full ecommerce site.

There are several different technologies which can be used to connect a site to backend databases:

HTML & CSS

HyperText Markup Language explained

Cascading Style Sheets explained.

Multimedia

Every web developer must consider browser compatibility issues when deciding on the use of new web technologies. Viewers of your site must either avoid new features or the must download and use the must up-to-date browser.

Causes of web browser incompatibility includes:

Multimedia file formats:

Analysis and testing

Checking hot links - Before launching a site, a thorough review of the hot links and checking the hyperlinks for dead links and mistyped links should be performed. Visitors have short attention spans for sites with broken links.

Testing different browsers - You should also check your site in Internet Explorer & Netscape Navigator. You should preview your site in several different versions of the browsers, as different versions render the screen differently.

Testing for e-commerce site corruption - If you are running an e-commerce site, you should have a test version of the site available for reliability testing and run tests which look like actual customers using your site.

Load testing - You should also test the access to your site and the ability of your servers to handle volumes of visitors and customers. Software is available which runs scripted tests on your server and records how well your server handles the sample visitors.

Testing with various speed connections - Another test which should be run on your site is testing your site with various connections, including 28.8K, 33.6K, and 56.6K dialup, DSL, Cable Modem, ISDN, and T1. Testing your site with the various connections can show slow spots where a majority of customers (dialup) will experience.

NB!

With the help of JavaScript you can prevent your pages from being displayed inside another Web site's frameset. Your top-level document must check whether it is loaded into its own top or parent window. When a document is in its own top window, a reference to the top property of the current window is equal to a reference to the current window (self). If the two values are not equal, you can script your document to reload itself as a top-level document:

<script language="javascript">
  if(top != self) {
    top.location = location;
   }
</script>

Chapter 2 Chapter 4