Hi,

I started to use web2py in Jan 2009 and had a lot of fun using and
learning it (and Python) the last year. However I also acquired a lot
of habits that are probably not ideal. For example, after creating a
new app, I would often remove most of the generated files rather than
using them as the basis for my app and applying a theme later on.

I would like to know how you use w2p. What's your development workflow
and how do you structure your app? Do you keep web2py_ajax.html for
example? Do you use a test driven approach? With respect to structure,
do you keep all logic directly in the controller functions or do you
move the logic into some classes and just call methods. If you use
classes, do you define them in the same controller, in a model or as
part of a separate module?

I am sure there is not a single right way of doing this and choices as
to where to move a piece of code will depend on factors such as
reusability, but I am sure that there are a lot of wrong ways, that
one should avoid.

So, what steps do you follow after creating a new app? I'd love to
find out.

Thanks,
=HC
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.


Reply via email to