You are not logged in Log in Join
You are here: Home » Members » mjablonski » PropertyObject » swpackage_view

Log in
Name

Password

 
 

PropertyObject

Please download current releases at http://mjablonski.zope.de/PropertyTools

You want to create database-apps with the ZMI in a few minutes? Then have a look at the PropertyObject...

The PropertyObject is intended mainly for use in conjunction with the PropertyFolder and AbracadabraObject. If you got the logic and power behind AbracadabraObject, you will love the PropertyObject. If not, you will have no idea what to do with PropertyObject at all... but maybe you can use it for other problems as well.

Screenshoot of a unlocked PropertyObject

Screenshoot of a locked PropertyObject

The main idea behind AbracadabraObject is a simple mechanism to clone pre-configured objects through the Zope-Managemement-Interface (ZMI). The usual way using AbracadabraObject for building database-applications with the ZMI was setting up a DTMLDocument with some properties and a rendering. With the PropertyObject you have a highly specialized object for building comfortable database-applications with the ZMI in just a few minutes.

After installing you can add one or more PropertyObjects to your AbracadabraObject's "standard_object_folder". The main-view of a PropertyObject is a configurable property-sheet, which you can edit & modify & sort to meet your needs (Security-right: PropertyObject: Edit). You can simply reorder your properties with the buttons on the right. Additionally you have a "Manage-Tab" (Security-right: PropertyObject: Manage). There you can set an "object_type" for your PropertyObject, which can be a DTMLMethod or ZPT and is used to render your PropertyObject or to identify different kinds of PropertyObjects in ZCatalogs (index object_type as fieldindex). Additionally you can set a description which will be displayed as a help text on the top of the property-sheet. Still more you can set a default_catalog and lock/unlock the property-sheet of your PropertyObject. You can save your changes or synchronize the properties and management-values of all PropertyObjects of the same object_type in this folder and below.

Example for building contact-database:

  • Create a folder called contacts.
  • Create a "standard_object_folder" in contacts.
  • Enter the "standard_object_folder", add a PropertyObject and edit the property-sheet. Add new properties "email", "homepage" and "phone" as string-types.
  • Go to the Manage-Tab: Set Object-Type = Contact, Description = Some dummy text explaining for dummies, Unlock "Extensible Properties".
  • Enter your contacts folder.
  • Create a Catalog with id=Catalog.
  • Add some contacts with the AbracadabraObject.
  • With Z-Search-Interface create a search for your contacts and here you are...;-)
  • If you like, create a DTMLMethod with id=Contact which renders "email", "homepage" and "phone" for every PropertyContactObject so you can call them via url.

This should give you the main idea behind AbracadabraObject & PropertyObject. If you want you can use the "Publish-Tab" of the PropertyObject. Publishing means that a special variable published is turned on for a PropertyObject (Security-right: PropertyObject: Publish). You can use this for some kind of review processing for PropertyObjects. Please note: No business logic is taken at all while "publishing" a PropertyObject!

Maybe it is hard to understand what I meant with the PropertyObject. But I promise you: If you ever wanted to create databases with the ZMI, AbracadabraObject und PropertyObject is what you need...

Please feel free to contact: [email protected]

Latest Release: 1.10
Last Updated: 2002-09-18 07:40:21
Author: ZopeOrgSite
Categories: Content Object, Helpers
Maturity: Stable

Available Releases

Version Maturity Platform Released
1.10 Stable   2002-09-18 07:40:21
  PropertyObject-1.10.tgz (14 K) All
1.04 Stable   2002-09-11 11:58:21
  PropertyObject-1.04.tgz (12 K) All
1.3.3 Stable   2003-03-10 18:35:05
  PropertyObject-1.3.3.tar.gz (14 K) All
1.3.2 Stable   2003-02-23 10:08:46
  PropertyObject-1.3.2.tar.gz (14 K) All
1.3.1 Stable   2003-02-04 16:49:55
  PropertyObject-1.3.1.tar.gz (14 K) All
1.3.0 Stable   2003-01-06 17:38:47
  PropertyObject-1.3.0.tar.gz (15 K) All
1.03 Stable   2002-09-08 03:55:17
  PropertyObject-1.03.tgz (12 K) All
1.2.2 Stable   2002-12-20 14:59:17
  PropertyObject-1.2.2.tar.gz (14 K) All
1.2.1 Stable   2002-11-22 17:15:42
  PropertyObject-1.2.1.tar.gz (14 K) All
1.2.0 Stable   2002-11-21 05:42:46
  PropertyObject-1.2.0.tar.gz (14 K) All
1.02 Stable   2002-09-06 01:59:59
  PropertyObject-1.02.tgz (12 K) All
1.01 Stable   2002-09-05 04:19:15
  PropertyObject-1.01.tgz (12 K) All
1.0 Stable   2002-09-04 00:37:55
  PropertyObject-1.0.tgz (12 K) All