News Feed

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 Learning OOP in PHP ASAP!

Symfony Blog: New in symfony 1.2: Make your Choice!

TechZinger Blog: Fat-Free Framework for PHP

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

Web & PHP Magazine: Issue #12 - Don't Get in a PECL

Community Events

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

install framework application release community interview conference php7 configure performance language opinion example laravel symfony2 api series podcast introduction part2

All content copyright, 2015 :: - Powered by the Solar PHP Framework