hi,

boy!,  wading through the middlekit docs is hard work (, but then I am
considerably stupider than you).  I'm coming to Webware having explored
Zope, and although I like Zope, sometimes I feel that I'm "too far way" from
python. Webware looks really promising, but the documentation could do with
beefing up a bit with many more examples, snippets, solutions etc...

Anyway...

Suggestions. 
1.  make sure that mysql has localhost access privs (grant etc)

2. "Create folder "Movies" where?  I create it in MiddleKit/ don't I, then I
add "Videos.mkmodel" to that folder. Am I right? It's not clear WHERE I can
create Model folders...Is it anywhere?

3. The script main.py failed because it needs a...
    movie.setYear(1984) because year can't be null.

4. The generate script seems to work best when called from the model folder,
Like this... python ../Design/Generate.py  -- etc

5. It's not completely clear to me that you create a folder then put inside
that folder the .mkmodel folder...or how the name of the folder, or the
classes you create in your model relate  to each other.  It could maybe made
clearer by not choosing "Movies" , which contain a "Movie" and a "Video",
very confusing. Perhaps a "Zoo" example, with "Animal" and "People" would be
better... would I then be able to ...

#
from Zoo import Animal
class Tiger(Animal):
    etc
?

6. When Using the MKBrowser, automatically fill in "default" values in the
form, like...

database:MySQL
host:localhost

and ...
model:MiddleKit/Movies/Videos.mkmodel

I spent ages putting Videos in the model field, then tried
~/webserver/Webware... etc It wasn't until I used a relative path that it
worked.

7. Highlight the "key command-line points" in bold, so that when I'm
re-reading a tutorial I can see at a glance what I have to do... mkdir
Movies, chmod etc, python generate.py etc...

cheers

tom








_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to