24

I was wandering around testing various options for my new personal project, ranging from PHP, to node.js, to Haskell. I feel most comfortable with Python, though, so I thought I'd go back to it in the end.

I've taken a second look at frameworks like Django, but given I mostly enjoy SQL and I don't want an ORM, I thought I'd use Pylons (as ORM is optional in Pylons). Now, the problem is there's Pyramid, and it would seem Pylons would be replaced by it soon.

Long story short, is Pyramid ready for prime time? Also, given that Pylons itself was a very successful platform (judging from its high-profile deployments), do you recommend Pyramid as a good replacement? (Obviously, I'm asking people who actually use Pylons and/or Pyramid.)

To clarify, the application will probaby use up to 4 database tables, and will be heavy on AJAX calls. JSONRPC with all-JS frontend is also an option. One of the tables is expected to hold tens of thousands of records consumed by different users at all times. Queries on the large table are not limited to select, as they will most likely come from some form of AJAX data grid.

3 Answers 3

24

BFG, which is the precursor has been used in "primetime" for a while now. There are in Pyramid some additions to BFG to make it more "Pylonic", and these may not be ready, but I would say that they will be soon.

So if you are worried, you can use BFG for now. The migration to Pyramid should be simple once you want to migrate: migration tutorial.

Update: Pyramid 1.0 has now been released. It is now definitely ready for prime-time.

1
  • 2
    Thank you. I'll try that route (no pun intended).
    – user234932
    Dec 19, 2010 at 17:08
13

I would recommend Pyramid unreservedly.

Do read Ben Bangert (Pylons creator)'s post Why not just continue developing the Pylons 1.0 code-base?, which summarizes why the Pylons 1.0 architecture hit a brick wall and needs a deep transformation in the bfg's direction.

For one thing, the decoupled design of Pyramid has made unit testing of JSON response possible.

0
-2

I asked this question before: Should I use Pylons or Pyramid?

Pylons will continue and version 2 of it will be released. Pyramid is like Pylons distribution migrated with other components.

2
  • 3
    This is incorrect information, afaics. Pylons 2.0 is (as of this writing) still an informal name for the first official Pyramid release. What is currently known as Pylons will continue to be supported, but as a project, it is finished, and will see no new development.
    – user234932
    Jan 16, 2011 at 16:04
  • The last sentence is not clear. Can you rephrase.
    – tshepang
    Jan 28, 2013 at 21:06