On Wed, Sep 9, 2009 at 3:36 AM, Fran <[email protected]> wrote:
> > On Sep 9, 1:37 am, jayvandal <[email protected]> wrote: > > I was looking at the article in the Web2py manual concerning CRUD. In > > Radrails, cakePHP, etc it is placed in one place and it creates the > > CRUD code and forms. I am confused about how Web2py addreses. I > > looked thru other posts but I grew more confused. > > http://web2py.com/examples/default/tools#crud > That example is worth just trying, but it leaves the view portion a bit of a mystery (and the view is, arguably, what you generally would want to think about first). In web2py, the default template will present this for you, so rapid prototyping would look like the above link, and then you would customize the view to more nearly provide the UI you want to present a client. If you are used to developing, presenting the view w/o any real data behind it first, and then plumbing the data in, the shift for web2py thinking is that some default (reasonable) presentation of the data is automatic, so you plumb up the data shape first, next customize it's presentation, and then work out the details of the behavior (business logic), e.g. permissions, login requirements, interactions, validations... The best way for this to begin to make sense is to .... try the simple example shown... you are bound to have questions afterwards. - Yarko > > F > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

