For me, there is no porting, it is re-writing. While a lot of the capabilities are there in py4web not all are part of py4web. Due to the nature of how things work, a lot of the 'global' structures in web2py have to be handled differently in py4web.
SQLFORM.grid is gone. FORM replaces SQLFORM but doesn't have all the features - https://py4web.com/_documentation/static/index.html#chapter-10 auth_group and auth_membership and auth_permission are gone - authentication/authorization have changed - https://py4web.com/_documentation/static/index.html#chapter-11 With those things being what they are, I've been playing with py4web for a few days now and really am liking it. It is crazy fast. You may have to write some more helpers to do some things that web2py did for you, but that's half the fun, isn't it? For instance, I used the grid that web2py's SQLFORM.grid provides for lots of listing pages. py4web doesn't have one so I've written a helper that displays pages the way my app wants to see them. I believe py4web is going to make it easier to use Vue.js in your pages, but I haven't made the just to using Vue yet so I can't really comment on that part. -Jim On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote: > > Hey Massimo, thanks for the great info. > > How about porting apps from web2py to py4web? > > What steps would you recommend? > > Em qua., 22 de jan. de 2020 às 08:21, AGRogers <roge...@gmail.com > <javascript:>> escreveu: > >> OK, thanks. Re reporting errors, I suspect most errors will be due to my >> ignorance. But thanks for the encouragement. >> >> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro <massimo...@gmail.com >> <javascript:>> wrote: >> >>> You should use the py4web documentation. Also please report any error >>> you find. >>> >>> >>> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote: >>>> >>>> Hi >>>> >>>> Is the documentation for web2py still mostly relevant for py4web? >>>> >>>> Thanks >>>> Andrew >>>> >>>> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote: >>>>> >>>>> Should I use Web2py or py4web for a brand new project ? >>>>> What is still missing from py4web ? >>>>> Can I debug with pycharm ? >>>>> I need all the great authentication I got with web2py : >>>>> Registration,pass change, groups mail, etc. >>>>> smartgreed will be very nice to have or similar. >>>>> Stability ? >>>>> Can it be deployed with nginx and pg ? >>>>> Thanks >>>>> >>>>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web...@googlegroups.com <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > At. > > Carlos J. Costa > -------------------------------------------------------------- > Cientista da Computação - Esp. Gestão em Telecom > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/dbd62f85-d7bc-40a2-a8f5-1b5651525020%40googlegroups.com.