The easiess way I can see, is having a form with code/textarea for each important web2py code container (models/controllers/views, maybe modules), before any bit of code submit get executed it needs a review from site administrator or web2py core dev (which is a bottle neck and a time investment)... Once validated the code is injected somehow at runtime and resulting demo app available embeded in web2py ref site page... It can limit the possibility of a demo for some kind of examples... We can also make use of the web2py plugins mechanism that could fit perfectly for this task...
Richard On Fri, Oct 23, 2015 at 2:40 PM, Ron Chatterjee <achatterjee...@gmail.com> wrote: > I see. Its not my site or maintaining. It will be upto Ivica I am > assuming. But good discussion! > > On Friday, October 23, 2015 at 2:31:49 PM UTC-4, Richard wrote: >> >> It will make it more difficult to review IMHO and you kind of need to >> install the app before you can even look at the code... Since there can >> have nasty piece of code in an uploaded app, I would really avoid this path. >> >> Richard >> >> On Fri, Oct 23, 2015 at 2:20 PM, Ron Chatterjee <achatte...@gmail.com> >> wrote: >> >>> Right, or have a link where we can upload .w2p file and install, and >>> have another link to that app to see if its working. >>> >>> On Friday, October 23, 2015 at 1:42:12 PM UTC-4, Richard wrote: >>>> >>>> Just by providing a way to the user to create model/controller/view >>>> file to the web2py ref app securely (which is the difficult path, maybe >>>> having a review of posted code can do the trick) can at least let us know >>>> if the code can work under the current version of web2py that is in use by >>>> the web2py ref site. >>>> >>>> Richard >>>> >>>> On Fri, Oct 23, 2015 at 11:58 AM, Ron Chatterjee <achatte...@gmail.com> >>>> wrote: >>>> >>>>> I agree with Richard. An online demo to make sure the code works will >>>>> be great. >>>>> >>>>> On Friday, October 23, 2015 at 11:30:15 AM UTC-4, Richard wrote: >>>>>> >>>>>> What about snippet validation of code infrastructure?? >>>>>> >>>>>> It sound crazy, but I am sure we can find a way to do it... >>>>>> >>>>>> Just a working Demo environnement that implement the proposed snippet >>>>>> could do it, if the demo run that mean the snippet is still working is >>>>>> not >>>>>> snippet may be put in a queue to be revised and update... >>>>>> >>>>>> Richard >>>>>> >>>>>> On Fri, Oct 23, 2015 at 9:58 AM, Ron Chatterjee <achatte...@gmail.com >>>>>> > wrote: >>>>>> >>>>>>> Wondering if we can have more examples, source code and snippets >>>>>>> gets put into web2pyref. I don't know who is maintaining the page but >>>>>>> few >>>>>>> things I wish I could use example of sending email using gmail SMTP and >>>>>>> contact form, voting, likes, rating, bootstrap3 and social media >>>>>>> integration etc. Just some thoughts... >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Monday, June 8, 2015 at 8:19:32 PM UTC-4, Carlos A. Armenta >>>>>>> Castro wrote: >>>>>>>> >>>>>>>> I don't know if web2pyslices is better than web2pyref and it >>>>>>>> doesn't care for me. My personal opinion is: We need a decent, >>>>>>>> powerful and >>>>>>>> usable website to collect all ours code snippets, examples, recipes, >>>>>>>> plugins, demo sites, templates (bs2, bs3, etc.) and for to be honest >>>>>>>> that >>>>>>>> is our Achilles' heel. We have a really great community, but a no >>>>>>>> optimal >>>>>>>> system to show our work to the world (and to motivate the newbies). >>>>>>>> >>>>>>>> Finally, I appreciate the work of the web2pyref.com and >>>>>>>> web2pyslices.com, and I think we need to be part of that kind of >>>>>>>> projects contributing to the source code, promotion and with donations. >>>>>>>> >>>>>>>> Sorry for my bad english. >>>>>>>> >>>>>>>> El lunes, 8 de junio de 2015, 6:16:43 (UTC-7), Carlos Cesar >>>>>>>> Caballero Díaz escribió: >>>>>>>>> >>>>>>>>> Some months ago, because I can´t post anything to web2pyslices >>>>>>>>> (others have the same problem and no one knows why) I post that I >>>>>>>>> could >>>>>>>>> motivate some of my team (including a designer) for building (and >>>>>>>>> maintain) >>>>>>>>> a new web2pyslices, and the proposal remains on the table. Right now >>>>>>>>> I have >>>>>>>>> two ideas, first, open source the site, and motivate the comunity to >>>>>>>>> contribute, the other thing is, taking advantage of the web2pyslices >>>>>>>>> maintenance problems, mix everything in a improved new web2py site, >>>>>>>>> and >>>>>>>>> web2pyslices could continue alive, for consulting, in some kind of >>>>>>>>> read >>>>>>>>> only mode. >>>>>>>>> >>>>>>>>> >>>>>>>>> El 07/06/15 a las 20:49, Massimo Di Pierro escribió: >>>>>>>>> >>>>>>>>> The maintainers of web2pyslices do not want to do it any more. The >>>>>>>>> domain has been donated to me (although we are in the process of >>>>>>>>> transferring it) so if Ivica want to put the effort of maintaining an >>>>>>>>> alternate site, that is better for me than maintaining web2pyslices, >>>>>>>>> as >>>>>>>>> long as info is not lost. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Saturday, 6 June 2015 04:52:56 UTC-5, Ivica Kralj wrote: >>>>>>>>>> >>>>>>>>>> That is fine Niphlod. I created this project, primary for >>>>>>>>>> personal reason to have quick resource to examples when I 'm working >>>>>>>>>> on my >>>>>>>>>> small projects,. I think people, specially newbies, might find it >>>>>>>>>> useful. >>>>>>>>>> Comparing myself to allot of members here, I do consider myself a >>>>>>>>>> newbie, >>>>>>>>>> although I have joined this group over 4-5 years ago or so. >>>>>>>>>> >>>>>>>>>> Any feature can be added if its needed or requested. >>>>>>>>>> >>>>>>>>>> I agree, over the years there were number of resources, most of >>>>>>>>>> them got abandoned, but their resources are still out here (alter >>>>>>>>>> ego for >>>>>>>>>> example), and I still regularly visit them. Even if they might not >>>>>>>>>> work >>>>>>>>>> with current web2py version, we can still learn from them, well I do. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Friday, 5 June 2015 21:35:08 UTC+2, Niphlod wrote: >>>>>>>>>>> >>>>>>>>>>> not to be the buzzkiller but I won't post any example there that >>>>>>>>>>> exists on web2pyslices.com that ATM has at least 2 killer >>>>>>>>>>> features: social login and packages uploads. >>>>>>>>>>> >>>>>>>>>>> BTW: until all snippets are continously tested, this is going to >>>>>>>>>>> become the 4th incarnation of a "web2py snippet blog/container/etc" >>>>>>>>>>> with >>>>>>>>>>> outdated pieces of code within the next year, when the buzz wears >>>>>>>>>>> off. >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>> 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+un...@googlegroups.com. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>> 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+un...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>> 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+un...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> 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+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.