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

Mattias Noback:
Backwards compatible bundle releases
September 29, 2014 @ 12:31:09

In his latest post Matthias Noback talks about a problem common to Symfony bundles (and, well, software in general) - dealing with backwards compatibility and breaks that could be introduced with new changes.

With a new bundle release you may want to rename services or parameters, make a service private, change some constructor arguments, change the structure of the bundle configuration, etc. Some of these changes may acually be backwards incompatible changes for the users of that bundle. Luckily, the Symfony DependenyInjection component and Config component both provide you with some options to prevent such backwards compatibility (BC) breaks.

He breaks the post up into a few different kinds of backwards compatibility breaks that could happen and code examples of each:

  • Renaming things
  • Changing visibility
  • Changing values

Each topic also includes methods for preventing issues with older users who maybe aren't using the new features. This includes things like sane default values for new settings, renaming services and creating new extensions for working with new properties.

0 comments voice your opinion now!
symfony bundle backwards compatibility changes prevent rename visibility values

Link: http://php-and-symfony.matthiasnoback.nl/2014/09/backwards-compatible-bundle-releases/

SitePoint PHP Blog:
What to Expect from Yii 2.0
September 22, 2014 @ 12:32:17

The SitePoint PHP blog has a new post today from Arno Slatius that talks about some of the features coming in Yii 2.0, a PHP-based MVC framework with a target for a stable release coming very soon.

Yii 2.0 was released into beta last April and the goal for a first stable release was set for the middle of 2014. The GitHub issue list has 300 open issues and 2913 closed while I'm writing this and both numbers are still increasing. The progress to the 2.0RC milestone was at 99%. My guess is that the team is close, but we'll probably have to wait just a little bit longer. While we're all waiting, lets take a look at what we can expect by looking at an already available example.

He starts with a "tiny bit of history" about the framework (its origins, the work done on 2.0) and talks about some of the requirements to get it installed and working. He helps you set up a sample project and shows off the Twitter Bootstrap integration, the debug bar and the "Gii" tool that can help generate code automatically (following the conventions of the framework). He finishes off the post with a look at some of the main things that changed in the 2.0 release including moving some method calls to properties, datetime handling, behavior definitions and model/view updates.

0 comments voice your opinion now!
yii v2 introduction tutorial changes requirement install gii history

Link: http://www.sitepoint.com/expect-yii-2-0/

SitePoint PHP Blog:
PHP 5.6 End of Beta
June 09, 2014 @ 12:08:15

The SitePoint PHP blog has a new post from editor Bruno Skvorc looking at the final beta for PHP 5.6, the latest bugfix release for this upcoming version. He talks about some of the major changes, security upgrades and other fixes included in the release.

On June 5th 2014, the PHP group announced the fourth and final beta of the 5.6 version. This milestone ends the beta program and begins the RC program (currently planned for June 19th), which will from now on focus exclusively on making sure the version is stable enough for release. As is customary with a beta program, no new features were added since beta 1 - all the releases were bugfix and improvement patches only.

New features coming in PHP 5.6 include exponentiation via the "**" operator, the change of the default character set to UTF-8 and several security updates (based on releasely released vulnerabilities in underlying libraries PHP uses). There are a few backwards compatibility breaks that come with the new release as well as deprecated features and various other smaller updates.

0 comments voice your opinion now!
beta php56 changes features bugfix release

Link: http://www.sitepoint.com/php-5-6-end-beta

WordPress.org:
A New Frontier for Core Development
August 07, 2013 @ 10:21:32

WordPress, by far one of the most popular PHP-based applications out there has a new post to their site officially stating a change in core development practices:

In a little over a decade, we've made twenty five thousand commits to WordPress. WordPress (along with the web itself) has come a long way, but our development workflow has remained largely the same.

As a part 3.7, I'll be leading an effort to revamp and streamline our development workflow. We're going to bring all of our core components - our code, our tests, and our tooling - under one roof. Developers will be able to use and improve the tools we're already working with day-to-day, and we'll be able to add new tools to make working with WordPress even easier.

We're also making sure that any changes are compatible with our current workflow, so you won't have to change the way you work. These changes won't break any existing checkouts or scripts that use core.svn.wordpress.org.

The post also details some of the new things they're doing to improve the development and deployment process. This includes the creation of a "develop.svn.wordpress.org" SVN repository to hold all new WordPress development. There's also a new build process involving a tool called "bumpbot" and the new addition of Grunt.

0 comments voice your opinion now!
core development changes build process svn develop

Link: http://make.wordpress.org/core/2013/08/06/a-new-frontier-for-core-development

Robert Eisele's Blog:
PHP Hacking
June 10, 2011 @ 07:44:52

Robert Eisele has a new post (and some new source) on his blog today that has gotten the PHP community both up in arms and excited about the potential it offers - a fork of PHP that's been modified to include lots of little improvements for changes in performance, some new PHP functions, usability improvements and changes in the MySQLi/mysqlnd drivers.

It took me a while but here's a new toy. Today I publish my own PHP fork based on the PHP 5.3.6 code base with a few changes that make the everydays developer life more bearable. It includes some of the patches I've already published about 3 years ago, my defcon extension and also my infusion extension plus a good bunch of extra gimmickries.

