Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database Objects Like Hibernate in PHP

Posted on 2008-10-22
4
Medium Priority
?
4,711 Views
Last Modified: 2013-12-13
I'm looking to develop a site in PHP using an MVC pattern. What is the best way to have functionality similar to Hibernate where I can convert my DB tables into objects.

I've tried using Symfony but couldn't get past the install.
0
Comment
Question by:dignified
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
James Looney earned 375 total points
ID: 22785303
I've used coughPHP a couple times and it seems pretty good.
http://coughphp.com/docs/1.1/handbook/

For MVC I am using CodeIgniter and it is awesome. It is very lightweight but with all the great features I need:
www.codeigniter.com
0
 

Author Comment

by:dignified
ID: 22837664
Do you know if coughphp will reverse engineer an existing database?
0
 

Author Comment

by:dignified
ID: 22838513
Actually CodeIgniter is pretty awesome, I think I'll stick with it. I wish they had some more video tutorials but the model layer seems pretty seamless from what I saw.
0
 
LVL 6

Expert Comment

by:James Looney
ID: 22839583
Ya, I just did my first project with CI and really like it. I had thought about using cough along side CI, but this project did not really warrant it.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question