Jump to content

ORM or CRUD Generator for PHP? (going from asp.net->php)


craigw9292

Recommended Posts

I don't want to write CRUD for my DB - I'm used to ORM generators creating all my code/classes for me in c# and asp.net - I know there must be something similar for PHP - any recommendations? Do frameworks like Zend provide models or mappers already, if so I can just use that otherwise I'd like to generate something. It needs to also support relationships :)

 

thanks!

-c

Link to comment
Share on other sites

There are many ORM systems available for php. Propel and Doctrine are probably the biggest, I've been using xPDO for a while because its so light weight (it doesn't build all the CRUD though).

 

A quick google will probably produce many more projects for you to look into.

 

And yes, many of the bigger php frameworks will produce the CRUD for you. I know that the Symfony framework uses propel under the hood by default.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.