Drupal+Flash=Druplash CMS

3,293 views
3,221 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,293
On SlideShare
0
From Embeds
0
Number of Embeds
285
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal+Flash=Druplash CMS

  1. 1. valeramakarov@mail.ru www.druplash.org
  2. 2. DRUPAL + FLASH = DRUPLASH MS Flash Drupal
  3. 3. ПОЧЕМУ НЕ FLASH? , 5% ash ash- ,
  4. 4. ПОЛЬЗОВАТЕЛЯМ НРАВЯТСЯ АНИМИРОВАННЫЕ, КРАСИВЫЕ FLASH САЙТЫ
  5. 5. ЗАКАЗЧИКАМ ТОЖЕ НРАВЯТСЯ FLASH САЙТЫ, НО ОНИ БОЯТСЯ ТИПИЧНЫХ ПРОБЛЕМ С FLASH САЙТАМИ:
  6. 6. ЗАКАЗЧИКАМ ТОЖЕ НРАВЯТСЯ FLASH САЙТЫ, НО ОНИ БОЯТСЯ ТИПИЧНЫХ ПРОБЛЕМ С FLASH САЙТАМИ: CMS SEO ( deeplinking, bookmarking, browser history) ashplayer (version detection)
  7. 7. ПОЧЕМУ DRUPLASH? Druplash open- source , . Drupal - ash, .
  8. 8. ЧЕМ DRUPLASH ОТЛИЧАЕТСЯ ОТ ДРУГИХ FLASH CMS? opensource Drupal - opensource CMS ( 2009 opensource CMS pakt- pub ) Flash Drupal ( SWFaddress, AMFPHP )
  9. 9. ЧЕМ DRUPLASH ОТЛИЧАЕТСЯ ОТ ДРУГИХ FLASH CMS? ( ) SWFobject ( ash ) SWFaddress ( deeplinking, browser history ) SWFaddress SEO ( HTML ) AMF ( )
  10. 10. ЧЕМ DRUPLASH ОТЛИЧАЕТСЯ ОТ ДРУГИХ FLASH CMS? ( ) Drupal HTML ( HTML ) Drupal , .. . ( , API key)
  11. 11. ЧТО ИЗ СЕБЯ ПРЕДСТАВЛЯЕТ DRUPLASH? DRUPAL 6 SWFobject FLASH AS3 SWFaddress AMFPHP Services
  12. 12. FLASH AMFPHP DRUPAL module SERVICES ( Services node.get ) <function>getHello</function> drupal.call( "node.get", nodeResponse, sessionId, nid ); ActionScript AMF PHP ActionScript Message Format
  13. 13. FLASH AMFPHP DRUPAL module SERVICES ( Services node.get ) <function>getHello</function> drupal.call( "node.get", nodeResponse, sessionId, nid ); “Hello World!” ActionScript AMF PHP ActionScript Message Format
  14. 14. AMF - ADOBE ACTIONSCRIPT MESSAGE FORMAT AMF - ADOBE ACTIONSCRIPT MESSAGE FORMAT - , (PHP) ActionScript. ( , XML) AMF3 - opensource .
  15. 15. AMFPHP AMFPHP - opensource AMFPHP.module Drupal
  16. 16. МОДУЛЬ SERVICES SERVICES DRUPAL “ ” API FLASH DRUPAL node.get node.save views.get
  17. 17. FLASH ПОДКЛЮЧЕНИЕ К DRUPAL NetConnection
  18. 18. ПОДКЛЮЧЕНИЕ К DRUPAL // AMFPHP var baseURL:String = "http://localhost/drupal6"; var gateway:String = baseURL + "/services/amfphp"; // Drupal var drupal:NetConnection = new NetConnection(); drupal.objectEncoding = ObjectEncoding.AMF3; // drupal.connect( gateway );
  19. 19. ПОДКЛЮЧЕНИЕ К DRUPAL ( ) // Drupal var responder:Responder = new Responder( onCon- nect, onError); // Drupal drupal.call("system.connect", responder); // function onConnect( result:Object ){ trace(" !!!"); }
  20. 20. ПОДКЛЮЧЕНИЕ К DRUPAL ( ) // function onError( error:Object ){ for each (var item in error) { trace(item); } }
  21. 21. FLASH ЗАГРУЗКА НОДЫ ИЗ DRUPAL ВО FLASH ( Node ) - Drupal
  22. 22. ЗАГРУЗКА НОДЫ ВО FLASH // Drupal drupal.call("system.connect", responder); // function loadNode( nid:Number ) { // Drupal var nodeResponse:Responder = new Responder( onNodeLoad, onError); // node.get drupal.call( "node.get", nodeResponse, sessionId, nid ); }
  23. 23. ЗАГРУЗКА НОДЫ ВО FLASH ( ) // Drupal function onNodeLoad( node:Object ) { // Title trace( node.title ); }
  24. 24. ПРИМЕРЫ САЙТОВ НА DRUPLASH
  25. 25. www.davematthewsband.com
  26. 26. www.davematthewsband.com
  27. 27. www.davematthewsband.com
  28. 28. www.davematthewsband.com
  29. 29. www.hellonasty.beastieboys.com
  30. 30. http://stevenmerrilltenor.com/
  31. 31. OPENSOURCE DRUPLASH
  32. 32. www.adobe.com/devnet/ ash/articles/drupal_ ash.html
  33. 33. www.richardleggett.co.uk
  34. 34. www.tmtdigital.com
  35. 35. Travis Tidwell FLASH WITH DRUPAL www.tmtdigital.com
  36. 36. 1. . Flash Drupal? 2. “Hello World” Flash. , Drupal Flash Ser- vices Module. 3. Flash CCK. Flash- , Content Construction Kit (CCK). : Recipe Flash, . 4. Drupal Flash. Im- ageCache .
  37. 37. 5. Drupal Flash. Drupal' Audio - Flash- . 6. Drupal Flash. , , CMS Drupal. 7. , 1. Flash HTML JavaS- cript. 8. , 2. Flash- . 9. Flash Views. - , Drupal- Views.
  38. 38. 10. Drupal Flash. Flash, - User Login. 11. Drupal Flash. 12. Flash. Flash. , Voting Service Flash, Drupal- FiveStar.
  39. 39. ЧТО НУЖНО ДЛЯ СОЗДАНИЯ САЙТА НА DRUPLASH? DRUPAL 6 SWFobject FLASH AS3 SWFaddress AMFPHP Services
  40. 40. www.code.google.com/p/swfobject/
  41. 41. JS swfaddress www.example.com/portfolio/3/ HTML www.example.com/#/portfolio/3/ SWF www.asual.com/swfaddress/samples/ ash/#/portfolio/3/
  42. 42. www.drupal.org/project/swfaddress
  43. 43. www.drupal.org/project/swfaddress
  44. 44. http://www.amfphp.org
  45. 45. www.drupal.org/project/amfphp
  46. 46. www.drupal.org/project/services
  47. 47. ДРУГИЕ МОДУЛИ DRUPAL Path auto: ( URL , ( /news/itemN ) Token: Path auto CCK: (content creation kit).
  48. 48. ДРУГИЕ МОДУЛИ DRUPAL ( ) Views: ( , view), . , , (display) . , , (grid) . .
  49. 49. ДРУГИЕ МОДУЛИ DRUPAL ( ) Node Hierarchy: (parent/child) , . Image Cache: , . . ...
  50. 50. WWW.DRUPLASH.ORG opensource project www.high-light.ru

×