[Seaside] Re: Getting my project started from the ground up.. (using Seaside, Glorp, Mewa?)

Yanni Chiu yanni at rogers.com
Wed Feb 8 16:54:09 UTC 2006


Rick Flower wrote:
> 
> Hi all again.. I've gotten my feet wet a bit more with both SmallTalk 
> and a bit more with Seaside and would like to get started on a project 
> I've currently got written in PHP with MySQL (as some of you may 
> recall).

I wish I could ship you my PetStore demo, but I've not yet
disentangled it from my application. FWIW, here's a few suggestions,
based on your newness to Smalltalk.

- Don't start with user login. I've stabbed at it about three times
and I'm still not satisfied with the result. Currently, I use the
Postgres username/password, not a separate table. So just hard code
a user for now.

- Skip Glorp and Mewa for now. Just write SQL directly, and walk
the result sets to either create object instances or pump out HTML.
In the case of simple reports (i.e. no post-query processing needed),
mapping the SQL result to HTML would be far easier to understand
than mapping the SQL result to objects (via Glorp), then adding
MEWA descriptors to use the MEWA table display.

- When you get to online ordering, you might start thinking about
Glorp and MEWA. But you might find that what you have works just fine.

- To handle update of contact info, just create a contact object
corresponding to the form you want to show. Generate an UPDATE SQL stmt
from that contact object (the form processing should stuff the values
for you). Again, you might consider adding MEWA (and maybe Glorp)
at this point as well.

You mentioned VW, are you using the NC (non-commercial) version?
It sounds like your app. is commercial use. What is your timeline,
do you have to have your app ported by a certain date? What is the
range of functionality, is there more than what you've described?

-- 
Yanni Chiu



More information about the Seaside mailing list