Hi! I plan to create a product I call Zope Smart Manager that consist in a view similar to freemind for Zope You could see a picture of my prototype here: http://blogs.sistes.net/Garito/images/ArbolYanged.png The idea is create a series of monkey patches to all the products we are interested to see as tree nodes and a series of javascript (prototype + scriptaculous) for the "client side" I plan this ZSM view will be my main work view with edition and creation For that I need some help about how to create the simplest monkey patch and the javascript objects I have no experience with monkey patching zope nor javascript object but I'll learn all the necessary skills if no one wants to help Can you help me at any point? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garito wrote:
Hi! I plan to create a product I call Zope Smart Manager that consist in a view similar to freemind for Zope You could see a picture of my prototype here: http://blogs.sistes.net/Garito/images/ArbolYanged.png
While I can see visual differences, how does this tree behave differently than the one which the ZMI shows?
The idea is create a series of monkey patches to all the products we are interested to see as tree nodes and a series of javascript (prototype + scriptaculous) for the "client side"
I plan this ZSM view will be my main work view with edition and creation
For that I need some help about how to create the simplest monkey patch and the javascript objects
I don't know why you think you need to moneky-patch anything: you should be able to create such a view using the standard API supplied by pretty much every existing Zope object. The ZMI tree code is here: $ZOPE_HOME/lib/python/TreeDisplay/TreeTag.py
I have no experience with monkey patching zope nor javascript object but I'll learn all the necessary skills if no one wants to help
Can you help me at any point?
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHfNNw+gerLs4ltQ4RAqsAAJ0dpeS4NH7xRt6sH4fMHHcBnxcawQCfR4Mr jEC5oHCat7/3EBgnalVVdFc= =OaJS -----END PGP SIGNATURE-----
--On 3. Januar 2008 07:22:08 -0500 Tres Seaver <tseaver@palladion.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Garito wrote:
Hi! I plan to create a product I call Zope Smart Manager that consist in a view similar to freemind for Zope You could see a picture of my prototype here: http://blogs.sistes.net/Garito/images/ArbolYanged.png
While I can see visual differences, how does this tree behave differently than the one which the ZMI shows?
This is just a tree rotated counter-clockwise.
The idea is create a series of monkey patches to all the products we are interested to see as tree nodes and a series of javascript (prototype + scriptaculous) for the "client side"
I plan this ZSM view will be my main work view with edition and creation
For that I need some help about how to create the simplest monkey patch and the javascript objects
I don't know why you think you need to moneky-patch anything: you should be able to create such a view using the standard API supplied by pretty much every existing Zope object. The ZMI tree code is here:
$ZOPE_HOME/lib/python/TreeDisplay/TreeTag.py
The only issue I see here is the problem to render the graph from left to right instead from top to bottom. There are several graph-drawing tools available (best to start with Graphviz) that generate images or HTML/Imagemaps. -aj
participants (3)
-
Andreas Jung -
Garito -
Tres Seaver