I think the best combination of web2py and bottle would be, as you suggested—importing the web2py DAL into bottle.
The DAL is the most important thing that bottle lacks, and the web2py DAL is great to plug into other projects. I use it a lot for that. That said, in my experience, you will quickly want a templating language to use with bottle as well. Because you will be making HTML. And then you will want a way to connect views to controllers... and soon I imagine you will just want to be using web2py. Web2py is very simple. I suggest you spend just a little bit more time getting to know how web2py works, and then decide whether to use bottle+web2py or web2py. On Wednesday, May 2, 2012 3:56:24 PM UTC-7, David Johnston wrote: > > > Can someone explain to me why someone would want to use web2py with > Bottle? I am considering the combination. > > Is it for when you want to keep the app very simple but need some of the > more advanced functionality of Web2py such as the DAL? I am trying to learn > web programming and wonder if this might be a good place to start. I find > the full-blown web2py a little intimidating especially since I can't find > what I am looking for in the documentation. I find Bottle the opposite. Too > sparse. For example, I don't mind making forms but don't really want to > write SQL queries. I am coming from a (short) background in Wordpress so I > am looking for something like that but in Python and better for web app > development. Bottle feels like building a webapp from the bottle up. Web2py > feels like building it from the top down, (i.e. take the example apps and > reverse engineer them to what you want). I guess I would like something in > the middle. Wordpress wasn't THAT bad but I want easier CRUD and would > rather ditch PHP. > > Web2py is supposed to be easier than Django but Django has so much better > documentation, books etc that I might find this the opposite. Suggestions? > > Dave >

