|
|
Server-side jQuery and more cool tricks with Aptana Jaxer
|
05/08/2009, by Davey Waterson
|
In this example, (the first in a series) we're going to build a simple voting tool, using a single page of DHTML. The implementation is quite basic but covers a good few examples of how to use Aptana Jaxer in real world situations, such as :
- Using Ajax libraries on the server (jQuery in this example)
- Server-side DOM manipulation (using jQuery)
- Storing and retrieving Session data
- Creating and accessing a database
- E4X as a templating mechanism (E4X provides native XML support in JavaScript)
- Handling form data
This example was written as a single page webapp. You could remove the Javascript to another file and make it all unobtrusive if that is what gets you excited, but I'm just using an inline script tag, as the code is only about 30 or so lines long. Also in Jaxer we could have easily implemented this using Jaxer's seamless ajax callback mechanism but for the purpose of this example we'll stick with a traditional form post.
Read More...
|
Rate this Ajax Articles
Rating: 7.5 out of 4 votes cast
| |
|
|
|
|
|
|
|
|
|
|
|
|