Upload
peter-arato
View
2.834
Download
1
Embed Size (px)
DESCRIPTION
Sketchy prez. about Drupal and Flash
Citation preview
Drupal && Flash
Flash and buzz
• Kinematics
• 3D imitation
• Advanced motion handling
• Graphic filterso advanced media handling
Flash
• Object oriented technologyo Java and ECMAScript mixing
• Internal and external client-server communicationo real-time media loading
• Reusable componentso ready to use form & media components
• Mobile devices
Flex
• Flash technology
• XML based description language extension
• Great UI element / layout support
SWF
Flash player
Browser
AIR
Desktop
• Container format
• D*mn small
How we can use Flash?
• Graphics / animation• Media player• Data visualizations
o graphs, trees, diagrams• Games and applications• Better / more dynamic content displaying
o scrolling/zooming/movingo display object manipulation
• Website replacement
Is Flash worth it?
• Yes, if ...o it's fastero provide a better way to give informationo it gives new important featureso mostly browser independent
• No, if ...o it's another useless eyecandyo it's SEO killero it slows down pageload radicallyo you don't give alternative content
What we have got in Drupal?
• AMFPHP (6, service)• Asset API (5, file)• DIY Map (5, cont)• File Framework (6, file)• Flash Node (6, cont)• Image FUpload (6, file)• Mollom (6, ?)
• SWFObject API (6, file)• SWF Tools (6, file)• SWFUpload (5, file)• SWX (5, service)• Tiny Player (x, file)• Trackit(5, file)• SWFAddress (5, service)• SWF Charts (5, chart)
How Druplash | Druplex works?
Client side communication
• JavaScript connectiono class ExternalInterface()
Server side communication
• Pure PHP connection ~ Ajax
Server side communication
• Services moduleo XML-RPCo AMFPHPo SWX
AMFPHP
• RPC
• Binary formato PHP extension
• Deploy to Services:o define service for Services module
paramso provide function
return value
SEO
• URL
• Page elements
• http://www.stevenmerrilltenor.com/
SWFObject
• Advanced SWF embeddingo params - attributes - variables
• Alternative content
• Requirement validationo eg flash version
SWFAddress
• Deep linking (with bookmarks)
1. Workflow1.page loaded | history action (back, forward)• javascript --- (state) ---> flash• flash process state• ...• flash change state• flash --- (state) ---> javascript• javascript set url• ...
Open source Flash
• OpenScreenProjecto swf, flv/f4v
• Flex sdk
• Gnash
• MTASC
• Openlaszlo
Security
• Serviceso API keyo sessionID
• Client side - same origin policy
Thanks for your attention, harrr
• Drupal - flash / flex connection groupo http://groups.drupal.org/node/6168/connecting-to-drupal
• http://flex.org/showcase/