Re: ZMI / JavaScript brainstorm
IMHO, much of what makes the ZMI difficult to use is due to limitations of the textarea widget in a web browser (no syntax highlighting, no indentation support, etc.) So what if there was a way to get JavaScript to take the contents of a textarea widget, save that to a temporary file and then call a local editor of the user's choice to edit that file. Upon exit of the local editor, the contents of the file are then put back in the textarea widget. How would the use model work? Hook into the right mouse button menu over the textarea widget an entry called "Edit Contents with Local Editor". Granted there a lots of issues here, chief among them figuring out how to let JavaScript write data to the client machine (read security). All the same, this could let folks have the best of both worlds: ZMI for navigation, user's local editor for editing. Just a thought. -Charles
On Mon, 8 Apr 2002, Charles Y. Choi wrote:
IMHO, much of what makes the ZMI difficult to use is due to limitations of the textarea widget in a web browser (no syntax highlighting, no indentation support, etc.)
So what if there was a way to get JavaScript to take the contents of a textarea widget, save that to a temporary file and then call a local editor of the user's choice to edit that file. Upon exit of the local editor, the contents of the file are then put back in the textarea widget. How would the use model work? Hook into the right mouse button menu over the textarea widget an entry called "Edit Contents with Local Editor".
check out http://www.mijnkopthee.nl/pivot/screenshots.html but call me stupid.... isn't emacs an easier solution ?
What you are likely to see in Zope3 at least is the ability to synch objects to and from the filesystem. This would allow you to edit content/code (code-tent?) on the filesystem using your choice of tools and then check it back into the ZODB. Another reason for this is a vision of having all application code (even restricted python) reside in the ZODB so that it can be distrbuted via ZEO. Much work is to be done on this, but I think in the end, we may be able to have our cake and eat it too... -Casey Romain Slootmaekers wrote:
On Mon, 8 Apr 2002, Charles Y. Choi wrote:
IMHO, much of what makes the ZMI difficult to use is due to limitations of the textarea widget in a web browser (no syntax highlighting, no indentation support, etc.)
So what if there was a way to get JavaScript to take the contents of a textarea widget, save that to a temporary file and then call a local editor of the user's choice to edit that file. Upon exit of the local editor, the contents of the file are then put back in the textarea widget. How would the use model work? Hook into the right mouse button menu over the textarea widget an entry called "Edit Contents with Local Editor".
check out http://www.mijnkopthee.nl/pivot/screenshots.html
but call me stupid.... isn't emacs an easier solution ?
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (3)
-
Casey Duncan -
Charles Y. Choi -
Romain Slootmaekers