News Feed
Sections




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

Hasin Hayder's Blog:
Working with models in orchid
April 10, 2008 @ 14:17:47

Hasin Hayder has posted another in his series looking at the relatively young PHP framework, orchid. HE digs a little deeper this time and looks at the Model functionality it has.

As promised, orchid comes with real flexibility which lets you design your application in less time. [...] In this installment, we will learn how to achieve maximum speed and benefit by using the built-in model library of orchid with a toppings of the active record library.

He shows how to connect to the database backend through the framework (along with some dos and don'ts) and how to pull this connection into the Model functionality. His example inserts information into a "comics" table and shows how to pull it back out (with a call to the find() method).

0 comments voice your opinion now!
orchidframework model database example


blog comments powered by Disqus

Similar Posts

CodeSnipers.com: Stupidly Easy MVC - Group Membership Application (Part 2)

Jani Hartikainen's Blog: Zend_Acl part 1: Misconceptions and simple ACLs

Stefan Koopmanschap's Blog: Barcodes and QR codes in PHP

Matthew Weier O'Phinney's Blog: View Layers, Database Abstraction, Configuration, Oh, My!

David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.


Community Events





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


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

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