Advice on good libs/frameworks

Hi,

I have a site that’s using a Rails e-commerce back-end and a Wordpress blog. The integration is definitely possible, but tricky. I’m toying with the idea of re-creating the e-commerce back-end with php and skipping the Ruby layer altogether, because I want to take advantage of the Wordpress helpers/functions.

I’d like to know if some of you could recommend some good libraries for:

basic http/request helpers
active record (php 5.3 helps things out a bit right?)
validations
php template engine class
PayPal IPN handling

Anything come to mind in regard to those?

I’ll probably just do MVC, DIY-style with a front-controller etc… In other words, I can’t see using a full framework for this. The back-end is actually super simple. Unless of course, there is a good, low fat framework that includes the items in the list above!

Rock on,

Matt

You prefer the mess that Wordpress is over Rails? Anyway, from what you’re describing I think one of the low-key frameworks such as CI/Kohana might be an option. They probably fit better into the style of Wordpress, than their bigger brethren. As for Paypal integration, I would have thought that Zend Framework included such a component, but it doesn’t seem like it.

Paypal is in ZF’s laboratory. No idea on the status of it though.

No! Rails is my hammer :slight_smile: But my client is insisting on Wordpress. I’m using the Spree e-commerce engine for Rails, but there’s not an active blog extension available. I may need to look at the one that’s out there, and see what I can do to fit my needs. Maybe then I could change some minds.

I’ll look into some of the suggestions here. Thanks for those.

Anyone messed with this? http://www.phpactiverecord.org/

Matt

That seems to be a problem. I’d go with the additional RoR layer instead of working around wordpress.

Anyone messed with this? http://www.phpactiverecord.org/

Alternatively:
Doctrine
Propel
etc

Another option is phpDataMapper - http://phpdatamapper.com