Solved

Database Objects Like Hibernate in PHP

Posted on 2008-10-22
4
4,694 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 125 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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