08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Â
Flash And Dom
1. Flash and the DOM
Why you still need to know JavaScript
*not* AIR and AJAX !
by Mike Wilcox
mwilcox@sitepen.com
Twitter: #clubajax
http://clubajax.org
Software engineer at SitePen, and one of the founder of the DFW user group Club AJAX. I’m an AJAX expert with a lot of experience in HTML, CSS, and Flash as well as a lot of video. I’m a dojo committer and have written and maintain several dojo components including the DEFT project that integrates Flash into Dojo AJAX components
A very well run, small company with a high customer satisfaction rate. Builds exceptional web apps that other companies have trouble with. Well known in the AJAX/OS community. Makers of the Dojo Toolkit which I’ll reference in the presentation
Started with HTML and CSS - Used Flash early on with Real Media in HTML and controlled everything via JS - Struggled with the Netscape IE feud - When Netscape died, focused on IE sites - suddenly a client said “this doesn’t work in FF” - starting getting into JS in depth, and discovered AJAX and Open Source - I do AJAX, AS2, AS3, and AIR… but not a Flex guy
Possibly note the irony of comparing AS and JS while showing the new “brands” of each product from splash screens and popup windows
EcmaScript 2: Harmony
Flash can't do a jsonp call
explain what it is, why it won't work without eval
Note that other AJAX libraries don’t have obvious support for SWF embedding
We’ll focus on the eponymously named Mike’s custom code
Good time to mention that “Mike’s code” is not publicly available, but there’s a strong chance the concepts will end up in dojo, and an outside chance of it being released as Club AJAX code
Technique wouldn't work in very old browsers like Netscape 6
Note the root atts ***And duplicate use of ID and name
codebase and plugins page trigger the expressInstall
ie tests for versions, other browser do not and would need custom detectors
Note that other AJAX libraries don’t have obvious support for SWF embedding
We’ll focus on the eponymously named Mike’s custom code
fscommand required doc.write which was very limiting
replacement for fscommand required doc.write which was very limiting
comm bridge between JS and AS
AS makes calls to JS and creates functions in the JS enviro for JS to call (without erroring)
Mention Uploader woes
The Microsoft thing… joke.
Silverlight and Microsoft will kill Flash. AJAX will kill Flash. Flash isn’t going anywhere. It’s achieved incredible market penetration with its plugin, and Adobe continues to deliver on exciting technologies that AJAX apps have to wait years for. While an MS-backed Silverlight does create competition, the winner of that competition will most likely will be developers and users.
The web has evolved at a blistering pace. It was only 15 years ago that it was being used for little more than research papers (remember getting drivers off of bulletin boards?), whereas today it is the de-facto application deployment platform. A key enabler of this high rate of evolutionary change is the ability of web developers to understand what others have done in order to achieve a particular outcome and to copy that technique. We have been trained nearly our whole lives to think that copying is bad, but we know at some level that this is how we learn. A web that isn’t “view source”-able isn’t “the web”. We need to come to terms with the long-term costs of lowered productivity and higher incremental costs for any platform that doesn’t preserve the “view source” capability as a default property of the platform. We’re all reaping the benefits of decisions made 15 years ago, all the while discussing new technologies that endanger that value chain without a cogent discussion of the costs and benefits. We need to think hard about this.
Java-like code creates a barrier of entry - is a move away from ECMAScript which is growing in popularity and is the language that helped Flash grow - shuts out previous Flash non-OO coders - AS3 takes longer to write - WebKit proves that strict typing isn’t necessary for speed