Search the web
Sign In
New User? Sign Up
ajax_and_ria · AJAX and RIAs
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
quantum states of AJAX   Message List  
Reply | Forward Message #83 of 103 |
Re: [ajax_and_ria] quantum states of AJAX

Hi all,
 
I'd like to seize this opportunity to present Freja, the Javascript Model-View-Controller framework.
 
 
In Kevin Hackman's classification, I suppose Freja would be somewhere between 2 (User Interface) and 3 (RIA framework).
It's a lightweight framework aimed for single-screen, zero-latency web applications.
 
It provides seamless client-side/server-side XSLT transformation, abstracted into the MVC pattern. There are a few other convenient functionalities in Freja (undo history for instance), but it intentionally leaves out what many other javascript libraries/framework already do well (cross-browser wrappers, gui widgets, etc..).
 
Here's a code sample - which may talk to you more than dozens of page of documentation -
 
var model = new Model('models/mymodel.xml');
var view = new View('views/myviews.xsl');
Controller.onLoadComplete = dispatcher;
Controller.loadAssets();
 
function dispatcher(action) {
   switch(action) {
      default:
         Controller.render(model,view, { placeholder : 'someHtmlElementId' } );
     ...
   }
}
 
Tutorials and documentation (in progress) are available here:
 
Thanks for your attention.
 
 
Cedric Savarese
 
 
 
----- Original Message -----
Sent: Monday, January 02, 2006 5:29 PM
Subject: [ajax_and_ria] quantum states of AJAX

I found this article pretty informative
http://ajax.sys-con.com/read/166503.htm

It describes the different layers of AJAX APIs that are available
(from simple wrapping of transportation protocol to full-on widget
libaries that are integrated into IDEs).

This seems relevant to our conversations last month, where David
Mendals (Macromedia/Adobe) talked about "comparing apples to
oranges", and Jep Castelein (from backbase) contrasted "mature AJAX
toolkits" with "custom ajax projects".

The article is by Kevin Hackman, from General Interface/TIBCO. He
basically says that current AJAX toolkits/libraries fall into one of
four groups (described in order of ascending complexity / power / value).
1)Communication libraries
2)User Interface Components
3)Rich Internet Application frameworks
4)RIA Frameworks with robust visual tooling

I'd quibble with (1) (in my experience, low-level libraries like
Prototype also abstract away differences between how different
browsers implement innerHtml, do event handling, position elements on
the screen, and much more). Maybe a better way to say 1 would be
"provide an API wrapping of existing browser functionality". Other
than that it's a nice model.

Recent events at the Apache
http://www.jonathanboutelle.com/mt/archives/2005/12/tooling_comes_t.html
http://www.nabble.com/AJAX-Toolkit-Framework-Proposal-t778101.html
might bring Zimbra/Rico from (3) status to (4) status. (Up till now,
everything in (4) is either proprietary or generates Flash rather
than JavaScript).

----^-------^------^--------^-------^
Jon Boutelle
Principal, Uzanto Consulting
Mountain View, CA

Office Phone:650-564-0000
skype id: jboutelle
www.uzanto.com
www.jonathanboutelle.com
www.themindcanvas.com
----^-------^------^--------^-------^



Tue Jan 3, 2006 2:05 am

cedric_savarese
Offline Offline
Send Email Send Email

Forward
Message #83 of 103 |
Expand Messages Author Sort by Date

I found this article pretty informative http://ajax.sys-con.com/read/166503.htm It describes the different layers of AJAX APIs that are available (from simple...
Jonathan Boutelle
jonathanbout...
Offline Send Email
Jan 2, 2006
10:29 pm

Apparently haXe can do both SWF & JS, and server-side code: http://www.jessewarden.com/archives/2005/11/haxe_programmin.html http://haxe.org/intro Naturally,...
JesterXL
jesterxl@...
Send Email
Jan 2, 2006
10:44 pm

Hi all, I'd like to seize this opportunity to present Freja, the Javascript Model-View-Controller framework. http://www.csscripting.com/freja In Kevin...
Cedric Savarese
cedric_savarese
Offline Send Email
Jan 3, 2006
2:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help