News Feed
Sections




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

PHPMaster.com:
Database Interaction Made Easy with NotORM
July 19, 2012 @ 08:42:13

On PHPMaster.com today there's a new tutorial showing you how to use the NotORM tool to work with your database:

Object Relational Mappers (ORMs) are cool. They help you to rapidly create your application without worrying about writing raw SQL queries. The idea is to simplify database interaction and avoid possible errors in writing complex queries. In fact, modern ORMs can generate Models/Entities from the database, and vise versa. But the reality of working with any ORM is that using it is only simple if you already have experience using it. To make the most out of it, you should have a deep understanding of the concepts. And there's a steep learning curve associated with any ORM.

They introduce you to the NotORM tool and guide you through some of the initial steps to help make this curve a little less steep. Their sample database contains book information (author, category, book detail, etc) with PDO making the connection (injected into the NotORM instance). They show how to do things like simple selects, filtering with "where", sort the results, doing joins and doing inserts.

0 comments voice your opinion now!
database orm notorm library tutorial


blog comments powered by Disqus

Similar Posts

PHPMag.ru: Zend Framework: models auto-loading

OneNextraPixel.com: 13 Useful WordPress SQL Queries You Wish You Knew Earlier

PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort Algorithm

SitePoint PHP Blog: Google's BigQuery Provides Free Access to GDELT

Ibuildings techPortal: Learning PHP 5.3 by writing your own ORM


Community Events





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


security laravel mvc release library opinion update language community framework version introduction composer voicesoftheelephpant package symfony interview podcast tool series

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