CodeGym

Grok – convention-based Zope web framework

Grok is a web framework built on Zope Toolkit facilities and its component architecture. Its main design goal is to make those capabilities easier to use by relying on conventions and sensible defaults rather than requiring extensive configuration for ordinary cases.

Applications are organised around models that represent content, views that present it, and adapters that connect components with different interfaces. Grok reduces the need for explicit component wiring and Zope Configuration Markup Language declarations in common situations. Its emphasis on interface-driven design is of particular interest to developers already using the Zope ecosystem.

Grok makes its Zope foundations less explicit in everyday application code, although the underlying component concepts remain important. A model supplies context, a view describes the presentation of that context, and adapters offer a consistent way to extend behaviour without modifying the original objects.

This is free and open source software.

Key Features

  • Convention-based component discovery reduces manual registration.
  • Models provide content objects that can be exposed through the web.
  • Views render representations of application content.
  • Adapters connect objects to interfaces and reusable behaviours.
  • Zope component architecture underpins extension and composition.
  • Viewlets provide separately managed pieces of rendered views.
  • Security declarations integrate with Zope permission facilities.
  • Template support separates presentation from application data.
  • Form and event integrations are available through the Zope ecosystem.
  • Configuration conventions simplify common application structures.
  • Grokking declarations register components by convention where appropriate.
  • Context-based views can select presentations for particular model objects.
  • Zope interfaces describe contracts consumed by adapters and components.
  • The framework supports application event subscriptions through Zope components.

Website: github.com/zopefoundation/grok
Support:
Developer: Zope Foundation
License: Zope Public License v2.1

Grok is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Frameworks
DjangoHigh-level web application framework
DashBuild analytical web applications without JavaScript
TornadoFramework, scalable web server, and asynchronous networking library
TurboGearsFramework based on the ObjectDispatch paradigm
MasoniteDev tool with all the features needed for rapid development
RobynPython web framework designed for high performance
ReflexLibrary to build full-stack web apps in pure Python
FrappeLow-code, metadata-driven web application framework
ZopeObject-oriented web application server
EmmettFull-stack Python web framework
PY4WEBSuccessor to web2py
CubicWebSemantic web framework
ReahlPython-only web framework
django-hotsauceRapid web application development and testing
Jam.pyWeb front-end application generator
GrokWeb framework based on Zope Toolkit technology
web2pyFull-featured, full-stack framework for rapid development

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted