<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
On Sat, 2004-06-19 at 06:17, Gilbert Fine wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Hello,

I am new to zope. I wish I can use the power functions in zope, such as ZPT,
outside zope, because I am not used to writing program in a browser. I want
to use vi and other tools right in the server.
My idea is: I write a special module in python, simulating the zope server.
Then I write web programs as CGI, but the code is almost the same as if I
were using zope directly. These CGI use ZPT and DB Connection object in
zope. I feel very comfortable using the vi, cvs, subversion, make and all
other nice and familiar tools. When those CGI program are somewhat stable, I
can copy the code in to zope, and then maintain the code in zope from then
on.

Is there a simple way to do that? Or it is just a stupid idea?

</I></FONT></PRE>
</BLOCKQUOTE>
The answer is that is not a stupid Idea.&nbsp; Writting code in the browser is very convinient for quick patches and extreemely anoying when you are at it for more than 30 mins.<BR>
<BR>
But since it's an obvious problem some one beat you to the solution!<BR>
<BR>
Install ExternalEditor Zope Package.<BR>
Once setup, you can click on a Zope Object, and your vi Editor will pop-up for you to edit it.<BR>
When you quit vi, the new code is copied back to Zope.<BR>
<BR>
It's not perfect, but it's way above the web-editor, and that what you proposed!<BR>
<BR>
Jerry
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Gilbert Fine

_______________________________________________
Zope maillist  -  Zope@zope.org</FONT>
<A HREF="http://mail.zope.org/mailman-20/listinfo/zope"><U>http://mail.zope.org/mailman-20/listinfo/zope</U></A>
<FONT COLOR="#737373">**   No cross posts or HTML encoding!  **
(Related lists - 
 </FONT><A HREF="http://mail.zope.org/mailman-20/listinfo/zope-announce"><U>http://mail.zope.org/mailman-20/listinfo/zope-announce</U></A>
<FONT COLOR="#737373"> </FONT><A HREF="http://mail.zope.org/mailman-20/listinfo/zope-dev"><U>http://mail.zope.org/mailman-20/listinfo/zope-dev</U></A><FONT COLOR="#737373"> )
</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>