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

PHPBuilder.com:
Top 11 Best Practices for PHP Development
July 07, 2014 @ 18:08:30

PHPBuilder.com has offered the top eleven practices they see as a must for any PHP developer to incorporate.

Right from its inception, PHP was widely used to develop web based applications. Since PHP is a scripting language, one must follow some rules while developing. This article will discuss the best practices that are generally followed in the PHP world.

Their "top eleven" list includes things like:

  • Error reporting should be turned on
  • Meaningful and consistent naming standards
  • Deep Nesting should be avoided
  • Use adequate comments
  • Use Cache mechanism wherever required

You can read up on their full list and the descriptions of each in the full post.

0 comments voice your opinion now!
bestpractices development tips list top11

Link: http://www.phpbuilder.com/articles/application-architecture/optimization/explore-the-top-11-php-best-practices.html

PHP.net:
PHP 5.6.0RC2 is available
July 04, 2014 @ 15:08:14

The PHP development group has released the latest Release Candidate in the PHP 5.6.x series: PHP 5.6.0RC2. A reminder, though, this is not a production release, so only use it in testing.

The PHP development team announces the immediate availability of the second release candidate of PHP 5.6. As we entered the feature freeze with beta1, this is a bugfix-only release. All users of PHP are encouraged to test this version carefully, and report any bugs in the bug tracking system.

Several issues were fixed in this release candidate including updates to the core engine, internationalization, the PostgreSQL extension and the PHPDBG debugger functionality. You can find the full list in the NEWS file. You can download this latest release from the PHP QA site or the Windows QA site.

0 comments voice your opinion now!
language release php56rc2 releasecandidate development testing bugfix

Link: http://php.net/index.php#id2014-07-03-1

PHP.net:
PHP 5.6.0beta4 Released
June 06, 2014 @ 12:27:33

The main PHP.net site has officially announced the release of the latest beta in the PHP 5.6.0 series: PHP 5.6.0beta4.

The PHP development team announces the immediate availability of PHP 5.6.0beta4. As we entered the feature freeze with beta1, this is a bugfix-only release. All users of PHP are encouraged to test this version carefully, and report any bugs in the bug tracking system. The beta phase is officially closed with this release. A couple of RCs are to be expected, until we are confident that the release is stable enough for the final release. For that, we really need your help in testing and reporting any problems that you encounter.

This is not a production release and should not be used in any kind of production environment. You can find out more information about the major updates in this evolving documentation. You can see all of the changes in this beta release in the included NEWS file. You can download this latest beta from the PHP QA site or here for the Windows binaries.

0 comments voice your opinion now!
php560 beta4 release announcement development

Link: http://php.net/index.php#id2014-06-05-1

PHP Town Hall:
Episode 25 Girls Aren't Any Different
May 29, 2014 @ 11:29:04

The PHP Town Hall podcast, with hosts Ben Edmunds and Phil Sturgeon, has posted their latest episode - Episode #25: "Girls Aren't Any Different".

Talking about feminism in tech is always difficult. This episode was quite a heated discussion with Kayla Daniels and Jessica D'Amico discussing their opinions about women-orientated groups such as PHPWomen and Girls Who Code. Kayla wrote an excellent article titled Not a shiny unicorn, in which she made several points. [...] Essentially saying that specialist groups that try to help nurture female involvement can be seen - by some - to be a little patronising, like girls need special help, etc. Also whenever people freakout in the office because there is "a girl" there, things get weird.

While they admit that the session could have been more of a "representative conversation or interesting listening", plenty of points about the topic of feminism in technology-related work are still discussed with some good perspectives on either side. You can listen to this latest episode either through the in-page player or by downloading the mp3 (no video for this one, unfortunately).

0 comments voice your opinion now!
phptownhall ep25 female code development technology kayladaniels jessicadamico

Link: http://phptownhall.com/blog/2014/05/28/episode-25-girls-arent-any-different/

NetTuts.com:
Getting Started With Phpspec
May 12, 2014 @ 13:55:10

The NetTuts.com site has a new tutorial that want to help get you started with PHPSpec, the PHP-based tool to help with behavior-driven development.

In this short, yet comprehensive, tutorial, we'll have a look at behavior driven development (BDD) with phpspec. Mostly, it will be an introduction to the phpspec tool, but as we go, we'll touch on different BDD concepts. BDD is a hot topic these days and phpspec has gained a lot of attention in the PHP community recently.

They briefly introduce behavior-driven development (BDD) and where the PHPSpec tool fits into the picture. They guide you through installation of the tool (via Composer) and some configuration updates to get things set up. From there, they help you write your first spec, a test to see if a "TaskCollection" can be created. They build on this simple test adding in checks for adding tasks, making the collection countable and working with expectations and promises. The last part of the tutorial mentions how to make custom matchers like "beTrue" and "beFalse" and the output of the full test set.

0 comments voice your opinion now!
phpspec tutorial introduction behaviordriven development bdd

Link: http://code.tutsplus.com/tutorials/getting-started-with-phpspec--cms-20919

Allan MacGregor:
Flexible PHP Development with PHPFarm
April 21, 2014 @ 10:44:31

Allan MacGregor has a post today talking about a handy tool he uses in his development to have multiple versions of PHP running side-by-side: PHPFarm.

