wiki:Technology
Last modified 11 years ago Last modified on 01/04/07 11:47:30

Technology

Our system

Products needed to run the toolbox

See Download

Products needed to run the unit tests

ZopeTestCase
Comes with Zope.
PloneTestCase
Not the class that comes with Plone, but the actual product. Don't use the version you can find at plone.org, but use the SVN to get it (at least revision 19463 works).
cd ZOPE-PRODUCT-DIRECTORY
svn co https://svn.plone.org/svn/collective/PloneTestCase/trunk/ PloneTestCase
Python profile library
May come with Zope, but if your tests complain about "import profile" not working, find the library for your Python environment and install it.

Development tools

ArchGenXML

ArchGenXML is a simple Python based tool to generate source skeletons to Plone content types and Plone portal tools. It can generate the schema, methods, docstrings, page templates. You can run the generator over an existing Python file, and ArchGenXML will keep the existing methods. ArchGenXML works with the standardized XMI format, which is readable for most of UML editors. I suggest to use this tool to generate content types and tools, because a UML diagram is more readable like a Python code, and the automatic code generation facilitate the developing. We could use one shared XMI or some different XMIs. In the first case the diagram would be in one place. This would be more readable, but if two developer edit it in the same time, the merge could be hard. In the second case the diagram is split some parts. It is not too readable, but we would rid of the merge problem.

In the Plone.org you can find a good manual: http://plone.org/documentation/archetypes/archgenxml-manual

WinG

Wing IDE is a commercial Python IDE with Zope support. It has every standard features, like syntax highlighting, auto-completion, auto-indent, etc. The most important thing why I prefer it, that it has a good runtime debugger. I tried it with Plone, and it worked fine. Combined with the Plone "auto-load" facility (which is not working every time) it is a really efficient development tool to Plone development.

Product homepage: http://wingware.com/

Html Validator

HTML Validator is a Mozilla extension that adds HTML validation inside Firefox and Mozilla. The number of errors of a HTML page is seen on the form of an icon in the status bar when browsing. The details of the errors are seen when looking the HTML source of the page.

The extension is based on Tidy. Tidy, was originally developed by the Web Consortium W3C. And now extended and improved by a lot of persons. Tidy is embedded inside Mozilla/Firefox? and makes the validation locally on your machine, without sending HTML to a third party server.

Product homepage: http://users.skynet.be/mgueury/mozilla/

Architecture

We should make some models that visualize the ideas behind our system.

Attachments