Clean Simple AJAX Script

Clean Simple AJAX Script

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
78 views

Clean is an open source engine for AJAX, that provides a high level interface to work with the AJAX technology.

It can be plugged in any page or DHTML framework because it was designed in conformation with the separation of concerns principle, keeping focus on AJAX issues.

Clean is a software based on well succeed design patterns and inspired on Java Message Service API, that offers reliable solutions to AJAX.

It was created to solve real problems found on AJAX applications, and is used in many projects. Clean will help you to adopt AJAX saving your time and your code, reducing your learning curve and the code reengineering.

What Clean is:

  • Server side technology agnostic, you can use it with any server side language;
  • Simple to install, to configure and to use;
  • Small learning curve solution;
  • Full based on client side JavaScript.

What Clean is not:

  • A DHTML widget framework with AJAX features embedded on it;
  • A huge and complex framework that claims to be the main artifact in your applications;
  • A toy implementation wrapping XMLHttpRequest and ActiveX.

Features Provided

Clean focus is on simplicity and speed on development, keeping the focus only on AJAX issues.

It is very important to note that the sense of simplicity does not mean poorness, so Clean is not negligent with AJAX problems and needs. To accomplish the mission of improve AJAX applications Clean provides:

  • A high level of abstraction, just one facade to work with AJAX.
  • Configuration by exception, minimum explicit configuration to work.
  • Simple way to customize message’s behavior and apply your on logic to them.
  • Multiple request handle, the engine is able to handle requests simultaneously.
  • Exception handle, the engine is aware about exceptions and how to report them.
  • Trace console to monitor messages’ life cycle.
  • Cache and history control.
  • Message queue used to manage the requests.
  • Garbage collection.
  • Integration with WebServices based on SOAP, XMLRPC and JSON protocols.
  • Transition effects (Beta).
  • Compliant with the OpenAjax Hub 1.0 Specification.
  • Cross-browser (Internet Explorer, Firefox, Mozilla, Opera, Safari, Chrome).
 function showError(e){
   alert(e);
 }

 function get(url, consumer, progress_bar, cache){
   var message = Clean.createSimpleMessage(url,
                  consumer, showError);
   if(cache != null)
 message.cache = cache;
   if(progress_bar != null){
 var progress = new EmbeddedProgressBar(document,
                    progress_bar);
 message.progressBar = progress;
   }
 message.effect = {steps: 12, effect:"FADE"};
   Clean.doGet(message);
 } 

 function post(url, consumer, form){
   var message = Clean.createSimpleMessage(url, consumer,
                  showError);
   Clean.sendFormByName(message, form, false);
 }
 


Demo: http://clean-ajax.sourceforge.net/index.php?tab=demos

Download: http://jaist.dl.sourceforge.net/sourceforge/clean-ajax/clean-ajax_4.3.zip

Source: http://clean-ajax.sourceforge.net

http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/stumbleupon_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/delicious_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/blinklist_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/furl_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/technorati_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/magnolia_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/google_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/myspace_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/facebook_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/sphinn_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/mixx_32.png http://www.ajaxupdates.com/wp-content/plugins/sociofluid/images/twitter_32.png

Related Listings:

  1. Caching AJAX Results in Javascript AJAX is an awesome tool. AJAX requests are usually faster...
  2. ZK Ajax Mobile Framework ZK is the a proven Ajax + Mobile framework designed...
  3. Clean Attractive Vertical Menu using jQuery It looks something like a lava lamp menu (Simple Lava...

Do you like this post?

Email:     

Tags: , , ,

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment



Web Design & CSS (Templates) - TOP.ORG