Plone - PowerPoint PPT Presentation

1 / 32
About This Presentation
Title:

Plone

Description:

Plone????. ??:???. ???????????????? ????. www.zopechina.com. ???? ... Throught The Web ??. ????????????. ZMI = Zope Management Interface. ?????????. ZMI??????? ... – PowerPoint PPT presentation

Number of Views:328
Avg rating:3.0/5.0
Slides: 33
Provided by: blog69
Category:
Tags: plone | throught

less

Transcript and Presenter's Notes

Title: Plone


1
Plone????
  • ?????
  • ???????????????? ????
  • www.zopechina.com

2
????
  • ???
  • Zope????????????????
  • Plone???????????????
  • ???
  • Python??????????????
  • Plone??
  • ???
  • Plone???????
  • ??????????

3
????
  • PPT??
  • ??????
  • ?????????
  • training.zopechina.com
  • ?????????
  • ??????
  • ?????????
  • Freemind?????????
  • ????
  • ope book
  • ope ??????
  • lone????

4
????
  • zope????,?????
  • zope??????
  • zope???????

5
Zope???
  • Zope
  • Z Object Publishing Environment
  • www.zope.org
  • Web?????(web????)
  • ????
  • Weblogic
  • ColFusion

6
?????Zope
  • ???????
  • ??????
  • ??????
  • scale???(ZEO)
  • ?????????,????????
  • ?????????????.
  • ??undo?history???
  • ???????????
  • ??Python

7
Zope???
  • Zope??
  • 1996??Bobo, Document Template, BoboPos.
  • 1998.11??Principia,??zope
  • CMF??????
  • PlonePlone???
  • ArchetypesCMF??????
  • CPS??Nuxeo??
  • Silva??Infrae??
  • Zope 3???????Zope??
  • Z3 ECM??????
  • Zope???????8???
  • ????/??/????/SGI/????...

8
Zope2????
9
Zope????
  • Software ? Instance
  • Software?Zope?????
  • Instance?Zope?????
  • ??mkzopeinstance.py?????Instance
  • Software
  • bin
  • lib/python
  • lib/python/Products
  • Instance
  • bin etc log var Products Extension import

10
zope???
  • Windows
  • ??
  • runzope.bat
  • Linux
  • zopectl start/stop
  • zopectl debug (????)

11
Zope?????
  • ZMIThrough-The-Web??
  • ??????????
  • ??????ZODB
  • ZEO
  • ????object publishing
  • ????
  • ????

12
Throught The Web ??
  • ????????????ZMI Zope Management Interface
  • ?????????
  • ZMI???????
  • Zope???? ?? ????
  • ??
  • ???????????
  • ?????????????
  • ??????????????
  • (Zope????,????ZMI)

13
????
  • ??(object)????????
  • ZMIzope???????
  • ? ??????????
  • ??(attributes)?????
  • ? ZopeProperties
  • ??(method)????????
  • ??????????(function)
  • Zope?????
  • ?????????. (ZClass/Product)
  • ??ZMI?doc??
  • ?????Persistent / Request / Session

14
ZODB???
  • ZODBZope Object DataBase
  • ???,??cache??
  • ????
  • ?????????????
  • ?????FileStorage/DirStorage/APE
  • ?????ZODB Mount Point
  • ???????
  • ???undo???????(Pack)
  • ?ZODB???????
  • ????repozo.py
  • ??ZEO

15
ZEO??
  • Zope Enterprise Object??????
  • ??
  • ????
  • ??
  • ?????????
  • ????

16
ZEO????
  • ??
  • CacheClientStorage
  • ??????
  • ??mkzeoinstance.py
  • ??zeo.confzope.conf

17
??????
18
??????
19
????-??(request)
  • http//www.zope.org8080/Resources?batch_start100
  • http//www.zope.org8080
  • /Resources (?????)
  • ?batch_start100(???????)
  • ??REQUEST??
  • ? form cookie session URL
  • form???Marshall
  • form??get(??) / post(??)
  • boolean int long float string required
    ignore_empty date list tuple lines tokens text

20
????-??(traversal)
  • http//localhost/vertebrates/mammals/monkey/screec
    h
  • ????
  • a.__bobo_traverse__("next")
  • a.next
  • a"next"
  • ????
  • ? restrictedTraverse
  • Set Access Rule

21
??(acquization)
  • ?????????????????
  • ? A/C/D/B
  • ?? VS ?? ?? VS ??
  • ??
  • ????????????,????
  • ??context???????
  • ???Zope2?????
  • URL / Script / DTML / Page Tempate
  • context VS Container
  • context???????????

22
?????API
  • ?/??????
  • obj.aq_aquire(attr_name)????
  • obj.aq_explicit?????????????
  • aq_parentcontext????
  • aq_inner?????????
  • aq_base??????

23
??????
  • ???????
  • ????
  • ??????index_html
  • ????str
  • ? HTTP RESPONSE
  • REQUEST.RESPONSE
  • response.write('')
  • response.setHeader('Content-Type',
    'text/htmlcharsetutf-8')
  • response.redirect()

24
??????
  • ??????URL,????,??,????
  • request???????????
  • ??????,?????
  • ??????????????
  • request.RESPONSE????

25
Zope????
  • Zope???????????????,????????
  • ??????-gt???
  • ???????
  • ?????????????????
  • ???????????,??????
  • ??????
  • ?????????????????
  • ????????,???????????
  • ??????
  • ????????
  • ??????,???????????

26
????
  • ??????
  • ??-gt??-gt???-gt??
  • ??-gt?-gt??-gt??-gt??
  • ????
  • ??-gt??(????/??/??)
  • ?-gt??(????/??/??)
  • ??-gt?(????/???/???)
  • ??-gt??
  • ??????????ZMI?????
  • Plone?????????,??????

27
?????
28
?????
  • acl_users
  • ????????
  • ????????
  • ????????
  • ????????????????
  • ????????????????
  • pluggable
  • ??
  • LDAP
  • ???
  • ...

29
Zope/Plone???
  • ????
  • View??????
  • Add portal content????
  • List folder contents?????????
  • Delete objects????
  • Modify portal content ????
  • Add portal member?????
  • Reply to item??

30
Plone???
  • ???????
  • Anonymous????
  • Authenticated????
  • ????????
  • Owner???
  • Member??
  • Reviewer???
  • Manager???

31
Zope2?????
  • ????
  • Python Script
  • External Method
  • ????
  • Page Template
  • DTML
  • ?????
  • SQL Method
  • ????
  • Product

32
Zope?????(??)
  • Site Access Rule??????
  • virtual_hosting_monster????
  • Cache????
  • RAMCache
  • HTTPCache
  • Sessionsession???
  • zcatalog????
  • error_log????
  • MailHost????
Write a Comment
User Comments (0)
About PowerShow.com