News Feed
Sections




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

NETTUTS.com:
Real-World OOP With PHP and MySQL
November 26, 2008 @ 11:41:47

On the NETTUTS.com site, there's a new tutorial that looks to be a basic introduction to the world of Object-oriented programming in PHP.

Numerous examples from robots to bicycles have been offered as "easy" explanations of what OOP is. I've opted to show you how OOP works with a real-life example, for a programmer. By creating a MySQL CRUD class you can easily create, read, update and delete entries in any of your projects, regardless of how the database is designed.

Their CRUD example not only serves as an introduction to OOP, but can also be an introduction to MySQL support for those that haven't used it before. They create six functions - the four for CRUD and a connect and disconnect. The full source is available for download too.

0 comments voice your opinion now!
oop object oriented tutorial crud database mysql


blog comments powered by Disqus

Similar Posts

SourceForge: ExtJS Poker (Texas Hold'em Poker with ExtJS, CodeIgniter & MySQL)

SitePoint PHP Blog: Best Practices REST API from Scratch Implementation

Karsten Dambekalns' Blog: PHP, Xdebug and PhpStorm - working!

Tim Koschuetzki's Blog: How To Transform HTML To Textile Markup - The CakePHP TextileHelper Revisite

Mathias Verraes: Objects as Contracts for Behaviour


Community Events

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


voicesoftheelephpant symfony2 interview opinion example application library conference podcast framework series version api performance community extension php7 laravel introduction release

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