for Python Programmers Dylan Jay PretaWeb [email_address]
Who am I <ul><li>Building Plone sites for 6 years
Founder of PretaWeb, run SyPy
Specialising in infrastructure for website consolidation </li></ul>
 
 
 
 
 
 
CMS is Necessarily Complex <ul>CMS Players <ul><li>Plugin Developer
Themer
Integrator
Administrator
Contributor
Viewer </li></ul></ul><ul>App Players <ul><li>Backend
Frontend
Users </li></ul></ul>
Why a CMS Static html Framework CMS Technical Author Technical Authors Non-technical authors Simple site Dynamic or App Lo...
Why Plone <ul><li>Flexible – elevator goes all the way up
Python
Easy for Contributors
Secure
Accessible
Popular </li></ul>
Warning <ul><li>Two ways to do everything
But I'll just teach just you one </li></ul>
Hello World in Plone <ul>Let's cheat a little $ easy_install zopeskel $ cd src $ paster create --template plone3_theme </ul>
configure.zcml
hello.py
Hello World
hello.pt
hello.py
 
Anatomy of Plone URL - Traversal
Anatomy of a Page <ul>Portlets, Viewlets, CSS/JS, Action Providers </ul>
Upcoming SlideShare
Loading in...5
×

Plone for python programmers

2,641

Published on

And overview of plone for those that know how to use python on the web

Published in: Technology
1 Comment
2 Likes
Statistics
Notes


  • http://pyconau.blip.tv/file/3841055<br /><object type="application/x-shockwave-flash" data="http://blip.tv/play/AYHrzTgC" width="350" height="288"><param name="movie" value="http://blip.tv/play/AYHrzTgC"></param><embed src="http://blip.tv/play/AYHrzTgC" width="350" height="288" type="application/x-shockwave-flash"></embed></object>
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,641
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
40
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Plone for python programmers"

  1. 1. for Python Programmers Dylan Jay PretaWeb [email_address]
  2. 2. Who am I <ul><li>Building Plone sites for 6 years
  3. 3. Founder of PretaWeb, run SyPy
  4. 4. Specialising in infrastructure for website consolidation </li></ul>
  5. 11. CMS is Necessarily Complex <ul>CMS Players <ul><li>Plugin Developer
  6. 12. Themer
  7. 13. Integrator
  8. 14. Administrator
  9. 15. Contributor
  10. 16. Viewer </li></ul></ul><ul>App Players <ul><li>Backend
  11. 17. Frontend
  12. 18. Users </li></ul></ul>
  13. 19. Why a CMS Static html Framework CMS Technical Author Technical Authors Non-technical authors Simple site Dynamic or App Lots of content Construct Construct Customise Easy to learn Moderate learning curve High learning curve Yourself Yourself For someone else to edit
  14. 20. Why Plone <ul><li>Flexible – elevator goes all the way up
  15. 21. Python
  16. 22. Easy for Contributors
  17. 23. Secure
  18. 24. Accessible
  19. 25. Popular </li></ul>
  20. 26. Warning <ul><li>Two ways to do everything
  21. 27. But I'll just teach just you one </li></ul>
  22. 28. Hello World in Plone <ul>Let's cheat a little $ easy_install zopeskel $ cd src $ paster create --template plone3_theme </ul>
  23. 29. configure.zcml
  24. 30. hello.py
  25. 31. Hello World
  26. 32. hello.pt
  27. 33. hello.py
  28. 35. Anatomy of Plone URL - Traversal
  29. 36. Anatomy of a Page <ul>Portlets, Viewlets, CSS/JS, Action Providers </ul>
  30. 37. Why not just hack templates?
  31. 38. Realms of customisation
  32. 39. Viewlets <ul><li>HTML snippets
  33. 40. Defined in code
  34. 41. Registered in ZCML
  35. 42. Customise layout in Generic Setup XML
  36. 43. <demo> </li></ul>
  37. 44. configure.zcml
  38. 45. viewlet.pt
  39. 46. Hello world on every page
  40. 47. Viewlet Manager
  41. 48. Installing viewlet layout
  42. 49. Layers <ul><li>Plone inherently multisite
  43. 50. Layers tie your code/theme to a location
  44. 51. Most specific wins </li></ul>
  45. 52. Registering Resources <ul><li>CSS
  46. 53. JS
  47. 54. Images
  48. 55. I use skins </li></ul>
  49. 56. Making a Content Type <ul><li>Form you can add, edit, move, publish, search
  50. 57. Can be folderish
  51. 58. Can have object references
  52. 59. Dexterity – a new way (Archetypes ok too) </li></ul>
  53. 62. Further Reading <ul><li>Dexterity </li><ul><li>http://plone.org/products/dexterity </li></ul><li>Books </li><ul><li>“Professional Python Development” - Martin Aspeli
  54. 63. (wait for Plone 4.0 edition)
  55. 64. “Theming for Plone 3” - Veda Williams </li></ul><li>Docs (work in progress) </li><ul><li>http://plone.org/documentation/manual/plone-community-developer-documentation </li></ul></ul>
  56. 65. Thanks <ul><li>Dylan Jay
  57. 66. http://www.pretaweb.com
  58. 67. twitter: djay75
  59. 68. [email_address]
  60. 69. Know plone? - we're hiring </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×