I have been toying with the idea of creating a Zope product for creating JPython applets within Zope. I thought this might be a way to increase the capabilities of Zope on the client-side while remaining firmly grounded in Python and simultaneously giving me an excuse to play with JPython and maybe create a useful Zope product too. I wanted to throw this out to the group to see if others thought this was a worthwhile capability. The basic idea would be to write JPython scripts and applets in Zope either via the web or otherwise and automagically "compile" them into transparent .jar files that are served to the client on request. Sounds so simple! Right?? Somehow I doubt it will be, but...
From what I see no one has done this so I figure at least one of following is true:
1. Nobody thought of it or felt compelled to act on the thought. 2. Its gonna be hard to do. 3. Somebody else already did it and I don't know about it. 4. The idea blows. Any thoughts on this idea, + or - are appreciated. -Casey D.
Hi Casey, I think this is a fine idea. The main thing that keeps me from doing it is that JPython doesn't work on Netscape (Mac) and so (at this point at least) I can't use it, unless I have a context where I can insist that users use a particular browser. The other annoyance is the long download time for the JPython implementation.... The other annoyance is the general flakiness of Java VMs out there.... But.. I think the concept is a good one.. and once the JPython implementation is cached it should be pretty fast. Then you just have to worry about all the JVM bugs. ;-) good luck! -steve
"Casey" == Casey Duncan <casey.duncan@state.co.us> writes:
Casey> I have been toying with the idea of creating a Zope product Casey> for creating JPython applets within Zope. I thought this Casey> might be a way to increase the capabilities of Zope on the Casey> client-side while remaining firmly grounded in Python and Casey> simultaneously giving me an excuse to play with JPython and Casey> maybe create a useful Zope product too. Casey> I wanted to throw this out to the group to see if others Casey> thought this was a worthwhile capability. Casey> The basic idea would be to write JPython scripts and Casey> applets in Zope either via the web or otherwise and Casey> automagically "compile" them into transparent .jar files Casey> that are served to the client on request. Sounds so simple! Casey> Right?? Somehow I doubt it will be, but... >> From what I see no one has done this so I figure at least one >> of following Casey> is true: Casey> 1. Nobody thought of it or felt compelled to act on the Casey> thought. 2. Its gonna be hard to do. 3. Somebody else Casey> already did it and I don't know about it. 4. The idea Casey> blows. Casey> Any thoughts on this idea, + or - are appreciated. Casey> -Casey D. Casey> _______________________________________________ Zope-Dev Casey> maillist - Zope-Dev@zope.org Casey> http://lists.zope.org/mailman/listinfo/zope-dev ** No cross Casey> posts or HTML encoding! ** (Related lists - Casey> http://lists.zope.org/mailman/listinfo/zope-announce Casey> http://lists.zope.org/mailman/listinfo/zope )
On 11/8/2000 7:33 AM, "Steve Spicklemire" <steve@spvi.com> wrote:
Hi Casey,
I think this is a fine idea. The main thing that keeps me from doing it is that JPython doesn't work on Netscape (Mac) and so (at this point at least) I can't use it, unless I have a context where I can insist that users use a particular browser.
There's a plugin for Mac Netscape that lets users use Apple's MRJ, which should work with Jython. Jeffrey P Shell, jeffrey@Digicool.com http://www.digicool.com/ | http://www.zope.org
Steve: That is good to know, being a Mac fan myself. I'll have to play with and test the different browsers on the client side as well as server-side jdks.
From what I have learned so far on the server end, the project seems reasonably feasible.
I think the interesting part will be creating the precise dividing line between the JPython and CPython worlds. I doubt much JPython will exist in the product excepting some "glue" to get Zope/CPython to interact with it in a robust way. That will probably be the fun part. Thanks for the comments, Casey D. -----Original Message----- From: Steve Spicklemire [mailto:steve@spvi.com] Sent: Wednesday, November 08, 2000 5:33 AM To: casey.duncan@state.co.us Cc: zope-dev@zope.org Subject: Re: [Zope-dev] JPython Product? Hi Casey, I think this is a fine idea. The main thing that keeps me from doing it is that JPython doesn't work on Netscape (Mac) and so (at this point at least) I can't use it, unless I have a context where I can insist that users use a particular browser. The other annoyance is the long download time for the JPython implementation.... The other annoyance is the general flakiness of Java VMs out there.... But.. I think the concept is a good one.. and once the JPython implementation is cached it should be pretty fast. Then you just have to worry about all the JVM bugs. ;-) good luck! -steve
participants (3)
-
Casey Duncan -
Jeffrey P Shell -
Steve Spicklemire