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
< view plain text >
  1. var myrules = {
  2. 'ul#thumbs li a' : function(el){
  3.         el.onclick = function(){
  4.     var title = this.id
  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.             Element.show('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...
  • 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 threats worry researchers
    Black Hat: While it makes smooth Web applications like Google Maps possible, the rush to adopt Ajax may fuel haphazard development and a feeding...
  • Ajax threats worry researchers
    Black Hat: While it makes smooth Web applications like Google Maps possible, the rush to adopt Ajax may fuel haphazard development and a feeding...

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.