Dojo And Plone

1,268 views

Published on

A "lightening talk" showing the quick & dirty way to use Dojo with Plone.

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
1,268
On SlideShare
0
From Embeds
0
Number of Embeds
60
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide








  • Dojo And Plone

    1. 1. Using with Django has Dojango. So what has Plone got?
    2. 2. Why? • jQuery already included within Plone • Dojo offers some compelling advantages • Made with bigger projects in mind • Namespacing, packaging, code reuse, etc. • Batteries included • Vector graphics, widgets, a11y, CLA, etc.
    3. 3. The Easy (Sleazy) Way • Use Deliverance (or collective.xdv) • Isolate jQuery from Plone’s JavaScript • Pull in plone.css separately • Pull in jQuery separately • Pull in Dojo’s base JavaScript & CSS • Use Dojo’s build system for extra modules
    4. 4. Isolating jQuery • Go to the Zope Management Interface • Go to portal_javascripts • Alter the jquery.js setting to match the example • Needed for JavaScript load ordering
    5. 5. Theme Example
    6. 6. Shining Stars Example
    7. 7. The Better Way • I haven’t done it yet • Eliminate jQuery • Combine build systems intelligently • Ideally there would be an option
    8. 8. Links • dojotoolkit.org • dojocampus.org • sitepen.com • plone.org • deliverance.openplans.org • feneric.blogspot.com

    ×