the original version is 113 lines of python code and 30 lines of html the web2py version is 59 lines of python code and 17 lines of html code
In both cases I am not including the layout.html. In the web2py case I am including the extra code in db.py for authentication and the extra checks required to make it work on the google app engine. On Sep 6, 11:01 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > The web2py code is significatively shorter than the original (although > I did not measure the number of lines). > With some fast typing this can be done in 2 minutes. > > Are you volunteering to record it? ;-) > > Massimo > > On Sep 6, 10:49 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > I think a real jaw-dropper video tutorial would be 'How to create a > > wiki with web2py in 2 minutes' :) > > > On Sep 6, 10:14 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > As an exercise, I have redone the following wiki: > > > > http://werkzeug.pocoo.org/wiki30/ > > > > using web2py: > > > > http://web2py.com/examples/static/web2py.app.wiki3.w2p > > > > Same tables and same actions. > > > > The web2py version of the wiki has versioning like the original but, > > > unlike the original, it has user authentication too. The web2py > > > version uses markdown wiki syntax. > > > > We take the people at werkzeug for providing such a clean and simple > > > wiki design. > > > > I apologize I did no have time to make a scree cast but perhaps some > > > of you can help with that. > > > > Massimo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---