[TYPO3-hci] ajax: TAKE TWO FJAX?

Matthew Manderson matthew at manderson.co.uk
Tue Sep 12 16:03:36 CEST 2006


Is fjax a suitable cadidate?

"Fjax is an alternative method for doing the kind of Web 2.0 builds that are
currently done in Ajax. The advantage is that it does it in a fraction of
the size, and requires no code forking to work in the different browsers.
It's a streamlined way of doing asynchronous content updates with XML...

Fjax uses the Flash Player to load a 1 pixel by 1 pixel transparent SWF to
simply get XML from the server. Once it has the XML, it parses it into HTML
and then lets JavaScript know it's ready. JavaScript then gets the HTML
from Flash and DHTMLs it into the web page — it uses JavaScript to write
(X)HTML/CSS onto the page.

In the end, Fjax gets XML and delivers HTML. It doesn't collaborate with
Ajax. It doesn't need to. It doesn't load data visually into a Flash movie
for presentation. It could, but that is not the point. It doesn't generate
SWFs or require a server side component. It is its own thing. Oh, and did
we mention it's only 65 lines of code? And it's free."

Matthew



More information about the TYPO3-team-hci mailing list