On Sat, Aug 29, 2009 at 6:15 PM, Scott Hunter<shun...@nycap.rr.com> wrote:
>
> A colleague has lodged the following complaints about web2py, and I'd
> like to run my responses by this group in order to correct/strengthen
> those responses.
>
> Complaint #1: No real-time debugging (i.e. proper step-debugging in a
> real IDE)
> Response #1: web2py, being a framework, does not include a full-blown
> IDE, but it doesn't preclude your using your favorite IDE.

I don't understand this at all - with any debugger, you can debug
web2py very easily;  for example,
wingide - just run with normal breakpoints, as shown in
http://www.wingware.com/doc/howtos/web2py

I think this is just a misinformed complaint....

>
> Complaint #2: No proper logging mechanism for modules.  (Related:
> web2py is pathetic at third-party module integration)
> Response #2: Again, nothing in web2py precludes using python's logging
> facility.  (And I've had no problem getting it to play nice with PIL
> and some other modules, so I'm not sure what the complaint is here.)

don't understand the complaint...

>
> Complaint #3: Having to do strange things (like double-imports and
> reloads) to pick up run-time changes in my module.  (This may be where
> the complaint about 3rd party modules comes from.)
> Response #3: I believe the issue here is that there is a module which
> is being developed/debugged, but changes to it aren't getting picked-
> up without re-starting the application (or doing "strange things").
> Were the module being developed located inside web2py during
> development, then I believe edits would get picked up immediately.

I have not experienced "strange" double imports (this sounds like some
unnecessary confusion  - perhaps the complainer can give a specific
example....)

>
> Complaint #4: web2py will not let me handle my own form, considering I
> don't want to use web2py's ORM to talk to my data
> Response #4: There is NOTHING in web2py the prevents you from using
> your own form.

yes... agree, there is nothing... but web2py does do a lot w/ models &
forms by default as a convenience (perhaps complainer can provide a
specific example of the complaint....)

>
> Complaint #5: It's not a real ORM, because there is entirely 'zero'
> configuration like a real ORM has. It's a database-to-HTML-form
> management system, not an object-relational management system.
> Response #5: White it has features to facilitate HTML form management,
> it certainly seems to map records to objects...

web2py does not contain an ORM, nor does it attempt nor claim to - ti
contains a data abstraction layer (DAL).
It is accurate to say that web2py does not contain an
object-to-relational mapping system (you can choose to use one if you
want to;  the DAL is a lower level abstraction; this is the way web2py
chose to handle data).   As for "database-to-HTML-form system:  there
is nothing in the DAL that has anything to do with forms (there is a
form system that knows and uses the DAL abstractions).  I think the
complaint has not understood the web2py system sufficiently (instead,
expecting a ORM).

>
> Complant #6: web2py will only let you process a web2py form if it was
> created in the controller
> Response #6: while a from OBJECT must be created in the controller,
> the actual form need not be.

I do not understand this...  form factories work in controller level code.

>
> Complaint #7: web2py won't let me loop over keys in their custom dict
> () structure (called Storage) in order to circumvent the FORM and
> SQLFORM issues in #5 above
> Response #7: ?

Python lets you loop over keys;  I do not understand this question...
Both controllers and views use python...

>
> Any help would be appreciated.
>
> - Scott
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to