Updates in his release available on github) include:

  • Hardcoded constants
  • Turn off $_REQUEST variable if it's not needed
  • new methods like str_random, ob_fwrite, sigfig and strcal
  • changes in foreach, strstr and binary number handling
  • updates to MySQLi/mysqlnd to return matched rows and mysqi_return

The community reaction to this fork has been divided - some think the work put into these changes should have been submitted to the main PHP project instead and others see it as a good step forward for the language. Share your thoughts by commenting on the post.

0 comments voice your opinion now!
fork hacking language update changes community


Phil Sturgeon's Blog:
Upgrading to CodeIgniter 2.0
May 06, 2010 @ 09:54:03

For those that are currently using the stable version of the CodeIgniter framework (1.x) and are wanting to know what they'll need to do to upgrade to the upcoming 2.0 release, Phil Sturgeon has just the guide you're looking for.

I got it all working in a few hours after LOTS of headbanging, mouse throwing and blaspheming. All the bugs I found along the way have since been fixed in the 2.0 branch by the Ellis developers or myself. While this does not mean everything is running perfectly [in PyroCMS] , at the time of writing all the worrying bugs are squashed so it should be safe for us to have a play.

He covers a few things like changes to the model class names, the use of plugins (or how you won't anymore), how they've dropped the validation class, that modular separation won't work out of the box and a few more. You can grab the latest version of the CodeIgniter 2.0 branch from the EllisLab bitbucket account (and contribute back if you find a bug!)

0 comments voice your opinion now!
upgrade codeigniter development changes


Symfony Project:
symfony 1.0.0 beta 2 released
December 21, 2006 @ 08:15:00

The symfony project has announced the release of their latest version - 1.0.0 beta 2:

symfony 1.0.0 beta2 is completely compatible with beta1, so you don't need to launch the upgrade task if your project is already running on beta1.

Updates included with this release include:

  • Better compatibility with PHP 5.0.X
  • PEAR dependency has been removed
  • New COPYRIGHT file and licenses/ directory
  • Phing is now bundled with symfony

0 comments voice your opinion now!
symfony framework beta2 release changes upgrade symfony framework beta2 release changes upgrade


PHPHacks.com:
Upcoming changes in PHP 6.0
September 19, 2006 @ 07:26:02

With great new advancements coming out of PHP with each new version released, the list of things that are being worked toward for PHP 6 bears some repeating for what we have to look forward to. PHPHacks.com has just that posted today.

The PHP world is really excited about the upcoming release of PHP 6.0. Amongst all the uncertainties in any new release, PHP 6.0 seems to be getting rid of three of the earlier troublesome features: register_globals, magic_quotes_gpc and safe_mode. The first was a big security hole, the second messed with the data and made changing environments quite difficult, while the third was usually misread, and provided a false sense of security. There's also quite a lot of work scheduled to do with Unicode.

Other large changes are mentioned as well, like the the addition of new 64-bit integers and that the ereg extension is removed, while the XMLReader, XMLWriter and Fileinfo extensions are added to the core, and by default are on. Check out the entire post for the full listing.

0 comments voice your opinion now!
upcoming changes php6 version list upcoming changes php6 version list


Joshua Eichorn's Blog:
phpDocumentor enhancements
July 14, 2006 @ 06:00:15

Joshua Eichorn shares some of the updates to the phpDocumentor software in his latest post today:

As PHP keeps added language features one of the things we have to do is figure out how to document them. Lately I've been hearing requests for a way to document virtual properties and methods on classes that are implemented using __call etc.

After talking a bit with Greg, I'm leaning towards adding in some new docblock tags to classes to allow these methods/properties to be documented.

He includes a code example for the documentation method suggested on these new functionality bits. He also asks for comments/ideas on how to hald these sorts of updates in the future.

0 comments voice your opinion now!
phpdocumentor enhancements docblock tags manage changes phpdocumentor enhancements docblock tags manage changes


PHP Magazine:
What Would You Like to See In PHP 6?
March 13, 2006 @ 07:41:50

PHP Magazine has posted their results from a poll they took after the "PHP Developers Meeting" that happened in Paris about what developers would like to see in PHP6.

Following release of the PHP Developers Meeting in Paris (November 11th and 12th, 2005), the International PHP Magazine polled the community to find out What they were looking our for, the most, in PHP 6?

The results of the poll suggest almost an equal weightage to all of the points noted in the developer meeting minutes. Of the 809 members polled, 15-20% of the respondents were looking out for OO functionality changes, functionality cleanup, performance boost, Security enhancements, and unicode support, in that order. Only 7% were keen to see additions made to the PHP engine. Less than 3% clicked on the "others" option.

The votes were pretty close, with "Functionality" only barely edging out "Performance Boost". "OO Functionality Changes", however, topped the list with points to spare.

0 comments voice your opinion now!
like to see in php6 poll results OO functionality changes like to see in php6 poll results OO functionality changes



Community Events





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


tips community symfony deployment developer release library podcast framework language api introduction opinion conference series interview laravel list zendserver bugfix

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