Hi Doxaliber, On Oct 23, 6:02 am, Doxaliber <salingro...@gmail.com> wrote: > Hello everybody, > > yesterday I've bought on Lulu the Book on web2py. I've a good > experience with Django and I want to share my first impressions on > Web2py that, I think, have some positives and some negatives respect > to Django. > > The cons: > 1) ORM maybe it's more powerful than the Django one but it's less > immediate. For example: > > class Author(models.Model): > first_name = models.CharField(max_length=30) > last_name = models.CharField(max_length=40) > > class Book(models.Model): > title = models.CharField(max_length=100) > authors = models.ManyToManyField(Author) > publisher = models.ForeignKey(Publisher) > publication_date = models.DateField() > > is easier to understand and to remember than the web2py version. Also > relationships on Django are more easier to remember. >
I am not sure that is a con. More powerful (I can't opine since I have not used Django) but less immediate?. I feel that you are just more familiar with Django's syntax. > 2) Django admin interface is more powerful. I think that it can be > used on production environments (and it is!) and it is more > customizable than the web2py one. Django interface have also a goodies > that I think is really useful: when you have a form with a select from > a foreignkey there is a link (with a plus) that allows the user to add > an element to the related table! I believe web2py now has the select with add, recent enhancement. > I also like the design of forms that > belongs on many to many relationships. I also think that overall > design of admin interface is more beautiful than web2py admin > interface.http://graffletopia.com/images/previews/362/original.jpg Just curious, is that a Django admin pic? It looks more like a widget demo page. > 3) Documentation: Django have great documentation! The Django book is > fantastic and it's free. Web2py documentation is poor. I've bought the > web2py book for desperation and mine seems more an act of faith than a > reasoned choice! :-D Working on that... > > 4) Massimo Di Pierro sometimes act like a spammer! :-D Some time ago I > was searching informations about web2py, some review, some points of > view. Well, everywhere there was Massimo Di Pierro saying how good is > his framework! I think this attitude makes a bad impression to those > who want to try to use web2py. I hope that Di Pierro will apologize me > for this, mine are just observations made for good purposes. > > The cons (for now!): I think you meant pros. > 1) SQLFORM > 2) CRUD > 3) AUTH system > > That's all for now. I hope that the criticisms set out here can help > improve web2py. I apologize in advance for my bad English. Denes. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---