Grok is a web application framework for Python developers. It is aimed at both beginners and very experienced web developers. Grok has an emphasis on agile development. Grok is easy and powerful.
You will likely have heard about many different web frameworks for Python as well as other languages. Why you should you consider Grok?
- Grok offers a lot of building blocks for your web application
- Grok is informed by a lot of hard-earned wisdom
Grok accomplishes this by being based on Zope 3, an advanced object-oriented web framework. While Grok is based on Zope 3, and benefits a lot from it, you do not need to know Zope 3 at all in order to get started with Grok.
Some aspects of Grok development require more detailed knowledge of Zope 3 (such as authentication) but it is our goal to make Grok a more approachable, easier to learn framework over time. If you find yourself bonking when trying to accomplish something, please let us know where you are struggling.
Grok - Reviews
In a nutshell; You start with a model (class) which houses data and the data abstraction, which may be based on sql databases (eg. sqlalchemy) or the built-in ZODB object database. This model is automatically registered with the component framework. You then adapt the model (using an adapter) to provide one or more interfaces. The view is an example of an adapter which adapts the model and a browser request to provide html output. Views implement an update method (loosely related to controllers) and a render method. The render method may be implemented as a template using one of a variety of supported templating languages.
Component frameworks are naturally pluggable and extensible, versus MVC which suffers from tunnel vision by comparison.
Written by Guest, 27th December, 2012