Solved

Database Objects Like Hibernate in PHP

Posted on 2008-10-22
4
4,701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSL unsecure page mystery 17 46
Joomla Editing 3 21
Load string Array from file 23 42
Last 4 numbers of a variable 9 21
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.  …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 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