Hallo,
Uzo Uzo hat gesagt: // Uzo Uzo wrote:

> I wish to create a web video rental application
> similar to netflix and I want to use Webware.    But,
> I am not so sure which components to use.  From
> looking at the docs it looks like I can use middlekit
> all by itself, then sometimes it looks like I can just
> use PSP/webkit without middlekit.  I wish to get the
> app right the first time, so can anyone share insights
> on how they would approach the development of such an
> app.

The best place to look for some tips might be the Webware Wiki (linked
from the Ww-hompage). There are several hints on application design.

Regarding PSP and MiddleKit: you don't *need* to use any of these. It
very much depends on what and how you want to do *it*. There are
alternatives to most of the Kits included in Webware, the most obvious
would be to just code that functionality yourself. PSP is more like a
templating language. You could also use Cheetah or just write some
template modules using Python's builtin formatting functions like 

  product = {"item": "A Video", "price": "19.90"}
  ...
  self.writeln("""<li> <b>%(item)s:</b> %(price)s $""" % product)

MiddleKit is just a database wrapper. You might decide to not use a
wrapper at all (for example because you might not want to use MySQL)
or use one of the other wrappers like Ian Bicking's SQLObject. 

There also are some application examples outside, like the vorbis.com
code (for using PSP) or for a very simple shop example you could try
my WebwareHouse (http://footils.org/cgi-bin/cms/pydiddy/WebwareHouse)
although this is really basic.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to