In the previous section we discussed a set of abstractions that are sub-classes of the component. A component class abstracts some behavior and to implement that, it might add a set of event listeners to its elements. Those event handlers are encapsulated in the component class and ser... May. 16, 2007 07:30 PM EDT Reads: 5,643 |
AJAX is the right technology for a Web-enabled rich user interface (UI). But as with any technology, unstructured software created using it is a recipe for failure. AJAX is a set of powerful and flexible technologies but its disorderly use can result in spaghetti code. If the code isn'... May. 16, 2007 07:15 PM EDT Reads: 5,192 |
In the MainPage-9.html, we add a new link called 'Save' in the top toolbar. It's used to save the changes made by the user using an AJAX request. Apr. 18, 2007 08:00 AM EDT Reads: 2,131 |
Note in the 'setData' method of the SimpleTable, the following code. The code to add 'cellClicked' as an 'onclick' listener to each cell. The ID attribute of each attribute is set so that we can parse it to retrieve the row and column of the cell. Apr. 17, 2007 08:00 AM EDT Reads: 2,606 |
In the previous sections, we've discussed the HTML template and a component class called 'NavBar.' Next we'll discuss more templates and the component classes that are bound to the application data. But before that, we'll discuss how the data is converted to the internal form. The XML ... Apr. 16, 2007 08:00 AM EDT Reads: 2,198 |
Refer to TopNavBar.html. This is a pure HTML document. It's created to act as a template for the navigation bar. Note the 'id' assigned to each anchor element. The screenshot of the navigation bar template is shown below. Apr. 15, 2007 08:00 AM EDT Reads: 2,504 |
Let's look at the source code organization in our sample application. It's important from two perspectives: a) it would be useful in browsing the sample code described in the following sections; and b) the directory structure helps visualize the structure of the pages. We use the direc... Apr. 14, 2007 08:00 AM EDT Reads: 2,488 |
JSP, JSF, special tags, configuration files, and tld files are all replaced by client-side HTML templates, components, and controllers. We only need a controller servlet on the server side. Apr. 13, 2007 08:00 AM EDT Reads: 1,874 |
When the user makes changes to the data, all the changes can be recorded locally up to some point or sent to the server immediately. It depends on the application situation. In a typical application, there are certain changes that are buffered until the user selects an operation to ind... Apr. 11, 2007 08:00 AM EDT Reads: 2,671 |
The controller servlet orchestrates interaction between the client- and server-side components that serve as the real data sources or service providers. The client uses XML messages to send details of server invocations. The controller servlet interprets the XML messages and delegates ... Apr. 10, 2007 08:00 AM EDT Reads: 2,514 |







Anil Sharma is a founder of Vertex Logic and architect of its AjaxFace product. He is working with Vertex Logic's customers and helping them deploy WEB 2.0 applications built using AjaxFace. These applications are in the areas of online printing, community WEB sites and social networking. He is driving future products of Vertex Logic. Prior to Vertex Logic, he was CTO and founder of Softrock Systems and Component Plus. There he built a model driven application platform using J2EE. His primary interests include user interface infrastructures and model driven applications. He is one of the contributors of the book "Real World AJAX - Secrets of the Master".




























