News Feed
Sections




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

DevShed:
Working with MySQL and Sessions to Serialize Objects in PHP (Part 3)
June 20, 2006 @ 11:58:59

DevShed has posted the third and final part of their "Serializing Objects in PHP" series today with a focus on integrating all of their previous code with a MySQL database.

Provided that you've already grasped the key concepts about object serialization, in addition to implementing some advanced features, such as the ones I mentioned right at the beginning of this article, in this final installment of the series, I'll show you some examples of how to work with objects and sessions. I'll also show you how to use MySQL tables to keep your objects safe and healthy.

They briefly touch on the code from the previous part, showing how to automatically serialize the objects easily. With that in place, they illustrate how to expand upon it, to combine these objects with sessions to register/store/retrieve them. Finally, they cover taking these same objects and storing them to a database (MySQL), including an example of handling user information.

0 comments voice your opinion now!
objects serialize mysql database tutorial sessions objects serialize mysql database tutorial sessions


blog comments powered by Disqus

Similar Posts

ZendCasts.com: Creating RSS & Atom Feeds with Zend_Feed

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

CodeIgniter.com: A Quick Look at Sparks

Davey Shafik\'s Blog: php|tek Day 3

PHP-Coding-Practices.com: How To Generate Monochromatic CSS Stylesheets Within Seconds Using PHP


Community Events





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


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

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