Note: This blog is sorta marketing-related and less frequently updated than other blogs that I author.
If you are more of a techy-geek than a marketing wizard then cre8ive hut
will be much interesting for you.
Volkan.
Volkan.
11.14.2005
On Demand JavaScript
sardalya is getting bloated and since it is composed of separate classes anyway, I may use
on demand javascript to load modules when necessary.
So I'm going back in history I suppose. Split the modules, which was a huge single file and load them when necessary.
Just thinking about the pros and cons of it currently.
...
Actually, rethinking on the issue, just async loading of sardalya would be sufficient.
It will be somethink like using "defer". This way the images and CSS will be loaded and after that the main functionality will be loaded. Hence a better visual experience.
some pseudocode
window.onload
doascyncload
end windowonload
doasyncload
while not sardalya loaded -> busy wait
when loaded do other stuff
end doasyncload
(note to self - this also means chopping out parts of the Validator and moving it to a global js file)
... And I think I'll remove(or decrease the number of) the supporter site's ads. It takes several seconds to come. Which is not a good user experience. And imho, user experience is more important than money (yeah everyone has a price, I know :) )
on demand javascript to load modules when necessary.
So I'm going back in history I suppose. Split the modules, which was a huge single file and load them when necessary.
Just thinking about the pros and cons of it currently.
...
Actually, rethinking on the issue, just async loading of sardalya would be sufficient.
It will be somethink like using "defer". This way the images and CSS will be loaded and after that the main functionality will be loaded. Hence a better visual experience.
some pseudocode
window.onload
doascyncload
end windowonload
doasyncload
while not sardalya loaded -> busy wait
when loaded do other stuff
end doasyncload
(note to self - this also means chopping out parts of the Validator and moving it to a global js file)
... And I think I'll remove