If you have been working with PHP for a while, chances are that you have come across with a project, extension or script that requires to be tested on multiple PHP versions, for simple CLI scripts this seems easy enough but what happens when you are working with complex applications, developing for frameworks or multiple versions of them? [...] This setup can quickly become cumbersome and it is not easily scalable. [...] Getting multiple PHP versions running side by side can be challenging and over the year devs have released multiple solutions like PHPEnv or the new , personally I use PHPFarm.

He walks you through the installation and configuration of the tool. He also shows you how to get a few different versions of PHP installed, including custom configuration files. He also includes a bit at the end of the post about getting it all to work with Apache (via mod_fastcgi and some custom configuration changes).

0 comments voice your opinion now!
flexible development phpfarm install configure tutorial apache

Link: http://coderoncode.com/2014/04/18/flexible-php-development-phpfarm.html

PHP.net:
PHP 5.6.0beta1 released
April 14, 2014 @ 11:52:56

As is mentioned on the main PHP.net site, the release of the first beta of the PHP 5.6.0 series has been released (PHP 5.6.0beta1). This is only a preview release and should not be used in production.

The PHP development team announces the immediate availability of PHP 5.6.0beta1. This release adds new features and fixes bugs and marks the feature freeze for the PHP 5.6.0 release. All users of PHP are encouraged to test this version carefully, and report any bugs in the bug tracking system.

Among the new features coming in PHP 5.6.0 are things like the addition of a fread method on the SplFileObject, an update to the DateTimeImmutable class, support for marks to the PCRE extension and support for asynchronous connections and queries to the Pgsql extension. If you'd like to test out this latest beta release on your systems, you can download it from the PHP QA site (or the Windows QA site if you're so inclined).

0 comments voice your opinion now!
php56beta1 release language development preview

Link: http://php.net/index.php#id2014-04-11-1

SitePoint PHP Blog:
PHP Extension Development with PHP-CPP Object Oriented Code
April 08, 2014 @ 09:11:17

The SitePoint PHP blog has posted the second part of their look at the PHP-CPP tool and how to use it for developing PHP extensions. In this second part of the series Taylor Ren builds on what was learned in part one and talks more about the OOP features of the tool.

In this part, we further elaborate its OO features. We will mimic a complex number (in the form of 3+4i) class to demonstrate some more useful and powerful sides of the PHP-CPP library.

He walks you though a few changes to the environment files (the .ini configuration file and the Makefile) to set things up. He then gets into the C++/PHP constructor and getters and setters for private class variables, much like PHP's __get and __set. His example shows a set of methods that do some mathematical calculations including one to show the result in a "more friendly way". He includes the code for registering these functions and, finally, the steps to compile, install and test the extension.

0 comments voice your opinion now!
phpcpp extension development part2 series oop code

Link: http://www.sitepoint.com/php-extension-development-php-cpp-object-oriented-code

MakeUseOf:
Create The Perfect PHP Development Environment In Android
March 05, 2014 @ 10:39:17

On the MakeUseOf site there's a recent post showing how you can create the "perfect PHP development environment" on your Android-based device. Obviously, it's much more useful on a tablet, but in theory it could be used on a smartphone.

It turns out you can actually code on Android productively. For the longest time, it has been accepted that whilst computers are for productivity and creativity, Tablets exist purely to allow the passive consumption of content. I believed that as well. I'm a software developer by trade, and I use a 13" Macbook Pro to write all my code. I wouldn't have it any other way. OS X comes with everything I need to be productive as a developer, and I've built my workflow around that. Android on the other hand? I've never really thought about writing code on Android. [...] But then I bought a decent Bluetooth keyboard, and everything changed. I've now built a PHP development environment around my 2012 Nexus 7 tablet, and I love it.

He breaks it down and shows some of the tools he uses for his development including the use of VIM Touch for editing and the Palapa Web Server for local hosting of his applications. Screenshots of the setup and configuration are also included.

0 comments voice your opinion now!
development environment android vimtouch palapa webserver

Link: http://www.makeuseof.com/tag/create-perfect-php-development-environment-android/

IT World:
Does relying on an IDE for development make you a bad programmer?
February 27, 2014 @ 10:04:45

On the IT World site there's an interesting post that poses the question - does relying too heavily on your IDE make you a bad programmer?

The truth is that a good IDE makes you vastly more productive than a bad one or none at all. Projects are off the ground faster thanks to helpful scaffolding. Coding moves faster thanks to intelligent autocompletes and IDE refactoring tools. Integrated unit testing helps your application be more maintainable. Built in deployment tools, web servers, code analysis, and compile time bundling streamlines the workflow. It also standardizes the developer experience which benefits both the programmer and the business.

He mentions the original post that got him thinking about the topic. It talks about the reliance one developer feels like they now have on their IDE. They feel that it's "made them lazy" in their development practices. The article isn't specifically focused around PHP as there are IDEs for other languages that do a lot more for work for you. There are some in the PHP world, like PHPStorm that do rank up there as far as automated features, though.

0 comments voice your opinion now!
dependency ide development opinion programmer quality

Link: http://www.itworld.com/development/406451/does-relying-ide-development-make-you-bad-programmer


Community Events





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


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

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