Flash and HTML5A call for sanity
A talk by @andrewdotdobson
Creative Class Meetup | 11th November 2012 | andrew dobson
Thoughts on FlashAn exercise in FUD
FUD in action“Adobe’s Flash products are 100% proprietary. They are only available from Adobe, and Adobe has sole authority as to their future enhancement, pricing, etc. While Adobe’s Flash products are widely available, this does not mean they are open, since they are controlled entirely by Adobe and available only from Adobe. By almost any definition, Flash is a closed system.”
Steve Jobs, 2010.
Is Apple committed to standards?
Then why don’t they implement HTML5 video?
Product or platform?What actually is Flash?
Evolution of the web
Web platformsApplication Code + Runtime
Actionscript 3 and Flash/AirLAMP.NETHTML5 and the browser
Where Flash falls downPoor coding standards (GUI)AdvertisingCompatibility
Coding standardsKnowing how to use CS5 != understanding a technology
Flash banner advertisingSpecifications still in AS2AVM conflicts and performance drag.Pressure for reform required
CompatibilityShould flash be on mobile?
http://www.remembrance2012.co.uk/
Not everything needs to be mobile
It’s politicalHe who controls the standard, controls the universe.
http://www.caniuse.com/
Setting expectationsClients and users do not care about technology
Whichever way you cut itBrowser support is inconsistent
WebGL support:
H.264 support:
CSS3 Transitions support:
Media Query support:
HacksCSS PieModernizrBranched sites<!– [if IE] -->
Developer overheadStandards dev is more intensiveTesting/QAHacks and exceptionsSheer amount of typing
http://codepen.io/andyunleashed/pen/jnpHc
A simple logo animation
http://html.adobe.comhttp://g-plus-follow-me-animated-button.tumblr.com/animations-examples/ae-text-effect
Things that HTML5 cannot do (effectively)DRMWebcamStreamingFull screenAdvanced audio/DSPAdvanced animationReal-time 3DConsistent layouts, rich text and transitions
Compromises
AccessibilityValidationConsistency (branding!)Performance
Flash use cases1. Augmenting the browser2. Extending beyond
Cross platform adaptive applications
Single codebase, multiple deployments, smart assets – efficient, scaleable and rapidly developed.
Quick porting of current web properties into native
Rapid visual prototyping
Stage3D and StarlingGPU access for gaming, mobile application development and rapid visual prototyping
http://gaming.adobe.com/
Contemporary FlashdevelopmentSorry Adobe…
ToolingAdobe’s developer tooling is largely poor
Pros use: Flash Develop (PC), FDT
Flex SDK includes Air – be wary of beta releases
Debug tools: Monsterdebugger, Monacle (coming soon)
Game dev studio
Alchemy, native extentions
Unity, Cadet3D, Prefab for 3d modelling and animation
Frameworks and open sourceGreensock – LoaderMax, TweenMax, ThrowpropsStarling and Foxhole for GPU 2DAway3D, Flare, Minko for Stage3DCasaLib – utilitiesRobotlegs, PureMVC, Gaia – Design pattern frameworksAS3NUI, In2AR, OpenCV – image processing and NUINape, Box2d – PhysicsOSMF, Tonfal, Stardust – media playback, audio, particlesMinimalcomps – UI components
Literally hundreds of great libs
Summing upWhat have we learnt?
NO IDEOLOGIES
Thanks.@andrewdotdobson
Top Related