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

Stefan Koopmanschap's Blog: Serving frontend and backend from the same document root with symfony

Symfony Blog: The "Practical symfony" book is now on sale

Seastian Bergmann's Blog: Object-Relational Behavioral Patterns

DevShed: Application Framework Components: Login/Logout

ThinkingPHP: Google Analytics PHP API (CakePHP Model)


Community Events





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


composer security conference series podcast community framework version voicesoftheelephpant artisanfiles laravel symfony introduction list interview library language tool release opinion

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