Re: [web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-19 Thread Phyo Arkar
Thats very good Thank you so much Massimo! i will test it out and let you know! On Thu, Aug 4, 2011 at 3:25 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > In trunk, I added > > scripts/make_min_web2py.py > > run it with > > cd web2py > python scripts/make_min_web2py.py ../minweb2

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-05 Thread Christopher Steel
*pip install web2py* from a virtualenv give you a pretty slim setup although it is not very well documented, yet...

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-04 Thread Gour-Gadadhara Dasa
On Thu, 4 Aug 2011 20:46:01 -0700 (PDT) guruyaya wrote: > I have to say, the one thing I like about web2py, is the battaries > included approch of django, taken to it's max. The only thing you need > after downloading web2py exe, is a browser. Creating separate > components, does not work for me,

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-04 Thread guruyaya
I have to say, the one thing I like about web2py, is the battaries included approch of django, taken to it's max. The only thing you need after downloading web2py exe, is a browser. Creating separate components, does not work for me, as I don't see myself taking any part of web2py to any other app,

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-04 Thread Massimo Di Pierro
Made a mistake. Reposted. It is now 1495KB total. Perhaps it should be rewritten so that one lists files to be ignored instead of files to be included. It would also be nice to add a better docstring for the file. I live this as an exercise. ;-) Massimo On Aug 4, 3:55 am, Massimo Di Pierro wrot

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-04 Thread Massimo Di Pierro
In trunk, I added scripts/make_min_web2py.py run it with cd web2py python scripts/make_min_web2py.py ../minweb2py cd .. tar cvf minweb2py.tar minweb2py ls -l minweb2py.tar It builds a minimal web2py in 1.6MB total uncompressed (446KB compressed). (tar BEFORE you run it to measure size) It d

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-04 Thread Massimo Di Pierro
Sorry what I meant is that you can use modules without web2py, not that you can use web2py without some of the modules. All modules together are small. Only gluon.contrib.populate and gluon.contrib.feedparser are a bit large and you can remove both of them without consequences because they are not

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-03 Thread Massimo Di Pierro
main contains the wsgibase app. compileapp defined run_models, run_controllers, run_views (called by wsgibase) and they run using restricted (in restricted.py) which does the exec in an environment and captures errors into a RestrictedException object. Everything else is pretty much decoupled. sql

Re: [web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-03 Thread Phyo Arkar
They are most core of the webp2y , i c. On Thu, Aug 4, 2011 at 5:16 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > most files in gluon/dal have no dependences. Exception is the triad: > main.py, compileapp.py, restricted,py. > > > On Aug 3, 5:31 pm, Phyo Arkar wrote: > > Actually mo

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-03 Thread Massimo Di Pierro
most files in gluon/dal have no dependences. Exception is the triad: main.py, compileapp.py, restricted,py. On Aug 3, 5:31 pm, Phyo Arkar wrote: > Actually more Modularizing inside Gluon should be made easy. > > putting all core features into gluon/core , everything that related into > gluon/dal

[web2py] Re: Do we need a Web2py micro-framework , or split web2py into multiple components ?

2011-08-03 Thread Rufus
I just recently started with web2py, and found that it is a pretty big elephant that is hard to eat a bite (byte?) at a time, precisely because everything's included. Even a simple app gets and incredible amount of scaffolding. I routinely delete the languages directory, as I don't need the clutt