24 февраля 2006

sIFR - reloaded

Some of the ways this also increased “speed” of our flash is that normally when you utilize XML in flash the load sequence looks something like this.

Server Renders Application page > HTML is Downloaded to the user agent > Flash is initialized by user agent > Flash downloads XML from server > Flash Parses XML and renders movie > Movie is Displayed

All this loading, connecting and parsing takes time as any flash developer will tell you. The size of your XML is directly related to how long this procedure takes.

Using XHTML Content Injection the XML content is already present in the movie on flash load because the content is passed in using querysting values by JavaScript on initialization. Because of this all you need to do is to select the content using your favorite XML parsing utility – we used a mix of XPath and homegrown applications. This load sequence saved us valuable seconds on both the server and client side.


Комментариев нет:

Архив блога

What to do?

you have site designed in a dark theme, saying dark background, white font.
By default google toolbar autocomplete cracks html for inputs or selects containg "email" "name" "address" and other buzzwords and changes background to yellow. As a result when visitor fills form, he enters text as white on yellow and can not easy validate his input
What to do?



item http://www.voronenko.com/2006/02/sifr-reloaded.html