>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Ajax Service - service class ajax var classes initialize update event

 
Registered tutorials: 501
Registered Users: 29884



Rating: 0 out of 0 votes cast


  
Category: JavaScript Framework

Ajax Service

Digg this   Post to del.icio.us

Abstract: Utilize Prototype.js classes to implement a pure XHR Service for your web application.

A history of my evolution in ajax, I begin at adoption of prototype. Here the Ajax.Request was all powerful but, its syntax, i felt became redundant in most applications. I then create Ajax.Application, which soon became Ajax.Application.Base as its subclasses, Ajax.Application.Cache and Ajax.Application.Queue soon proved to have their own niche in my repertoire.

I started off using these classes to inherit my "Ajax Applications" from, these classes would manage DOM elements and coordinate DOM Events with dispatching XHR requests and handle all appropriate updates to these DOM elements to provide user experience. This works, but a major drawback is that this all goes on inside the black box of the class.


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 18
Unique Hits: 16


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.1 0.1 0.3 0.3 0.6 0.7
Current 0 0 0 0 1 1
Previous 0 0 1 1 0 0
Oct 13 0 0 0 0 2 2
Oct 12 0 0 0 0 0 0
Oct 11 0 0 0 0 1 2
Oct 10 0 0 0 0 0 0
Oct 9 0 0 0 0 0 0
Oct 8 1 1 1 1 1 1
Oct 7 0 0 1 1 1 1
Oct 6 0 0 0 0 0 0
Highest 2 2 2 2 4 5


Script Execution Time: 0.55329 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2