Plone -- Evolving Python CMS
-
Upload
tsungwei-hu -
Category
Technology
-
view
359 -
download
1
description
Transcript of Plone -- Evolving Python CMS
![Page 1: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/1.jpg)
Plone :Evolving Python CMS
胡崇偉
marr.tw @ gmail.com
![Page 2: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/2.jpg)
I Love WebDo You?
Encouraging Everyone
to Think in a Way
Scalable and Collaborative
![Page 3: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/3.jpg)
Common Ways to Have Your Sites
1. Building Them with Frameworks
2. Running Them with CMSes
![Page 4: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/4.jpg)
Existing FrameworksNever Satisfy Me,
So I Create My Own…
強者如是說
![Page 5: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/5.jpg)
Plone = Python based CMS
CMS = Contents in DatabaseAdded/Edited by User/GroupManaged via WorkflowSearchable with Index/Catalog
![Page 6: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/6.jpg)
Installation Options
1.Unified Installer
2./usr/bin/python
3.VirtualEnv
![Page 7: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/7.jpg)
Content ID = URLhttp://localhost:8080/mysitehttp://mysite.com/my_folder/my_itemhttp://mysite.com/my_folder/my_item/viewhttp://mysite.com/my_item/edithttp://mysite.com/managehttp://mysite.com/@@manage-viewlets
http://www.sixfeetup.com/blog/10-reasons-why-plone-can-improve-your-seo
![Page 8: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/8.jpg)
Solid Core• Proven Migration Path
• Good approximation of Security Track Records of All Stack Components
http://plone.org/products/plone/security/overview
![Page 9: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/9.jpg)
Undo, Transaction, Versioning
Python’s dynamic nature allows developers to quickly develop applications, avoiding the compile cycle and static typing declarations required by other languages. The ZODB offers a similar benefit: developers who use the ZODB can store their objects transparently without any cumbersome mapping of objets to relational database tables.
![Page 10: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/10.jpg)
Default Content Types
PageNews ItemEventImageFileLink
Folder
Collection
![Page 11: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/11.jpg)
Editing
![Page 12: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/12.jpg)
Display
![Page 13: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/13.jpg)
One Folder Different Display
![Page 14: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/14.jpg)
News Item Listing #1
![Page 15: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/15.jpg)
News Item Listing #2
![Page 16: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/16.jpg)
More ThanOut-Of-The-Box Functionalities
Needed?
With a Little Help from My Friends
![Page 17: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/17.jpg)
Python Building Blocks
Python Packages are distributed as Eggs
Python Package Index
http://pypi.python.org/
Example:
easy_install docutils
pip docutils
![Page 18: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/18.jpg)
Extend Plone with Add-ons
Plone Addon (Product) =~ Python Package (Egg)
![Page 19: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/19.jpg)
How Plone Add-ons Work
zc.buildout helps to install addons
![Page 20: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/20.jpg)
CMS = Forms in Database
Form = Content Type
![Page 21: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/21.jpg)
Form = CMS Core
Content Type = Schema = Fields + Widgets
![Page 22: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/22.jpg)
From Archetypes To Dexterity
Improved Content Type Building Framework
![Page 23: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/23.jpg)
Dexterity Behaviors
Reusable components that can be
enabled on a per-type basis through enumeration in the FTI.
![Page 24: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/24.jpg)
Diazo : UI Design + Contents
![Page 25: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/25.jpg)
Diazo Concept
http://www.diazo.org/
![Page 26: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/26.jpg)
Diazo In Action
http://screenr.com/snt8
![Page 27: Plone -- Evolving Python CMS](https://reader034.fdocuments.net/reader034/viewer/2022052504/54b6d2384a7959ec3a8b4581/html5/thumbnails/27.jpg)
Considerations
1. ZODB: a Double-edged Knife
2. Positioned as Enterprise Grade
3. Resource Availability
4. Integration Issues