Archive for October 11th, 2006
PHP Developer - October 11th, 2006
The Zend Developer Zone has information about a case study as performed by IBM and Zend showing the performance of the Zend Core for IBM (DB2 9) to services - you ready for this? - 10,000 active database connections.
The PHP application used for this study is a DVD store application that simulates users logging into an online catalog, browsing the catalog, and making DVD purchases.
The solution presented in this paper demonstrates how Zend Core for IBM with IBM DB2 9 performs, scales, and offers the best total cost of ownership. This is showcased by scaling-out Web servers as users to the online store increase. The single DB2 data server manages this without requiring the addition of CPU and memory using its unique connection concentrator feature, which manages and balances the workload on the data server. This solution is able to efficiently service tens of thousands of simultaneous connections to the database using this powerful feature.
They’ve included complete information on all of the testing and infrastructure they used to achieve this impressive feat. There’s even graphs and images for those skimmers out there looking to glean what they can.
Continue Reading ·
PHP Developer - October 11th, 2006
The International PHP Magazine has posted the results of their latest poll (which features a PHP editor should have) on their site today.
Options included checking PHP syntax with one click, having a complete PHP reference inside, and bookmarking for easy code navigation. The one that was at the top, though, was the need to make finding classes and functions in documents quick and easy (with a resounding 46.9 percent). The runner up was down at 18.8 percent - “Navigate to errors in your code code automatically”.
Be sure to check out this week’s poll question too. They want to know which of the following is the category of PHP that most interests you:
- General PHP
- PHP & Business / Integration
- PHP & Databases
- PHP Design
- PHP Extensions
- PHP & XML
- PHP-GTK
- PHP Security
Go head on over and cast your vote today!
Continue Reading ·
PHP Developer - October 11th, 2006
PHPBuilder.com excerpts once again from the Sams Publishing book “PHP 5 in Practice” today with this new tutorial showing a method for localizing web pages for different languages.
Internationalization and localization of a web page is simply the act of setting it up to be able to handle displaying in multiple languages and adding those different languages in. There are many different ways in which to do this. One of the simplest is to just make sure that all your strings that you ever output are stored as variables or constants in an included file. That way, you can make multiple copies of that file,each with different language versions written into them. Just include the appropriate file for the language that you want to display.
They show the creation of the different language PHP files that will be included and the master “language.php” that works with the under’s input to switch to the correct language (and set a cookie to save the preference).
Continue Reading ·
PHP Developer - October 11th, 2006
DevShed is continuing their “using builder objects in PHP5″ series today with this new article, a look at implementing the builder objects in a simple, common bit of functionality - forms.
Mastering some of the most popular design patterns with PHP 5 can be sometimes an overwhelming process that requires hard work and experience. However, if you want to tackle the challenge and expand your existing background on them, this article might eventually find a place on your quick reference list.
They start by defining the basic form element class, helping to build out the different elemnts like inputs, selects, and submits. They extend and implement this class with their example, making a complete form with working elements inside.
Continue Reading ·
PHP Developer - October 11th, 2006
The folks over at Nexen.net hve published this month’s PHP adoption statistics for the month of September 2006:
Here are the evolution graphics for PHP, in September 2006. To learn about the methodology, see la section phpversion. 15 millions servers were surveyed during September 2006, and 8,9 were used for the stats : domaines without web sites, those unreachable, ISP or domain parkings were not considered.
According to this month’s stats, there’s a bit of a dip on PHP usage overall and a corresponding dip for the ASP side as well. The use of PHP4 has taken a nosedive with PHP5 coming up strong to fill the gap.
There’s three main highlights from this month’s stats:
- PHP5 users are hesitating, waiting for PHP 5.2
- PHP 4.4 is pushing even futher past the previous version (4.3)
- PHP 4.4.2 is still holding on strong as the most popular version in use
Continue Reading ·