[ZDP] Zope Quick Ref version 0.01

Andreas Kostyrka andreas@mtg.co.at
Sun, 1 Aug 1999 19:34:30 +0200 (CEST)


On Sat, 31 Jul 1999, Evelyn Mitchell wrote:

> 	Document template classes
> 		DocumentTemplate.HTML
> 		DocumentTemplate.HTMLFile
> 		DocumentTemplate.String
> 		DocumentTemplate.File
Does this serve any practical purposes while doing DTML
development? Should the Quick Reference not limit itself to the 
DTML development process in ZOPE?
Especially if you use DTMLs with ZPublisher, this is a split
responsibility:
Python code: developer.
DTML:        web designer.


> Object Reference
> 	DTML Document methods
> 		PUT (self, REQUEST, RESPONSE) 
> 		manage_edit(self, data, title, [SUBMIT, dtpref_cols, dtpref_rows, REQUEST]) 
> 		manage_upload(self, [file, REQUEST]) 
> 	DTML Method
> 		PUT (self, REQUEST, RESPONSE) 
> 		document_src(self, REQUEST, RESPONSE) 
> 		manage_FTPget(self) 
> 		manage_FTPlist(self, REQUEST) 
> 		manage_FTPstat(self, REQUEST) 
> 		manage_edit(self, data, title, [SUBMIT, dtpref_cols, dtpref_rows, REQUEST]) 
> 		manage_proxy(self, [roles, REQUEST]) 
> 		manage_upload(self, [file, REQUEST]) 
> 	Database Management
> 		DELETE(self, REQUEST, RESPONSE) 
> 		HEAD(self, REQUEST, RESPONSE) 
> 		PROPFIND(self, REQUEST, RESPONSE) 
> 		PROPPATCH(self, REQUEST, RESPONSE) 
> 	External Method
> 		manage_edit (self, title, module, function, [REQUEST]) 
> 	File
> 		DELETE(self, REQUEST, RESPONSE)
> 		PUT(self, REQUEST, RESPONSE) 
> 		getContentType(self) 
> 		getSize(self) 
> 		index_html(self, REQUEST, RESPONSE) 
> 		manage_FTPget(self) 
> 		manage_FTPlist(self, REQUEST) 
> 		manage_FTPstat(self, REQUEST) 
> 		manage_edit(self, title, content_type, [precondition, REQUEST]) 
> 		manage_upload(self, [file, REQUEST]) 
> 		view_image_or_file(self, URL1) 
> 	Folder
> 		manage_addMailHost(self, id, [title, smtp_host, localhost, smtp_port, 
> 			timeout, REQUEST]) 
> 		manage_createWizard(self, connection_id, REQUEST) 
> 	Image
> 		DELETE(self, REQUEST, RESPONSE) 
> 		PUT(self, REQUEST, RESPONSE) 
> 		getContentType(self) 
> 		getSize(self) 
> 		index_html(self, REQUEST, RESPONSE) 
> 		manage_FTPget(self) 
> 		manage_FTPlist(self, REQUEST) 
> 		manage_FTPstat(self, REQUEST) 
> 		manage_edit(self, title, content_type, [precondition, REQUEST]) 
> 		manage_upload(self, [file, REQUEST])
> 	Mail Host
> 		manage_makeChanges(self, title, localHost, smtpHost, smtpPort, 
> 			timeout, [REQUEST]) 
> 	Object Manager
> 		manage_FTPlist(self, REQUEST) 
> 		manage_FTPstat(self, REQUEST) 
> 		manage_delObjects(self, [ids, REQUEST]) 
> 		manage_exportObject(self, [id, download, RESPONSE]) 
> 		manage_importObject(self, file, [REQUEST])
> 		objectIds(self, [spec]) 
> 		objectItems(self, [spec]) 
> 		objectValues(self, [spec]) 
> 	P SQL Input Wizard
> 		createSQLInput(self, RESPONSE, URL2, formId, resultId, sqlId, 
> 			[formTitle, resultTitle, sqlTitle]) 
> 		getObjectsInfo(self, REQUEST) 
> 		index_html(self) 
> 		quit(self, RESPONSE, URL2) 
> 	Product
> 		mange_createWizard(self, connection_id, REQUEST) 
> 	User Folder
> 		getUser(self, name) 
> 		getUserNames(self)
> 		getUsers(self) 
> 		manage_users(self, [submit, REQUEST, RESPONSE]) 
> 	Version
> 		discard(self, [REQUEST])
> 		enter(self, REQUEST, RESPONSE) 
> 		leave(self, REQUEST, RESPONSE) 
> 		leave_another(self, REQUEST, RESPONSE) 
> 		manage_edit(self, title, [REQUEST]) 
> 		save(self, remark, [REQUEST]) 
> 	Version Management
> 		DELETE(self, REQUEST, RESPONSE) 
> 		HEAD(self, REQUEST, RESPONSE) 
> 		PROPFIND(self, REQUEST, RESPONSE) 
> 		PROPPATCH(self, REQUEST, RESPONSE) 
> 	Zope Draft
> 		manage_Discard__draft__(self, [REQUEST]) 
> 		manage_Save__draft__(self, remark, [REQUEST])
> 	Zope Factory
> 		DELETE(self, REQUEST, RESPONSE) 
> 		HEAD(self, REQUEST, RESPONSE) 
> 		PROPFIND(self, REQUEST, RESPONSE) 
> 		PROPPATCH(self, REQUEST, RESPONSE) 
> 
> 
> Security
> 	On a per-item or acquired basis
> 	Also local roles (extra roles in the context of this objects and sub-objects)	Acquire Permissions
> 	Permission
> 	Roles
> 		Anonymous
> 		Manager
> 		Owner
> Undo
> 	Select changes and undo them
> Find
> 	Simple
> 		Find objects of type
> 			(varies according to where it is called from)
> 		with ids: (id)
> 		containing: (keywords)
> 		modified
> 			before/after (date)
> 		search only in this folder/search all subfolders
> 	Advanced
> 		Find objects of type
> 			(varies according to where it is called from)
> 		with ids: (id)
> 		containing: (keywords)
> 		expr: (regular expression?)
> 		modified
> 			before/after (date)
> 		where the roles: (Anonymous/Manager/Owner)
> 		have permission: (Permissions select list)
> 		search only in this folder/search all subfolders
> 		
> Control Panel
> 	Zope version information
> 		Zope version
> 		Python version
> 		System Platform
> 		Process ID
> 		Process lifetime
> 	Shutdown
> 	Database Management 
> 		Database
> 			Size
> 			Location
> 			Pack (remove old revisions)
> 		Cache Parameters
> 			Number of Objects in DB
> 			Number of objects in cache
> 			Target size of cache (set)
> 			Target maximum time between accesses (set)
> 			Mean time since last access
> 			Deallocation rate (objects/minute)
> 			Deactivation rate (objects/minute)
> 			Time of last cache garbage collection
> 		Flush Cache
> 			Manual Cache Garbage collection
> 	Version Management (ZODB3 only)
> 	Product Management
> 		Contents
> 		Properties
> 			change
> 			delete
> 		Add
> 			Id
> 			type 
> 				boolean 
> 				date
> 				float
> 				int
> 				lines
> 				long
> 				string (default)
> 				text
> 				tokens
> 				selection
> 				multiple selection
> 

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA