Skip to main contentdfsdf

    • This document specifies a proposed standard interface between web servers and Python web applications or frameworks, to promote web application portability across a variety of web servers.
    • a simple and universal interface between web servers and web applications or frameworks: the Python Web Server Gateway Interface (WSGI)

    12 more annotations...

    • There has also been a dialog with the Django developers the past two years, mostly covering basic WSGI issues and a potential common request/response object (WebOb). The door is always open if they'd like greater collaboration, or to port Django to Pyramid the way TG was ported to Pylons. It hasn't gone very far because Django famously prefers homegrown code, but we aim to keep the code "Django-ready" by anticipating what hooks they'd likely need for their features.
    • Pros/Cons of Django vs Pylons
    • Django was made for newspaper sites

    11 more annotations...

    • WSGI Explorations in Python
    • Twisted is more of an application-and-server framework rather than just a web application framework, but it does include the minimal twisted.web upon which Nevow is based. Both use the Directory object model, with a .locateChild method handling all URLs under it.

    5 more annotations...

    • For larger Pylons apps, it is highly recommended that you wait for the migration tools and a full “Porting to Pyramid” guide made available. We’ve heard reports from several Pylons users that have ported smaller apps without too much difficulty.
      • What is the difference between Pyramid and repoze.bfg?

         

        Pyramid is repoze.bfg, with:

         
           
        • a new name and a new set of import locations.
        •  
        • a few added features to meet the expectations of Pylons 1.0 users.
        •  
         

        Changes do need to be made to port existing repoze.bfg applications to Pyramid. It is possible to automate most of the porting process. See http://docs.pylonsproject.org/projects/pyramid/dev/tutorials/bfg/index.html for more information.

         

        As a reference, KARL, a very large repoze.bfg application (> 70K lines of code), was ported in 30 minutes using the provided automation.

    1 more annotation...

      • How about "Pyroze"? Something new!

      • So "Pyramid"?  Isn't that going to get lost on google?  What about Pyramidz?  Pypoze?  PyRV?  Pyram, or appylon?  

    • WSGI
       
      Web Server Gateway Interface. This is a Python standard for connecting web applications to web servers, similar to the concept of Java Servlets. pyramid requires that your application be served as a WSGI application.
    • Application Configuration
    • Each deployment of an application written using Pyramid implies a specific configuration of the framework itself.

    8 more annotations...

    • Pyramid Introduction
    • As a framework, its primary job is to make it easier for a developer to create an arbitrary web application.

    19 more annotations...

    • pylons.decorators.rest – REST-ful Decorators

       

      REST decorators

    • pylons.decorators.rest.dispatch_on(**method_map)
       

      Dispatches to alternate controller methods based on HTTP method

    1 more annotation...

    • On Nov 4/Nov 5 a rumor that was later substantiated regarding Pylons surfaced. While the initial message was regarding TurboGears which is based on Pylons, the rumor was that Pylons was being rolled into another framework. Ben Bangert issued a post that gave some of the reasoning behind the merger of repoze.bfg and Pylons.
    • More documentation on handlers is available here.

    1 more annotation...

1 - 13 of 13
20 items/page
List Comments (0)