OZONE Asylum
Forums
DHTML/Javascript
Web 2.0 best practices?
This page's ID:
29923
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
1) Atom is better specified. Supports I18N, creation and lastModified dates ( hence can be useful coupled with a versioning system ), unlike RSS it specifies the Content-type of the payload of each item, 2) many reasons : [ulist]* it's only been standardized recently and so far browser vendors have had to implement it on their own * it makes script injection ridiculously easy. script tags, object tags, iframes, script execution in background:url(javascript:...); etc... * it nukes the events attached in that branch of the DOM tree[/ulist]There is certainly more reasons. Of course innerHTML can be bloody fast when creating/removing a massive amount of elements but quite often it's as easy and more practical to clone a template sub tree and customize it then insert/replace it. 3) eval( "someJsCode" ), JSON, Function( "someJsCode" ), setTimeout( "someJsCode", delay ) and setInterval( "someJsCode", delay ) are equaly evil and slower than passing some arguments to a function. Also their use is rarelly justified. Basically don't trust user inputs and don't make it easy to inject evil stuff. [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_neon88x31.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_teapot.png[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »