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

The Bakery: Clear the PHP4 warnings when working in eclipsePHP

Jeez Tech: Damn Small PHP Frameworks. Because size does matter.

Zenning! Blog: Web Frameworks: Which one to learn?

Tobias Schlitt's Blog: Avoid an endless pifall

Chris Hartjes' Blog: The Devilís In The Details (or, Handling Sequences in Postgres in CakePHP)


Community Events





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


api podcast list install introduction opinion version release voicesoftheelephpant composer configure community unittest symfony conference laravel extension series language interview

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