Create Your First Wesite

April 12th, 2010

by Sean Durrant

Easily explained A to Z how to create your own website, written specially for beginners and newcommers. Also included are hundreds of screenshots and videos.

Download

  • Share/Bookmark

Putting It All Together

April 9th, 2010

Suppose that you want to design a new Ajax application, or update a legacy web application to include Ajax techniques. How do you go about it? First you need to decide what page events and user actions will be responsible for causing the sending of an asynchronous HTTP request. You may decide, for example, that the action of moving the mouse cursor over an image will result in a request being sent to the server to retrieve further information about the subject of the picture, or that the clicking of a button will generate a server request for information with which to populate the fields on a form. Read the rest of this entry »

  • Share/Bookmark

The Constituent Parts of Ajax

April 9th, 2010

The XMLHTTPRequest Object
When you click on a hyperlink or submit an HTML form, you send an HTTP request to the server, which responds by serving to you a new or revised page. For your web application to work asynchronously, however, you must have a means to send HTTP requests to the server without an associated request to display a new page. You can do so by means of the XMLHTTPRequest object. This JavaScript object is capable of making a connection to the server and issuing an HTTP request without the necessity of an associated page load. Read the rest of this entry »

  • Share/Bookmark

Introducing Ajax

April 9th, 2010

To improve the user’s experience, you need to add some extra capabilities to the traditional page-based interface design. You want your user’s page to be interactive, responding to the user’s actions with revised content, and be updated without any interruptions for page loads or screen refreshes. To achieve this, Ajax builds an extra layer of processing between the web page and the server. Read the rest of this entry »

  • Share/Bookmark

The Need for Ajax

April 9th, 2010

In the following parts of the book, we shall discuss each of the core components in detail. Before discussing the individual components, though, let’s look in more detail at what we want from our Ajax application.

Traditional Versus Ajax Client-Server Interactions Read the rest of this entry »

  • Share/Bookmark

Anatomy of an Ajax Application

April 8th, 2010

What You’ll Learn :

Learn about the individual building blocks of Ajax and how they fit together to form the architecture of an Ajax application. Subsequent chapters will examine these components in more detail, finally assembling them into a working Ajax application.

  • Share/Bookmark

Adding Lines

April 3rd, 2010

A horizontal line, or horizontal rule as it is named in HTML, is one of the easiest tags to use. You can insert the <hr /> tag anywhere in your document to insert a horizontal line that extends across the space available. Take a look at the following sample HTML. It shows three <hr> tags: two used as a section break between text and the other used inside a table cell. Figure 2.8 shows how they appear in the browser. Read the rest of this entry »

  • Share/Bookmark

Formatting Text with Styles

April 3rd, 2010

Text is the most important element of any Web page. Without text, there is nothing on the page to help people decide whether it’s worth coming back. Text on an HTML page is structured by the <body>, <p>, <td>, <tr>, <th>, <h1> <h6>, and <li> tags (among others). You can add your own style preferences to each of these tags using the style properties shown.
In the following example, we’ve added some embedded style elements that set the font, font size, and font color for the body text of a basic HTML page. You can see how those styles change the appearance of the document in the browser. Read the rest of this entry »

  • Share/Bookmark

Applying Styles

April 3rd, 2010

Before moving on, we’ll quickly cover how to apply style properties to your documents. Remember, you have three methods to add style sheets: embedded, linked, and inline. We’ll discuss each one in turn.

Embedded Styles Read the rest of this entry »

  • Share/Bookmark

Add a Little class

April 3rd, 2010

As the old saying goes, rules are made to be broken. What if you don’t want every single h1 heading in your document to be white on a black background? Maybe you want every other h1 heading to be yellow on a white background. Let me introduce you to the class attribute. You can apply this attribute to almost every HTML tag, and it’s almost like creating your own tags. Read the rest of this entry »

  • Share/Bookmark