To phrase things slightly differently:

Wordpress is a fairly high-level Web Application that has a rigid internal 
API that deals with Admin & Consumer views, requires a singular database 
connection (mysql), and offers a plugins and theming architecture.  Plugins 
interact with the internal API via various entry points and hooks, and are 
mostly consumer oriented.

Pyramid is an extremely low-level Web Application Framework.  It's one of 
the most bare-bones frameworks available.  The internal API is merely 
concerned with aspects of request processing.  There is no guarantee that 
any one Pyramid application will use the same type of database -- if any at 
all.  There are no assumptions of Admin vs Consumer views, because neither 
exists.

If you want to re-use code across projects, your best option is write your 
code in two places:

* an exportable, standalone, package that does heavy lifting - this could 
be built around Pyramid -- or just be a normal pypi package
* integration code in your web application

You could also look into other higher level Python frameworks.  Django 
offers a lot of modularity and re-usability like Wordpress does -- however 
you'll be locked into their style of programming.  

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to