News Feed
Sections




News Archive
feed this:

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

Doug Hill's Blog:
60 Days What is it?
December 24, 2008 @ 12:33:35

Doug Hill has proposed a new project that he hopes to get the community behind - 60 Days:

60 Days is an idea I had while trying to decide what to do with the domains I have sitting around doing nothing - (well nothing but being a nagging reminder that I'll never have time for every idea that pops into my head, and that domain names cost money to keep).

The goal of the project is to take a domain you're not currently using (and you know you have some out there) and making something - a "real world project" - on it in 60 days. the catch is that, for each domain you use for the effort, it has to be a different PHP framework. Keep an eye out for the January 1 launch date for more details.

0 comments voice your opinion now!
sixty days project effort domain name framework different realworld


PHPBuilder.com:
Localizing a Web Page for Different Languages
October 11, 2006 @ 15:36:00

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).

3 comments voice your opinion now!
localize different language page include cookie localize different language page include cookie


Kore Nordmann's Blog:
New Image_3D release
March 20, 2006 @ 07:34:12

Kore Nordmann has released the latest edition of his PEAR Image_3D package - version 0.4-alpha - including some great new features.

The new release of Image_3D (0.4-alpha) is out. It was quite some time ago, Richard Davey wrote his great introduction into Image_3D. He asked for some different types of lights, I didn't thought of, when I released Image_3D first. This needed a minor change in the API you use to create lights, but offers some great improvements. See changelog for details.

Some of the other additions mentioned include, as mentioned, the ability to create different types of lights (light, ambient, point, and spotlight) and the inclusion of an object that allows for the creation of bezier areas from an array of points.

0 comments voice your opinion now!
PEAR package image_3d different lights bezier areas PEAR package image_3d different lights bezier areas


PHPit.net:
Taking a look at ten different PHP frameworks
March 20, 2006 @ 07:27:00

From PHPit.net, there's this article posted that takes a look at ten of the more prominent PHP frameworks offered today, including the Zend Framework, Cake, Symfony, and Seagull. They compare each of them, including a large chart outlining their basic setup and features.

PHP frameworks are the latest hot topic in the PHP community, and new frameworks are being released daily. With over 40 frameworks available it's difficult to decide which framework works best for you, especially as each framework offers different functionality.

In this article we will look at ten popular frameworks, and compare them to each other. First I will give you a general chart which gives you a quick overview of all the frameworks, and after that we'll go through each framework and discuss it in short.

They start with the chart mentioned above for those that just want to boiled down version of the reviews. From there, they work through each, describing general details about them and the general feel that the author got from them as they developed in them. Of course, there is no real "winner" when it comes to this kind thing. Sure, there's always a few that rise to the top as more well developed and suited for more of the projects out there, but it's really more about what fits for you, not an overarching single framework to do it all...

0 comments voice your opinion now!
framework review ten different description framework review ten different description


Sebastian Bergmann's Blog:
PHP 5.1 / GCC Benchmark (Update)
January 25, 2006 @ 06:40:40

Sebastian Bergmann has updated a previous benchmark concerning the performance of PHP 5.1 as built with various versions of GCC.

I updated my previous benchmark of PHP 5.1. This time around I built PHP with GCC 3.4.5, GCC 4.0.2, and GCC 4.1.0.

The bottom line result seems to be that GCC 4 generates slightly slower code:

  • GCC 3.4.5: 15.223
  • GCC 4.0.2: 17.896
  • GCC 4.1.0: 17.847
When I have more time, I will investigate this further using alternative optimizations, including profiling-guided ones.

The detailed results are also included, showing how he came to each point mentioned above. They include the specs for the machine, how the testing was set up, and the detailed breakdown of the stats for each GCC version.

0 comments voice your opinion now!
gcc benchmark update different versions php5.1 gcc benchmark update different versions php5.1


Vidyut Luther's Blog:
Difference between "require()" and "include()" in PHP
January 05, 2006 @ 06:56:33

On his blog, phpcult.com, Vidyut Luther talks about the difference between require and include in PHP.

This should be well known, and people should be aware as to why they are using either or. But, I've noticed lately that a lot of people new to PHP or programming are not aware of the difference. Depending on what you need you, need to decide what the differences are.

It's a short post, but for someone just getting into PHP, it's some handy information to have. He looks at both functions and gives what they're good for. He does throw in a few caveats, though - including an issue with parse errors in included files pre-PHP 4.3.5...

0 comments voice your opinion now!
different include require fatal error warning different include require fatal error warning



Community Events





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


install opinion framework interview refactor experience unittest threedevsandamaybe release podcast series language symfony2 introduction laravel developer testing community code list

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