Integrando Plone con cualquier cosa

1,258 views
1,173 views

Published on

Charla presentada en el Simposio Sudamericano de Plone 2009 donde se presentan distintos enfoques para integrar Plone con otras aplicaciones y frameworks desde las capas: modelo y vista por medio de contentmirror y deliverance respectivamente.

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

No Downloads
Views
Total views
1,258
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
26
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Integrando Plone con cualquier cosa

  1. 1. menttes Integrando Plone con cuAlquier cosa Roberto Allende rallende@menttes.com http://robertoallende.com http://twitter.com/robertoallende http://menttes.com
  2. 2. Ustedes
  3. 3. Operating System Wars Linux Windows Mac Windows
  4. 4. Plone OS Way Linux + Plone Mac + Plone Windows + Plone
  5. 5. Text Editor Wars Vim Windows Emacs Eclipse
  6. 6. Plone text editor Way Vim + Plone Emacs + Plone Eclipse + Plone
  7. 7. Browser Wars Firefox Safari Opera Chrome IE
  8. 8. Plone Browser Way Firefox + Plone Safari + Plone Opera + Plone Chrome + Plone IE + Plone
  9. 9. Cómo integramos Plone con otras aplicaciones o tecnologías Windows ?
  10. 10. Integrar Plone con cualquier cosa Windows Matt Hamilton Carlos de la Guardia Roberto Allende → (integrador)
  11. 11. Presentación Model / Datos Windows
  12. 12. Caso 1: Moodle + .Net + Plone Windows Presentación
  13. 13. xdvtheme.inventions Deliverance / Collective.XDV Recusos Estaticos PLONE HTML / CSS
  14. 14. Pintandole los labios al puerco Dynamically re-skinning a legacy .NET portal with python Matt Hamilton matth@netsight.co.uk
  15. 15. Introduction  Dynamically re-skinning a .NET portal site  Can't name the client  Portal for teachers in the UK  Aggregating content across legacy portal, Plone and Moodle
  16. 16. Existing Portal (1.0)  Five years old by November 2009  User registrations: 46,681  Course enrolments: 33,664  Resource Bank views: 247,911
  17. 17. Existing Portal (1.0)
  18. 18. Problems with Current Portal  Look-and-feel → Not very compelling  Usability → Challenging in places  A poor content management system → Can't really edit general content, so use a separate FTP server and Dreamweaver  Vendor lock-in → Even small changes, very expensive
  19. 19. The Future - Portal 2.0  Usability, Design and Content Review April 2008  Strategic Review August 2008  Feasibility Studies Jan 2009  Pilot Demonstrator (“Portal V1.5”) March 2009
  20. 20. Design Review
  21. 21. Architecture Review  Portal 1.0 - Monolithic, tightly coupled, poor separation of skin
  22. 22. Architecture Review  Portal 2.0 - Extensible, loosely coupled, good separation of skin
  23. 23. How Do We Get There? Remember: We Can't Touch the Existing System!
  24. 24. The Cunning Plan Browser Portal 1.0 Existing Skin 1.0 Portal Module of function ality e.g. portfoli o
  25. 25. Total Skin Graft! New skin Browser via xpath and xslt transform web server ation. Skin 2.0 transformation Portal 1.5 proxy Web server needs to handle Skin 1.0 SSL. Together they give us nice URLs.
  26. 26. Deliverance  Several Different Projects → xdv → Deliverance 0.3 To learn more on specifics of Deliverance go to http://deliverance.openplans.org
  27. 27. Result  Old → 70kb of HTML → 120 Validation errors, 61 warnings  New → 40Kb of HTML → 27 Errors, 1 warning (mainly xhtml/html conflicts) → No significant performance impact
  28. 28. Putting all together Composite:main pipeline:portal pipeline:plone pipeline:moodl e theme.content theme.content theme.content xslt navmerger navmerger linkrewrite plonecontent moodlecontent htmlcleaner source.plone source.moodle source.portal
  29. 29. End Result New Style Portal content
  30. 30. Caso 2: Coactivate
  31. 31. Coactivate: Plone
  32. 32. Coactivate: Wordpress
  33. 33. xdvtheme.inventions <proxy path="/news" class="inner"> <dest href="http://localhost:55000/VirtualHostBase/ {wsgi.url_scheme}/{HTTP_HOST}/mysite/news/VirtualHostRoot" /> </proxy> <rule class="inner" suppress-standard="1"> <theme href="/static/inner.html" />
  34. 34. Caso 3: collective XDV
  35. 35. xdvtheme.inventions
  36. 36. xdvtheme.inventions <rules xmlns="http://openplans.org/deliverance"> <!-- title --> <replace content='/html/head/title' theme='/html/head/title' /> <!-- content area --> <copy content='//*[@id="content"]' theme='//*[@id="leftcolumn"]' /> <copy content='//*[@id="portal-globalnav"]' theme='//*[@id="links"]' /> <!-- Portlets --> <copy content='//*[@id="portal-column-two"]' theme='//*[@id="rightcolumn"]' /> <drop content='//*/dl/dd/a/img' /> </rules>
  37. 37. xdvtheme.inventions
  38. 38. xdvtheme.inventions
  39. 39. http://plone.org/products/xdvtheme.inventions/
  40. 40. Presentación Deliverance Model / Datos ContentMirror Windows
  41. 41. Plone + salesforce ?
  42. 42. Plone + jython + java ?
  43. 43. Plone + ironpython ?
  44. 44. Plone + ironpython + mono ?
  45. 45. Muchas gracias Roberto Allende menttes rallende@menttes.com http://robertoallende.com http://twitter.com/robertoallende http://menttes.com

×