On Sunday, June 29, 2014 11:09:34 AM UTC+2, [email protected] wrote:
>
> Hello:
> I'm about to start my next sprint with my project karakolas, and this time 
> the main goal is to clean, refactor, tidy...
> I've read the web2py book, but I need advice about good practice when a 
> web2py project starts to become too complicated.
> I don't have time to use a frontend framework, thought I definitely have 
> to use bootstrap better. However, my main concerns are:
>  - where to place and how to organize the tests
>
 
a few slices and projects exist on testing web2py. Unfortunately there's 
yet no "recommended way" officially proposed by web2py 

 - read batteries of tests that other people have written to make sure I 
> test all that can be tested
>  - when to use a model, or a module, or a conditional model
>

model: when you change often things and use base "methods" for lots of 
things
module: when the underlying "API" of your site standardizes itself, move 
models to modules
conditional model: when you have a nicely structured project (it can very 
well not happen) and different features among controllers
 

>  - any caveat in using lazy tables all the time?
>

it never had to me.
 

>  - where to place files generated by an external program
>

the private folder
 

>  - version upgrades, and specifically if an upgrade of your app goes 
> hand-in-hand with an upgrade of web2py (should I release the app bundled 
> with web2py to solve that?)
>

you upgrade web2py to benefit from fixed bugs and new features. As long as 
your app can accomodate for those, I don't see a real reason why NOT 
upgrade .
 

> ...that sort of thing.
> I also have to put some functionality into plugins, but I know where to 
> find theory and examples for that. I just want to wait till I get the rest 
> right, so that making a plugin doesn't spoil the rest.
> So I ask either for references or for open source web2py apps of great 
> size and complexity.
> Performance is not as important as order.
> Thanks
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to