Hi,
  I've got a reasonable start with my TG project but appear to be
stuck in places. Hopefully there reasonably simple answers.

#1 You have a Parent and Child set of objects that are both database
tables. Child has a parent ID and it is a non-nullable column.  It all
works ok but nosetest fails because when you test Child, it cannot
find the table for parent. If you don't set the parent id then
sqlalchemy rightly complains that your child has parent id null. The
only fix is a kludge by making parent id nullable.

#2 Is there a way of holding configuration items? I need to remember
things like the title name which appears on the welcome screen but
also locations of some files or directories. Basically, an ini file on
database.

#3 I'm not sure what they are called here, but CakePHP calls them
helpers. A good example is I want to write a selector for Parent once.
So my templates just say "make this parent here" and the html is
rendered with the values pulled out of the database.

#4 I just cannot for the life of me work out how to deploy what I've
written. I can easily use paster serve and that feature is great, but
what is the method for making up a nice tarball or equivalent so
someone else use it? Other programs in perl and PHP I just rsync them
to a specific web directory.

That's all for now. Thanks for reading.

 - Craig

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to