From: Brad C. <bk...@mu...> - 2002-03-24 19:42:28
|
On 24 Mar 2002 at 13:31, Ale...@di... wrote: > I love the integration of Jython and Java, and I like that I can do stuff > (e.g. using all the java libs in jython, extending ) that I otherwise > wouldn't be able to do in CPython (since I am not much into C++ -> I could > read it but I doubt I could produce anything beyond basic stuff ) , but I > didn't see the value that jython adds to a servlet. > > Would anybody give me a perspective on this ? I just returned from Novell's Brainshare, where I gave a presentation titled "Rapid Application Development with Jython". The big things I pointed out: 1. Python syntax is simpler and easier to read because there's less stuff (no braces, simpler iteration) 2. Python libraries often contain stuff not available in Java 3. I can re-use code between CPython and Jython, and this is realistic for the applications I'm developing. IE, Using Beans on Jython and ActiveX controls on Cpython/Windows. All the code is the same, just the top import is different 4. I converted several sample Novell java apps to Python. All of them converted to a smaller size, typically a 50% reduction in size. One example, I went from 5 pages of Java to 1 page of Python. 5. For admins and those IT folks who do not have much development experience, Python gets them started faster, with less overhead. 6. Interactive testing of Java components is a big win. Yes, there's interpreted Java, but it's not as efficient. JinSitu is very nice. (wish it was built-in to Jedit) Brad Clements, bk...@mu... (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements |
From: <Ken...@ub...> - 2002-03-26 17:15:04
|
Just started looking at Zope - are ZPTs synonymous with html pages containing dtml? Was thinking of creating a Zope object model type prototype in servlet/jsp land to investigate the usefulness (I've a friend who swears by Zope). I'd be interested in what you've done.. Did I hear a rumour someplace that efforts are underway to port Zope to Jython? -----Original Message----- From: bkc Sent: 26 March 2002 16:09 To: jython-users Cc: bkc Subject: Re: [Jython-users] JythonServlet over Java Servlet On 26 Mar 2002 at 4:55, Michel Pelletier wrote: > I will be making an alpha release soon of Zope Page Templates for > Jython. For those of you who don't know, ZPTs are like XMLC except > that they are much more "pythonic" and dynamic (the core PT engine > was written by Guido and others at Pythonlabs and ZC). I'm just > chasing down one bug right now and then I'll share; hopefully ZC will > include my patches in their Page Templates so I don't have to maintain > That will be wonderful! Brad Clements, bk...@mu... (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. |
From: Michel P. <mi...@di...> - 2002-03-28 20:39:44
|
------------------- > Just started looking at Zope - are ZPTs synonymous with html pages > containing dtml? They are identical only in that they are both dynamic. ZPT are more like XMLC, you "sprinkle" your HTML with special tag attributes that indicate what parts of the page are dynamic. You can then "bind", so to speak, an object with a template and then render that template in the context of your object. > Was thinking of creating a Zope object model type > prototype in servlet/jsp land to investigate the usefulness (I've a > friend who swears by Zope). I'd be interested in what you've done.. > > Did I hear a rumour someplace that efforts are underway to port Zope to > Jython? Perhaps, I'm not on the inside at ZC so I couldn't tell you. I know that it probably wouldn't be a really difficult job, but then again lots of Zope is written in C, and also Zope components like ZODB may not make sense in Jython and/or there may need to be some thought on using other Java ODBMS systems behind it. Who knows, lots to think about.... -Michel |