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.

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

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:

  • Helping Ajax developers prevent exploits
    Ajax security is increasingly important as attackers have set their sights on Ajax apps. Andrew van der Stock explained what risks developers need to...
  • Ajax Tutorial
    Ajax, short for Asynchronous Java and XML, has allowed developers to create interactive Web pages with rich interfaces. Rich Internet applications...
  • 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...
  • Direct Ajax - Goodbye to Ajax Deadly Sins
    A tech lead was assigned to enrich his company's "Expense Claim" application with Ajax technologies. At first, he planned to deliver the application...
  • Ajax for Lotus Notes Domino
    Asynchronous JavaScript and XML (Ajax) is a Web development practice used by developers to create interactive Web applications. The main goal of Ajax...

Posted by Dion Almaer at 8:42 am
1 Comment

4 rating from 32 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.