THIS IS A BETA VERSION
Address Book is an app based on forms and MindTouch Properties. It is based on two templates Template:XeleRubricaPersona Template:XeleRubricaSoggetto that call other two template Template:XsysPrView Template:XsysPrEdit that manage forms creation and page properties extraction.
XeleTemplate: manage the content and pass all needed parameters to XsysTemplate (you could have an unlimited number of Xele template for projects, hardware devices, tasks, ...)
XsysTemplate contain the logic and are used to create different forms
One important aspect is the ability to create a one-to-many relationship, you have a data type that will display a list of MindTouch page title, instead the page title the script will store page id in properties (this is unique), also if you will move the page or change page title, the relation is maintained.
Performance
Dekiscript become slow if you loop around a lot of pages, do xpath operations and use wiki.getpage to extract page properties (Es: On Amazon EC2 32 bit cpu intensive, Centos 5.2 and MindTouch 9.03 - XsysPrView takes 5 second to loop 121 pages)
The solution is to use cache the result and loop only when you create a new page, see new cahce templates in DekiScript - XsysPrEdit XsysPrView (Forms)
A better solution is to develop a C# extension to query page properties (X)Forms
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by