Solved

Database Objects Like Hibernate in PHP

Posted on 2008-10-22
4
4,686 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
Comment Utility
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
Comment Utility
Do you know if coughphp will reverse engineer an existing database?
0
 

Author Comment

by:dignified
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now