Re: [web2py] Re: web2py suggestions

2010-06-22 Thread Doug Warren
I think part of the problem is a lack of dog food. I started looking last night at the state of web2py testing, and was amazed that the gluon/tests directory is not included in any of the 'source' distributions. In fact it's not in the Google code build either. After downloading the bazaar trunk

[web2py] Re: web2py suggestions

2010-06-22 Thread mdipierro
On Jun 22, 10:30 am, Doug Warren doug.war...@gmail.com wrote: I think part of the problem is a lack of dog food.  I started looking last night at the state of web2py testing, and was amazed that the gluon/tests directory is not included in any of the 'source' distributions.  In fact it's not

[web2py] Re: web2py suggestions

2010-06-21 Thread cjrh
On Jun 20, 8:07 am, Binh btbinht...@gmail.com wrote: 4. Controllers don't seem to have a clean way to implement before and after filters.  Maybe web2py needs to incorporate the idea of inheritance controllers like Rails. Unless I misunderstand some other subtlety, this is exactly what

[web2py] Re: web2py suggestions

2010-06-21 Thread b00m_chef
You are correct, that is what decorators are for. @logged in() def myControllerforLoggedInUser() return dict() I agree that the folders need to be organized better, but this can be done without really re-programming, as web2py is very flexible. Why not try to create the folder structure and

[web2py] Re: web2py suggestions

2010-06-20 Thread GoldenTiger
Hi Binh. I've been trying out web2py for the past 2 months. I have no experience with Ruby on Rails. And I can say that I agree with those points, since I have felt confuse about points you mentions, specially with 2 and 4 I have not a clean idea about where must I write some pieces of code, it

Re: [web2py] Re: web2py suggestions

2010-06-20 Thread Giuseppe Luca Scrofani
I am a totally noob so I am not the best person to tell this, however, I think web2py is the best python software I ever tried, after python itself. I tried only django in this field before, my experience in limited, but I just can't imagine something better for the development of web application.

Re: [web2py] Re: web2py suggestions

2010-06-20 Thread Thadeus Burgess
I agree with most of these points. http://packages.python.org/web2py_utils/test_runner.html That is about as far as you will get with testing on web2py. You need very hacky code just to run your tests properly. Web2py was just not designed with testing in mind, and due to backwards compatibility

[web2py] Re: web2py suggestions

2010-06-20 Thread Yarko Tymciurak
On Jun 20, 10:45 am, Thadeus Burgess thade...@thadeusb.com wrote: I agree with most of these points. http://packages.python.org/web2py_utils/test_runner.html That is about as far as you will get with testing on web2py. You need very hacky code just to run your tests properly. Web2py was