Activate your free membership today | Log-in

Wednesday, January 3rd, 2007

ExpressionEngine Ajax Resources

Category: Articles, PHP

<p>Jamie Pittock has launched a new ExpressionEngine site and has a couple of articles covering the building of Ajax applications using the PHP framework.

In ExpressionEngine and Ajax Jamie covers adding some simple features to an ExpressionEngine application using the Prototype framework and Behaviour.

JAVASCRIPT:
  1.  
  2. var myrules = {
  3. 'ul#thumbs li a' : function(el){
  4.         el.onclick = function(){
  5.     var title = this.id
  6.     new Ajax.Updater('featured', '/gallery/_gallery-ajax/'+title, {
  7.         asynchronous:true,
  8.         evalScripts:true,
  9.         onComplete:function(request, json){
  10.             Element.hide('indicator')
  11.         },
  12.         onLoading:function(request, json){
  13.             Element.show('indicator')
  14.         }
  15.     });
  16.     return false;
  17.     }
  18. }
  19. };
  20. Behaviour.register(myrules);
  21.  

Jamie also put together a proof of concept for the good ole To Do List application, all within the time it took his girlfriend to get ready for a night on the town.

Related Content:

  • Hooking Ajax to Web services
    A how-to on bringing Ajax design patterns to Web services, with specifics on how to build in support of WS-Addressing and WS-Resource...
  • ASP.NET AJAX Special Report
    Our ASP.NET AJAX special report offers book excerpts, a learning guide and several articles to help .NET developers get started with Microsoft's Ajax...
  • Podcast: ASP.NET AJAX gurus explain the framework inside and out
    Two authors of "ASP.NET AJAX in Action" share their insight into getting started with Microsoft's Ajax development...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...

Posted by Dion Almaer at 8:42 am
1 Comment

++++-
4.1 rating from 27 votes

1 Comment »

Comments feed TrackBack URI

It’s very beautifully.

Comment by Mike — August 17, 2007

Leave a comment

You must be logged in to post a comment.