[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-22 Thread Massimo Di Pierro
Giovanni (weppy developer) and the web2py community are already cooperating 
since he is the leading force behind pydal and de fact maintainer of pydal. 
I have not looked at the code recently but I trust Giovanni's skills 
completely and from what I have seen, I am sure it is excellent.

It is a different architecture then web2py and things like the web2py admin 
interface would not work well with weppy. The hot plug and play mechanism 
for installing applications does not work with weppy. So think they will 
peacefully coexist in parallel and users will choose what they like best.

Massimo

On Friday, 21 August 2015 07:47:02 UTC-5, Mirek Zvolský wrote:

 weppy.org ? Great.
  be aware that the only overlap with web2py is the DAL
 And templating. And more...

 I think, Massimo, this is hard question for you. If it is really well 
 written, will you fork it? Or cooperate?

 I don't understand technical details much, but I know that lot of people 
 don't want hear about Web2py because of model/controller execution in the 
 pre-build environment.
 I have nothing against such execution, but I have to ask, if Web2py 
 model/controller execution is a so large technical advantage, if this 
 advantage is worth to loose developers (maybe much reserved developers, 
 but..).
 And I don't know if current model/controller execution will be easy to 
 convert to Py3.
 So I can very good understand reasons for Weppy experiment.






 Dne čtvrtek 20. srpna 2015 21:09:17 UTC+2 Massimo Di Pierro napsal(a):

 gluino is an experiment and not maintained at this point. 

 weppy is good but be aware that the only overlap with web2py is the DAL.

 We always shipped with this: 
 https://github.com/web2py/web2py/blob/master/scripts/make_min_web2py.py
 It does not quite fit the bill and probably needs to be revised.


 On Thursday, 20 August 2015 11:31:50 UTC-5, JorgeH wrote:

 What about in the admin app of web2py, along with the options 'pack 
 custom' , 'compile', etc.. would be another option like 'export to minimum' 
 or something. where an app would be exported with the minimum of imports 
 and can be deployed like a bottle or flask app.

 Just an idea.


 Gluino is as you say, a good starting point.

 Much better is http://weppy.org/

 Giovanni has done and excellent work, but unfortunately , he changed 
 some method and validator names to fit his criteria. 



  

 On Thursday, August 20, 2015 at 11:08:59 AM UTC-5, Anthony wrote:

 Maybe a starting point: https://github.com/mdipierro/gluino

 On Thursday, August 20, 2015 at 11:45:09 AM UTC-4, JorgeH wrote:

 Hello

 Can web2py have something like

 http://lumen.laravel.com/

 So it can have the easiness of coding and the speed of request/seconds 
 as  microframeworks like bottle and the alike?



-- 
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.


Re: [web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-21 Thread Anthony
On Friday, August 21, 2015 at 9:29:25 AM UTC-4, Carlos Cesar Caballero 
wrote:

 I think that the answer is pretty simple (but I am not a web2py core 
 developer, so I am pretty sure if I'm wrong somebody is going to correct 
 me), the current model/controller execution is better for coding, because 
 there is no need of constantly importing things, but is very expensive in 
 performance because every request runs all the code


Keep in mind that you can move as much code as you want (including all 
model definitions) to modules and import, just as in other frameworks. That 
just leaves the controller to execute, which can be sped up by bytecode 
compiling. I'm sure there is some performance hit, but I haven't seen 
benchmarks showing how much.

Anthony

-- 
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.


[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-21 Thread Mirek Zvolský
weppy.org ? Great.
 be aware that the only overlap with web2py is the DAL
And templating. And more...

I think, Massimo, this is hard question for you. If it is really well 
written, will you fork it? Or cooperate?

I don't understand technical details much, but I know that lot of people 
don't want hear about Web2py because of model/controller execution in the 
pre-build environment.
I have nothing against such execution, but I have to ask, if Web2py 
model/controller execution is a so large technical advantage, if this 
advantage is worth to loose developers (maybe much reserved developers, 
but..).
And I don't know if current model/controller execution will be easy to 
convert to Py3.
So I can very good understand reasons for Weppy experiment.






Dne čtvrtek 20. srpna 2015 21:09:17 UTC+2 Massimo Di Pierro napsal(a):

 gluino is an experiment and not maintained at this point. 

 weppy is good but be aware that the only overlap with web2py is the DAL.

 We always shipped with this: 
 https://github.com/web2py/web2py/blob/master/scripts/make_min_web2py.py
 It does not quite fit the bill and probably needs to be revised.


 On Thursday, 20 August 2015 11:31:50 UTC-5, JorgeH wrote:

 What about in the admin app of web2py, along with the options 'pack 
 custom' , 'compile', etc.. would be another option like 'export to minimum' 
 or something. where an app would be exported with the minimum of imports 
 and can be deployed like a bottle or flask app.

 Just an idea.


 Gluino is as you say, a good starting point.

 Much better is http://weppy.org/

 Giovanni has done and excellent work, but unfortunately , he changed some 
 method and validator names to fit his criteria. 



  

 On Thursday, August 20, 2015 at 11:08:59 AM UTC-5, Anthony wrote:

 Maybe a starting point: https://github.com/mdipierro/gluino

 On Thursday, August 20, 2015 at 11:45:09 AM UTC-4, JorgeH wrote:

 Hello

 Can web2py have something like

 http://lumen.laravel.com/

 So it can have the easiness of coding and the speed of request/seconds 
 as  microframeworks like bottle and the alike?



-- 
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.


[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-20 Thread Massimo Di Pierro
gluino is an experiment and not maintained at this point. 

weppy is good but be aware that the only overlap with web2py is the DAL.

We always shipped with this: 
https://github.com/web2py/web2py/blob/master/scripts/make_min_web2py.py
It does not quite fit the bill and probably needs to be revised.


On Thursday, 20 August 2015 11:31:50 UTC-5, JorgeH wrote:

 What about in the admin app of web2py, along with the options 'pack 
 custom' , 'compile', etc.. would be another option like 'export to minimum' 
 or something. where an app would be exported with the minimum of imports 
 and can be deployed like a bottle or flask app.

 Just an idea.


 Gluino is as you say, a good starting point.

 Much better is http://weppy.org/

 Giovanni has done and excellent work, but unfortunately , he changed some 
 method and validator names to fit his criteria. 



  

 On Thursday, August 20, 2015 at 11:08:59 AM UTC-5, Anthony wrote:

 Maybe a starting point: https://github.com/mdipierro/gluino

 On Thursday, August 20, 2015 at 11:45:09 AM UTC-4, JorgeH wrote:

 Hello

 Can web2py have something like

 http://lumen.laravel.com/

 So it can have the easiness of coding and the speed of request/seconds 
 as  microframeworks like bottle and the alike?



-- 
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.


[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-20 Thread JorgeH
What about in the admin app of web2py, along with the options 'pack custom' 
, 'compile', etc.. would be another option like 'export to minimum' or 
something. where an app would be exported with the minimum of imports and 
can be deployed like a bottle or flask app.

Just an idea.


Gluino is as you say, a good starting point.

Much better is http://weppy.org/

 Giovanni has changed some me


 

On Thursday, August 20, 2015 at 11:08:59 AM UTC-5, Anthony wrote:

 Maybe a starting point: https://github.com/mdipierro/gluino

 On Thursday, August 20, 2015 at 11:45:09 AM UTC-4, JorgeH wrote:

 Hello

 Can web2py have something like

 http://lumen.laravel.com/

 So it can have the easiness of coding and the speed of request/seconds as 
  microframeworks like bottle and the alike?



-- 
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.


[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-20 Thread Anthony
Maybe a starting point: https://github.com/mdipierro/gluino

On Thursday, August 20, 2015 at 11:45:09 AM UTC-4, JorgeH wrote:

 Hello

 Can web2py have something like

 http://lumen.laravel.com/

 So it can have the easiness of coding and the speed of request/seconds as 
  microframeworks like bottle and the alike?


-- 
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.