Built on the foundation of repoze.bfg, Pyramid is powerfully flexible but takes time to figure out
Pyramid is a Python Web framework being developed as part of the Pylons Project. Pyramid 1.0 was released this year. Prior to that, the Pylon Project's Web framework was, not surprisingly, Pylons. But Pylons has now entered legacy mode; the project website promises that Pylons will "continue to be maintained, but not enhanced."
Pyramid will run on any 2.x Python that is later than version 2.4. In addition, Pyramid can be run on the Java-based Python variant, Jython. The framework is based on the repoze.bfg framework -- sometimes simply called BFG -- with some additions. Pyramid incorporates concepts inspired by Zope, Pylons, and Django. It's important to note that Pyramid is not an update of Pylons; the two frameworks share no common code. Pylons programmers need not be left out in the cold, however. The Pylons Project provides a fallback wrapper that allows Pylons applications to run inside Pyramid, thus permitting Pylons developers to incrementally port their applications to Pyramid.
Pyramid is "policy free," meaning that Pyramid makes no assertions about the database you should use or place any strict requirements on the templating system employed. In fact, documentation says that Pyramid's template system is included only for convenience. Nor does Pyramid fit neatly into the MVC paradigm -- as with Django, there's no clear controller component. However, Pyramid goes a step further with its policy-free attitude: It's hard to find a model component.
This story, "Pillars of Python: Pyramid Web framework" was originally published by InfoWorld.
Asset sale could include millions of e-mails, physical addresses, and customer names, if legal...
The next major release of Gnome (3.16) is scheduled to be released on March 25. Here is a pre-release,...
Predicting design trends for 2015 is so 2013. Here's where I see the web going when looking out a...
The beacon can be rolled up and attached to curved surfaces
Up Periscope: Twitter answers Meerkat... UN appoints privacy watchdog... Microsoft buys LiveLoop
The software giant continues to buy companies to strengthen its Office apps and services
The government doesn’t want Amazon, or anyone else, having much fun with their unmanned aircraft.