News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer Tutorials Blog:
Getting Started with ORM in PHP
July 16, 2008 @ 09:35:27

A recent post on the Developer Tutorials blog takes a look at a fundamental part of several of the PHP (and other language) frameworks out there - the Object Relational Mapping (ORM) layer for database access.

Instead of direct database access, an ORM layer in a PHP framework can make "objects" stored in a database behave like actual objects from a programming perspective - for example, creating a new "car" stored in the database could involve a call to $car->new(). By abstracting actual database access, web development can be more productive and result in more reliable applications. Here's a quick intro to ORM in PHP.

They talk about ORM's role in how applications interface with data (abstracted out to objects) and some examples of it in current frameworks - CakePHP and Symfony.

46 comments voice your opinion now!
orm object relational mapping cakephp framework symfony


blog comments powered by Disqus

Similar Posts

Ross Tuck: Persisting Value Objects in Doctrine

Community News: Symfonians - Symfony-based Social Networking Application

David Walsh's Blog: Using PHP Generic Objects To Organize Your Code

php|architect: Zen(d) and the Art of Email

Job Posting: Netro42 Ltd Seeks CakePHP Developer (London, UK)


Community Events

Don't see your event here?
Let us know!


laravel php7 podcast api xdebug opinion release introduction library performance series conference interview symfony2 framework community example voicesoftheelephpant version extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework