News Feed
Jobs Feed
Sections




News Archive
feed this:

Brandon Savage:
Compiling PHP 5.5 From Scratch
May 15, 2013 @ 09:48:41

Brandon Savage has a new post to his site today showing you how to compile and install PHP 5.5, the next major upcoming release for the language (in RC status as of the time of this post though).

There's always a lag behind new releases of PHP and releases of packages for operating systems such as Ubuntu. This lag time means that you could be kept from upgrading to the latest and greatest PHP for a year or more, unless you use an outside repository like Dotdeb. [...] Instead, I roll my own version of PHP. It's simple and easy to do, and something that any developer can do. Here's my instructions for doing so on a fresh Ubuntu installation.

He gives a reason or two why you might want to "roll your own" installation and helps you get the environment prepared via some "aptitude" install commands for supporting software. Commands are included for installing needed dependencies, configuring/building PHP and updating Apache to use this new install. He finishes it up with a few smaller things to do like making the php.ini and enabling the Zend opcode caching extension.

0 comments voice your opinion now!
compile language release candidate version tutorial install apache

Link: http://www.brandonsavage.net/compiling-php-5-5-from-scratch

PHP.net:
PHP 5.4.15 and PHP 5.3.25 released!
May 10, 2013 @ 09:49:22

On the PHP.net site they've announced the release of version 5.4.15 & 5.3.25 (fully released after some propagation issues with the mirror servers).

The PHP development team announces the immediate availability of PHP 5.4.15 and PHP 5.3.25. These releases fix about 10 bugs aswell as upgrading the bundled libmagic library. All users of PHP are encouraged to upgrade to PHP 5.4.15. [...] The list of changes are recorded in the ChangeLog.

Changes include updates to debug_backtrace for a segfault issue, a change to the dns_get_record function for negative length values and a fix for a fd leak on Solaris. You can download this latest release from the downloads section (source) or the Windows QA site (binaries).

0 comments voice your opinion now!
language release bugfix update

Link: http://php.net/archive/2013.php#id2013-05-09-1

PHP.net:
PHP 5.5.0RC1 is available
May 09, 2013 @ 10:27:24

As is mentioned on PHP.net today, the first release candidate for the PHP 5.5.x series, PHP 5.5.0RC1, has been released for testing:

The PHP development team announces the availability of the first release candidate of PHP 5.5. This release fixes some bugs as well as some possible leaks from our last beta. This is a development preview - do not use it in production!

Some of the more major changes in this release include an update to the FPM SAPI for QUERY_STRING, a fix for a build issue with libgd, bugs in SNMP and a problem with stream_select on Windows x64 systems. You can find the full list of changes in the NEWS file. Please download and test (Windows binaries here) this latest release to help the development team find issues and move along with the PHP 5.5.x releases.

0 comments voice your opinion now!
language release candidate development preview rc1

Link: http://php.net/index.php#id2013-05-09-2

PHPMaster.com:
Better Understanding Random
April 26, 2013 @ 11:52:49

On PHPMaster.com there's a new tutorial talking about randomness in PHP, what it is and some of the things it can be used for.

Use of random values is very important in the computer security field. It is crucial in computer programming for development of secure systems that are not vulnerable to malicious subversion. Cryptography relies on random value's generation and their reproducibility for unpredictable output that is core for security of any system. Random values are fundamental for secure coding practices and PHP highly makes use of them for security. You will find them used in all libraries and frameworks and almost all codes rely on them for the generation of tokens, salts and as inputs for further functions.

He talks about the important of good random numbers and some of the common uses for it including generating salts and unique identifiers. He mentions the "pseudorandomness" of PHP's generators and how they're seeded to help increase this randomness. He finishes up the tutorial with some suggestions and language features for creating "as random as possible" values like using "/dev/urandom" on Linux-based systems.

0 comments voice your opinion now!
random language feature pseudorandom uses tutorial

Link: http://phpmaster.com/better-understanding-random

Thomas Buck:
Tom's PHP Commandments - Take heed
April 17, 2013 @ 12:23:20

Thomas Buck has put together what he calls "Tom's PHP Commandments" (nine of them) that developers should follow when developing applications with the language. Among his suggestions are things like:

  • ALWAYS do the simplest thing that will work
  • NEVER trust anything that comes from the user
  • NEVER use include for controlling logic
  • NEVER create a file of useful functions, even if it's called helpers.php

There's also been some discussion about this list over on Reddit - you can comment on it over there if you agree/disagree with some of his points.

0 comments voice your opinion now!
commandments language usage list

Link: http://biasedphp.com/php-commandments

Engine Yard Blog:
Learning Rails (and Ruby)
April 11, 2013 @ 10:33:31

Davey Shafik, a long-time PHP developer and community member/speaker, recently had to learn Ruby on Rails for a project at work. He's shared some of the experience (from the perspective of a PHP developer) in a recent post on the Engine Yard blog.

