>rdg raises and excellent point, different people approach WebWare from
=
>different angles and that clouds your judgement on what Webware can do
=
>for you and how it can do it.=20
>
>I've done some ASP and ISAPI development in the past, some primer on =
>"Webware for ASP programmers" would be a great help and would likely =
>cover the 7 ASP objects (request, response, application, session, =
>server,  ASPError, ObjectContext) and their equivalent idiom in
WebWare.
>
>Similar texts are probably appropriate for folks coming from other web
=
>technologies.
>
>I wish I knew more about webware and ASP to contribute.
>
>- I.

Intros for developers coming from other development environments
might not be a bad idea as long as the intros are high-level and 
short like you find in the beginning of most Python programming books.  
It's probably better in most cases to stick with the "Cookbook" approach
of task-oriented tutorials that teach developers to focus on problem 
solving in Webware rather than thinking in ASP or PHP and then trying
to translate to Webware.  The "WebwareRecipies" section of the Wiki is
a step in the right direction. I am a convert from other solutions
like PHP and Tomcat and I'd like to see more pure Webware examples
that solve common problems rather than looking at equivalencies 
between Webware and other solutions with which I'm already comfortable. 

Simple example:

Problem: You want a Webware servlet to redirect the user to another
page.

Solution: Use the "sendRedirect()" method of the response object:

from WebKit.Page import Page

class Redirect(Page):
        def respond(self, trans):
                res = self.response()
                res.sendRedirect('http://www.google.com')

-- Joel






-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to