drupal & flash

19
Drupal && Flash

Upload: peter-arato

Post on 28-Jun-2015

2.833 views

Category:

Technology


1 download

DESCRIPTION

Sketchy prez. about Drupal and Flash

TRANSCRIPT

Page 1: Drupal & Flash

Drupal && Flash

Page 2: Drupal & Flash

Flash and buzz

• Kinematics

• 3D imitation

• Advanced motion handling

• Graphic filterso advanced media handling

Page 3: Drupal & Flash

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

Page 4: Drupal & Flash

Flex

• Flash technology

• XML based description language extension

• Great UI element / layout support

Page 5: Drupal & Flash

SWF

Flash player

Browser

AIR

Desktop

• Container format

• D*mn small

Page 6: Drupal & Flash

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

Page 7: Drupal & Flash

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

Page 8: Drupal & Flash

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)

Page 9: Drupal & Flash

How Druplash | Druplex works?

 

Page 10: Drupal & Flash

Client side communication

• JavaScript connectiono class ExternalInterface()

Page 11: Drupal & Flash

Server side communication

• Pure PHP connection ~ Ajax

Page 12: Drupal & Flash

Server side communication

• Services moduleo XML-RPCo AMFPHPo SWX

Page 13: Drupal & Flash

AMFPHP

• RPC

• Binary formato PHP extension

• Deploy to Services:o define service for Services module

paramso provide function

return value

Page 14: Drupal & Flash

SEO

• URL

• Page elements

• http://www.stevenmerrilltenor.com/ 

Page 15: Drupal & Flash

SWFObject

• Advanced SWF embeddingo params - attributes - variables

• Alternative content

• Requirement validationo eg flash version

Page 16: Drupal & Flash

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• ...

Page 17: Drupal & Flash

Open source Flash

• OpenScreenProjecto swf, flv/f4v

• Flex sdk

• Gnash

• MTASC

• Openlaszlo

Page 18: Drupal & Flash

Security

• Serviceso API keyo sessionID

• Client side - same origin policy

Page 19: Drupal & Flash

Thanks for your attention, harrr

• Drupal - flash / flex connection groupo http://groups.drupal.org/node/6168/connecting-to-drupal 

• http://flex.org/showcase/