I know PHP. I mean, I really know PHP. Not just the syntax, or the idioms and idiosyncrasies, but why. I can tell you why something works the way it does, under the hood; and I was probably around when the decision was made to do it that way. Thirteen years with any language is a long time. [...] Ultimately, it comes down to: Is it the right tool for the task? Because of this, ultimately when I come to write a web site, PHP is my tool of choice. Know thy tool well, and it shall treat you well. Then along came Engine Yard, and I was exposed to just a ton of fantastic engineers who happen to choose Ruby as their tool of choice.

His project was the site for the Distill conference Engine Yard is putting on in August. He lists a few "WTF" moments he came across when learning and creating the site with Ruby including issues with parentheses on metod calls, method naming rules, implicit returns and variations on control structures. He also talks about some of the other technologies used to power the site like OAuth and S3 for image uploads (via paperclip). He finishes out the post by wrapping up the experience and talking some about the benefits of getting outside your comfort zone and learning something wildly new (language or other technology) to give you perspective.

0 comments voice your opinion now!
developer perspective distill learn language rubyonrails

Link: https://blog.engineyard.com/2013/learning-rails-and-ruby

PHP.net:
PHP 5.4.14 and PHP 5.3.24 released!
April 11, 2013 @ 09:07:21

As is mentioned on the main PHP.net site today PHP 5.4.14 and 5.3.24 have been released:

The PHP development team announces the immediate availability of PHP 5.4.14 and PHP 5.3.24. These releases fix about 10 bugs aswell as upgrading the bundled PCRE library. All users of PHP are encouraged to upgrade to PHP 5.4.14.

Users are encouraged to update to this latest release. You can find the latest version either on the downloads page (source) or the Windows site (binaries). If you're curious what all changed in this release, check out the Changelog.

0 comments voice your opinion now!
language release stable bugfix pcre library update

Link: http://php.net/archive/2013.php#id2013-04-11-1

Daniel Ribeiro:
Do you want to be a PHP Evangelist?
April 05, 2013 @ 11:08:23

Daniel Ribeiro has (re)published an article he originally wrote for the Web & PHP Magazine about becoming a PHP evangelist and helping to lead change in the community.

To evangelize is to effectively transfer information regarding one set of beliefs to another, with the final goal of converting each individual to the original belief. Isn't that what we do when we spread the word of PHP?! The idea behind being a PHP Evangelist is for an individual to speak passionately about PHP and be able to have strong and durable arguments for PHP, if questioned about his "faith" in the technology.

He talks some about the skills and things you'd need to become an evangelist - an advanced knowledge of the language, thinking "out of the box" about problems and how you can stand out from the other people in the community as a leader. He also recommends being technically adept as well and contributing to projects, either through support or actual development.

PHP evangelists are born to lead, to form opinions, influence the opinions of others and to have followers - and haters as well. Even if you think you were not born to be a leader or just don't want to be one, you will have to get used to public speaking if you wish to become a PHP evangelist.
0 comments voice your opinion now!
evangelism community language leader contribution knowledge

Link: http://danielribeiro.org/do-you-want-to-be-a-php-evangelist/

PHPMaster.com:
Multi-Language Support in CodeIgniter
April 04, 2013 @ 12:52:02

New on PHPMaster.com there's a tutorial by Rakhitha Nimesh about using the multi-language support to CodeIgniter applications. This functionality is included as a default part of the framework using internal language files.

Multi-language support, also known as internationalization, is a key feature of modern web applications. Most of the full-stack PHP frameworks come with multi-language support which enables us to dynamically present our application's interface in different languages without duplicating the existing source code for each language. Today we're going to discuss how we can enable multiple languages using CodeIgniter as well as a few tricks to customize the core functionality.

He shows where in the configuration to set the default language and where you'll need to put the language files so CodeIgniter can find them. Sample code shows how to load in the language files and how to pass certain values out to the view for display. He also includes an example of using CodeIgniter's own hooks system to call the language file load via a "LanguageLoader" class after the controller instance is created.

0 comments voice your opinion now!
codeigniter tutorial multilanguage language file

Link: http://phpmaster.com/multi-language-support-in-codeigniter/

Drupal Motion:
PHP is not dead
March 27, 2013 @ 11:12:42

In this new post to his Drupal Motion site, David Corbacho shares some statistics about why PHP "isn't dead yet" and that despite the slow adoption of the latest versions of the language, it's still as popular as it ever was.

This is a follow-up on the article Dries Buytaert wrote in 2007 PHP is dead... long live PHP!. In the article he shared same concern that Nick Lewis for the slow adoption rate of PHP 5, less than 20% at that time. And he encouraged to upgrade to PHP 5. [...] Well, PHP 5 adoption rate is 96.9%, and PHP 4 is quite dead. Mission accomplished. Let's have a look to the overall PHP health.

He shares data from a few sources about the popularity and adoption of PHP in applications/sites all across the web. Sources include Netcraft survey results, W3Tech usage summaries and Stack Overflow tagging matches (complete with graphs of each set of data).

0 comments voice your opinion now!
statistics popularity language netcraft w3tech stackoverflow



Community Events









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


composer language code functional community testing zendframework2 conference introduction framework podcast api event development release object opinion interview example tool

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