Hi Aaron,

Feel free to post future questions to 
[EMAIL PROTECTED] which is pretty active.

But in answer to your question, PSP is just one option. Most of my 
pages are servlets:


from WebKit.Page import Page

class MyPage(Page):

    def writeContent(self):
        self.writeln('Hello, world.')


In some projects, I stored HTML templates in separate files and 
then loaded them as needed in my servlets.

Also some people separate UI from code by putting the logic in a 
servlet and then having a PSP that inherits it. In the PSP there are 
only simple substitutions and conditionals. These pages are easy for 
HTML designers to edit.

There is also the Cheetah templating system which works independently 
or with the Webware app server. http://cheetahtemplate.org/

So you have lots of ways to separate things out. It's really up to you.

I never got into WebObjects "Direct to Java" so I'm not sure how to 
respond. On the server side, Webware users are typically using Python, 
SQL and the occasional bash script. On the client side, some people use 
JavaScript (and maybe Java) to enhanced their apps. Perhaps if you 
elaborate more on what you're looking for...


BTW I forgot to mention in my email that I have done all my independent 
contracting with Webware since Summer 2000. It is also in use in 
several production sites, some of which are listed here:

http://webware.colorstudy.net/twiki/bin/view/Webware/WhoIsUsingWebware


Best regards,
-Chuck


On Friday 08 November 2002 03:15 pm, Aaron Rosenzweig wrote:
> It looks like Webware requires us to write in PSP (Python Server
> Pages), and this requires us to mix HTML with the code...Is this
> correct or is there a way to separate the code from the UI.
>
> In general, I've heard good things about Python and Ruby but I
> haven't yet programmed with either :-) I guess for doing double
> clickable types of applications (somewhat like WebObjects "Direct to
> Java") we'd need to use TCL/TK with Webware?
>
> Thanks,
> -- Aaron
>
> On Friday, November 8, 2002, at 12:16  PM, Chuck Esterbrook wrote:
> > Hi Aaron,
> >
> > I ended up changing my web development environment (due to
> > frustrations with Apple). I LOVED Objective-C and when I went
> > looking for another dynamic, OO language, I found something even
> > better: Python. However, I couldn't find anything like WebObjects,
> > so I built it as an open source product called Webware for Python:
> >
> >     http://webware.sf.net/
> >
> > Being Pythonic, it runs on all major versions of Windows and
> > UNIX/Linux. It also includes MiddleKit which is analagous to EOF.
> > We have users from all kinds of communities including WebObjects,
> > ColdFusion, ASP, various Java app servers, etc. that are very happy
> > using it.
> >
> > I originated Webware by myself, but today we have several
> > developers making contributions. Both Python and Webware have
> > active, growing communities.
> >
> > So give it a drive if any of that interests you.
> >
> > And I'm in Southern California now, so I guess I won't be in on any
> > upcoming Mid-Atlantic meetings.  :-)
> >
> >
> > Best regards,
> > -Chuck
> >
> > On Thursday 07 November 2002 07:04 am, Aaron Rosenzweig wrote:
> >> Hello, my name is Aaron Rosenzweig.
> >>
> >> Sorry to bother you but I'm wondering if the Mid-Atlantic
> >> WebObjects User Group is still around. I'm not able to access
> >> www.mawug.org
> >>
> >> I got your Email addresses from the Google search engine's cache
> >> for www.mawug.org
> >>
> >> I already contacted a Ms. Elinor McKenzie at Blacksmith who says
> >> her company is not Blacksmith Inc....which has me all confused.
> >> She says all they do is create a product named "Chatsmith" and has
> >> no idea about WebObjects...
> >>
> >> Thanks,
> >> -- Aaron


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to