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.
PayPal has fixed a serious vulnerability in its back-end management system that could have allowed...
We round up the latest rumors on Samsung's next phone-tablet hybrid device.
Niantic's earlier location-based game is an Android favorite, but it doesn't have the same accessible...
Amazon is promoting a few minor tech deals today, but the big sales are still a few days away.
Black Hat has disabled features of its mobile application because attackers could have logged in as...
PC makers HP, Lenovo and Dell have stopped selling PCs with home editions of Windows 7. However, they...
The most important ingredient in Windows 10's success in its first year was Microsoft's decision to...