printlogo
http://www.ethz.ch/index_EN
Department of Materials
 
print
  

DBEditor

Introduction

How many times did you have to build some custom interface for database backends to display and manage their content? Alhought the code might be quite similar there are always some adjustments for each different database. Doing this over and over again is tedious. Not anymore...

Challenge

All you have is a "Z MySQL Database Connection" object; nothing else. Build a database viewer/editor which pulls all needed information dynamically from this object. No hard-coded stuff is allowed to make it work.

Developer

Lorenz Textor, our developer, accepted the challenge and has built the dbeditor. Lorenz is well known in the Mac community because he is the developer of the famous 5 star CocoaMySQL application.

Product

Requirements

The dbeditor requires Zope, python-mysql and ZMySQLDA. Currently, Silva is used only for controlling the access to the dbeditor and its features (tested with Silva 1.1.x and 1.5.x).

Basic Features

Advanced Features

It might be convenient to parameterize the dbeditor to fit better to the databases. For this task there is a configuration panel accessible in the ZMI of the dbeditor (Fig 9).

Database Connection
General Settings
Access Settings
Feature
Roles
Configurable in
view data
Controlled by Silva Access
SMI
view secure columns
Viewer + or higher
ZMI
edit data
Author or higher
ZMI
add or remove data
Editor or higher
ZMI
Columns Settings (Fig 10)
Save Creator, Last Editor, Creation and Modification Time

If you want to automatically save the creator, last editor, creation time or modification time of records you have to create the following fields in your table:

creator DBEDITOR_CREATOR (type varchar)
last editor DBEDITOR_LAST_EDITOR (type varchar)
creation time DBEDITOR_CREATION_TIME (type timestamp)
modification time DBEDITOR_MODIFICIATION_TIME (type timestamp)

To Do List

See separate page.

Download and Installation

Upgrade

Feedback

README.txt, LICENSE.txt

 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2024 ETH Zurich | Imprint | Disclaimer | 22 June 2010
top