Hi Zoom,

I am sorry to hear that and thanks for letting us know. We are glad to
provide an option but everybody has it own preferences. Anyway, I have
some responses to your comments:

> reasons::
> - bad routes.py
> - changeless pattern for URL had to base routes.py redirect into short URL
> - routes.py is out app

The syntax of routes is actually more powerful than Django's (has the
same syntax for regular expression but for example we provide
filtering by hostname, client ip, request method and explicit reversed
routing; Django needs a route entry for evey action, web2py provides
defaults). I do agree that web2py does not have a way to delegate
routes to an app. This would me more syntactic sugar than
functionality and we are working on adding it. I never realized this
was such a critical point. I will move some resources in getting this
done.

> - url can not understand Chinese

No but there is only one line to change to fix this. You can also
handle this with routes (something you will have to do with Django
too).

> - tooo stand alone app
>  - session/static ... is all srand alone
>  - can not easy base app slpit site's components

Not sure I understand

> - tooo slow boot
>  - import tooo many lib

This can be changed by editing one line in "import_all". The choice to
import all at the beginning was a design decision, so that we do now
slow down later requests that request those standard libraries.

> - error report is tooo ugly
>  - can not support debug easy!

Yes compared with Django and Pylons. But our their reports are
interactive therefore you ONLY get them if the bog shows up to you
when logged in as administrator. There is no report if the error
manifests to a regular use. web2py records all errors and traceback
and issues tickets to ALL users. that is why our error reports are
static. You pay a small price in development but get a big benefit in
production. You choose.

> - fighting with build-in module
>  - https://groups.google.com/group/web2py/browse_thread/thread/e20d0bd2e...
>  - can work with logging

Not sure I understand.

> - tooo magic
>  - http://stackoverflow.com/questions/1999950/download-link-fails-in-ie
>  - auto work in background,but not all clean

The mechanism we provide for upload is the same as Django. We also
provide a download mechanism that checks for authentication. Perhaps
this is a bit magic but it is the only way to do it. You do not have
to use it.

> - NULL unittest support!

We have unitests in gluon/tests for web2py itself and you can create
your own unitests for apps in gluon/unitests although for apps we
think doctests are more practical.

> - DAL is bad than SQLAlchemy

Perhaps but Django does not use SQLAlchemy. Both web2py and Django can
import SQLAlchemy if necessary but it would not work with generated
forms (with either). DAL is more powerful than Django (nested selects
for example).

> - MVC is insulated!
>  - model/control/view all variable is in same name space

Not true. Only models variables are imported in the space of
controllers and in the space of views. variables defined in
controllers stay private there. In our view that is what defines a
model: stuff that should be available everywhere in the app. Show me a
Django app where the controller (which they call view) does not import
the models? We just make this default since in practice it is.

Massimo

On Feb 4, 8:48 am, Timothy Farrell <[email protected]> wrote:
> I'd like to weigh in on these comments.
>
> routes.py:
> - It seems to me that Django routes are just as 
> complicated:http://docs.djangoproject.com/en/1.1/intro/overview/#design-your-urls
> - Providing the routes.py outside of an app makes sense for web2py since
> it directly maps app/controller/function to a url. This decision was
> made to make things clear and understandable for new developers.
>
> Chinese URLs:
> - perhaps you could have written a patch?
> - (more 
> info:http://en.wikipedia.org/wiki/Internationalizing_Domain_Names_in_Appli...)
>
> Standalone Apps:
> - sessions can "master" to another application to tie them together.
> - I use routes to unify all my static content to one app location.
>
> Slow Boot:
> - How often do you restart web2py? It can work as a CGI but only as a
> stop-gap measure. Any web-developer worth his salt would run a framework
> in FCGI or WSGI mode.
> - I don't really care for the import_all.py module either.
>
> Errors:
> - I think the error report leaves much to be desired but at present, I
> think we're locked in because of backward compatibility.
>
> "fighting with built-in module" <-- I'm not sure what you mean here.
>
> Too "magic":
> - web2py is designed to be simple. I think how web2py sets headers is
> appropriate.
> - I agree that it should set appropriate headers with regard to SSL and
> static files and IE.
>
> No unittests:
> - Creating unittests requires a culture.
> - the web2py doesn't seem to have that culture built into it (for better
> or worse)
> - While web2py should have unittests, web apps don't mix well with
> unittests.
> - Functional tests would be much more appropriate for a web app. Most
> functional tests would run in the browser anyway (e.g. Qunit)
>
> "DAL is bad than SQLAlchemy":
> - This a subjective statement
> - The DAL is not as well-tested or as widely-used as SQLAlchemy. But it
> is good enough for the vast majority of web2py users.
> - The DAL supports migration, SQLAlchemy does not.
> - The DAL has a cleaner (IMHO) declaration syntax and an uglier query
> syntax when compared to SQLAlchemy.
>
> MVC is insulated:
> - I'm not sure what you mean here.
> - Yes they are all in the same namespace. How is this a problem?
>
> It's a bummer to see you and your team go. We wish you the best.
> -tim
>
> On 2/4/2010 7:39 AM, Zoom.Quiet wrote:
>
> > just last week this team to decide by vote to give up web2py, usage
> > Django develping;
>
> > reasons::
> > - bad routes.py
> >  - changeless pattern for URL had to base routes.py redirect into short URL
> >  - routes.py is out app
>
> > - url can not understand Chinese
>
> > - tooo stand alone app
> >  - session/static ... is all srand alone
> >  - can not easy base app slpit site's components
>
> > - tooo slow boot
> >  - import tooo many lib
>
> > - error report is tooo ugly
> >  - can not support debug easy!
>
> > - fighting with build-in module
> >  -https://groups.google.com/group/web2py/browse_thread/thread/e20d0bd2e...
> >  - can work with logging
>
> > - tooo magic
> >  -http://stackoverflow.com/questions/1999950/download-link-fails-in-ie
> >  - auto work in background,but not all clean
>
> > - NULL unittest support!
>
> > - DAL is bad than SQLAlchemy
>
> > - MVC is insulated!
> >  - model/control/view all variable is in same name space
>
> > ONLY two feeling good:
> > - deployment is stand alone
> >  - but usage yolk+virtualenv others web app. framework also can
> > deplotment stand alone
> > - built-in crontab task support
>
> > PS:
> > translate from: "Mage from hell: ˵˵ web2py"
> >http://blog.hellmage.info/2010/02/web2py.html
>
> > PPS:
> > hope mdipierro fixed these bad feeling for developer in time;
> > make web2py become realy ent. web app. workframe
>
>

-- 
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