News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

DevShed:
Executing Destructors Manually in PHP 5
0 comments :: posted Wednesday February 13, 2008 @ 11:27:00
voice your opinion now!

Finishing off their series on destructors in PHP5 applications today, DevShed has posted this new tutorial showing how to manually run the destructors of your class (in case there's ever a need).

In this final tutorial of the series I'm going to show you how to manually trigger a destructor, and in addition you'll learn how to emulate the behavior of this magic method when using PHP 4.

They not only talk about how to call the destructor manually but they also show how to call multiple destructors at the same time to destroy lots of objects at once. And, as promised, they include a method for being able to use a destructor-like bit of functionality in a PHP4 app as well.

tagged with: php5 destructor execute manual php4 emulate multiple


Drupal.org:
Tuning your server for optimal Drupal performance
0 comments :: posted Wednesday April 19, 2006 @ 07:14:14
voice your opinion now!

On the Drupal site, there's a handy article instructing you on getting the most performance out of your server for the Drupal software.

The performance of your Drupal site is dependent on three main factors: the goals of your site, the resource demands of your site traffic, and the system performance and configuration of underlying technologies.

They seperate it out into three different sections - setting out your performance goals, analysing your site for current traffic/resource consumption, and the actual implementation of the performance settings. They give a few steps here to follow to check what your server is currently using and some links to other tips on tuning the various pieces of the puzzle.

One thing that they mention that's worth repeating to any and all web developers out there: "Apache is bandwidth limited, PHP is CPU limited, and MySQL is memory limited and disk I/O bound".

tagged with: php optimal drual performance identify analyze understand execute php optimal drual performance identify analyze understand execute


releases job zendframework PEAR framework pecl security zend book developer cakephp application ajax mysql release code PHP5 conference database package

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