News Feed
Sections




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

DevShed:
Understanding Static Properties with PHP 5
September 12, 2007 @ 11:14:00

Continuing in their series looking at how to handle static data in a dynamic PHP application (see part one here), DevShed has posted the next piece in the puzzle, working with static properties in PHP5.

Provided that you already have an average background in using static methods with PHP 5, over the course of this second article of the series I'll dive a bit deeper into this interesting topic and show you how to take advantage of static properties defined inside a given PHP class, in this manner completing, at least basically, the implementation of static data with PHP 5.

They start by reviewing the functionality from the previous part of the series and build on it, creating static properties within the class (user data in this case) and how to use it in a mini app to set and display the information.

0 comments voice your opinion now!
php5 tutorial static property user information php5 tutorial static property user information


blog comments powered by Disqus

Similar Posts

Geeks Not Nerds Blog: Rolling your own Blog Backend from Scratch Part 1

Rob Allen: Injecting dependencies into your ZF2 controllers

IBM developerWorks: Understanding the Zend Framework, Part 3: The feeds

PHPBuilder.com: Harness the Scripting Power of PHP and cURL to Update Facebook

Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces


Community Events

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


language project introduction testing list framework laravel api series php7 symfony example composer community podcast interview opinion part2 yii2 application

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