Solved

Database Objects Like Hibernate in PHP

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Store image url and display it for user profile 6 23
Load google maps api into wordpress 5 37
MySQL Grouping 2 23
javascript date picker in php while loop 5 27
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 …
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
The viewer will learn how to dynamically set the form action using jQuery.
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.

920 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

17 Experts available now in Live!

Get 1:1 Help Now