I've used django and cherrypy for several years. I'm assuming you would call cherrypy a micro and django a normal? django provides a lot of features, e.g. a full database API and built-in template language. In fact I have a pretty big django app that I have yet to write a single line of raw SQL for. CherryPy on the other hand does not assume anything about a database or template language. I use it for small apps that don't "own" the database, e.g., I use it for a small call center app that connects to an existing SQL Server database tied to a .NET app.
Really I'm not even sure if you would call cherrypy a "microframework". Django ultimately has more features, but cherrypy also has support for sessions, caching, and authorization. They also both provide built-in web servers in lieu of using apache/mod_wsgi (though Django makes it pretty clear you shouldn't use theirs anywhere but in development). Lastly, I've never used bottle. But I'd wager there isn't really a right or wrong answer to your 2nd question. It's just what you prefer. On Mon, Jun 28, 2010 at 11:54 AM, Shivek Khurana <[email protected]> wrote: > I've been learning python for about 1 year. > But I don't have any experience in frameworks. > > I've shortlisted two :- > cherrypy > and bottle (http://bottle.paws.de) > > My preference is bottle. > > I want to ask 2 things : > > 1)What's the difference between micro frameworks and normal frameworks. > 2)Which one of the two would support my app better. > > My app would be about posting notes/articles and sharing them . > Even buying/funding articles wherever applicable. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<modwsgi%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
