PHPDeveloper.org

Syndiquer le contenu
Up-to-the Minute PHP News, views and community
Updated: 16 hours 36 min ago

PHPClasses.org: Lately in PHP, Episode 36 - PHP 5.5 Release Date Imminent

Mon, 17/06/2013 - 16:30

On the PHPClasses.org site Manuel Lemos has posted the latest episode of the "Lately in PHP" podcast series. This episode, number 36, talks about the upcoming release of PHP 5.5 and looks forward to 5.6.

The PHP 5.5.0 final release is about to happen. After about 16 months of development PHP 5.5 is bringing even more maturity to the PHP language, which by Google numbers is present in 75% of the Web sites. [...] hey also discussed some new features proposed for PHP 5.6 like incremental decoding of large JSON data streams and overloading arithmetic operators for arbitrary precision math. They also debated the meaning of Google finally adding support to PHP in their cloud hosting platform Google AppEngine. Also in this episode it was discussed an article about good practices to quickly detect and fix PHP code bugs that only show up in production environments.

You can listen to this latest episode either through the in-page player, by downloading it directly or you can watch the video of the live recording on YouTube.

Link: http://www.phpclasses.org/blog/post/209-PHP-55-Release-Date-Imminent--Lately-in-PHP-podcast-episode-36.html

Community News: Packagist Latest Releases for 06.17.2013

Mon, 17/06/2013 - 15:00
Recent releases from the Packagist:

Community News: Latest PEAR Releases for 06.17.2013

Mon, 17/06/2013 - 14:03
Latest PEAR Releases:

Community News: Packagist Latest Releases for 06.16.2013

Sun, 16/06/2013 - 15:01
Recent releases from the Packagist:

Community News: Packagist Latest Releases for 06.15.2013

Sat, 15/06/2013 - 15:09
Recent releases from the Packagist:

Reddit.com: Where do people put good PHP job ads now?

Fri, 14/06/2013 - 18:08

On Reddit.com there's a post sharing some opinions on where to look for PHP jobs and find "the good ones" out of the sea of positions.

I don't want to make this a "hire me" post, because that would and should get downvoted, but where would a person go to find interesting PHP related job ads in 2013? Some of the older big job sites like Monster and Dice are a barren wasteland of boring recruiters hiring for defense contractors, health insurance companies and low end agencies. Github has a small but decent section. Stack Overflow has some decent ones. Hacker news has a monthly thread, but a strong anti-PHP hipster bias. Reddit, at least from search has so few that I find 2 year old ones.

The responses range from links to specific companies looking for people out to some more general resources like LinkedIn, Craigslist, and yes, even recruiters (just be sure to pick a good one).

Link: http://www.reddit.com/r/PHP/comments/1g59kb/where_do_people_put_good_php_job_ads_now

Project: Web Application Security Quiz

Fri, 14/06/2013 - 17:54

If you're looking to test out your application security knowledge, you might want to give Timo's Web Application Security Quiz a try:

Web Application Security Quiz tests your knowledge on the common security principles and quirks related to web application development. There are 15 questions. A correct answer adds one point. An incorrect answer subtracts one point. If you don't know the right answer, you can skip the question (no points are added or subtracted).

It's a pretty good overview of some of the concepts you'd find in most application security policies and includes the answers if you're interested in some of the reasoning behind them.

Link: http://timoh6.github.io/WebAppSecQuiz/index.html

Samantha Quinones: Why you should consider Continuous Integration

Fri, 14/06/2013 - 16:39

Samantha Quinones has a recent post to her blog about why you should consider continuous integration for your projects - some of the benefits and decisions that come along with it.

Last night at DCPHP, I gave a short "lightning" talk on Continuous Integration and Deployment in the context of PHP applications. I really like the lightning talk format as it forces you to focus on the meat of your topic- there's no time to get distracted by details. As great as that is, though, I wanted to expand a little on the subject and touch on some of the details that I couldn't include in my presentation.

She starts off by talking about what's wrong with a lot of the more traditional build and development practices, noting that "it sucks" because of the processes involved. With the help of continuous integration, some of the process can be automated and make for less human-related errors during a deployment. She talks about some of the things you'll need to do to prepare your codebase and a few things to think about your future setup like:

  • what does a successful build look like?
  • how much code needs to be covered by tests to deploy?
  • should a build be successful if standards are broken or issues found?
Link: http://www.tembies.com/2013/06/continuous-integration-deployment-with-php

Community News: Packagist Latest Releases for 06.14.2013

Fri, 14/06/2013 - 15:09
Recent releases from the Packagist:

Nomad PHP: June 2013 - Phil Sturgeon, "Laravel 4: Yet Another Framework- but different"

Thu, 13/06/2013 - 19:35

For those out there that don 't have a local PHP user group, you should check out the Nomad PHP virtual user group. It meets once a month online and this month's topic is an introduction to Laravel 4 (from Phil Sturgeon). It'll be happening at 8pm CDT on the 27th.

An introduction into Laravel 4, the Yet Another Framework that does things a little differently. See how it leverages Symfony components for its core along with multiple other Composer components instead of building everything from scratch. Learn how despite the complex Symfony underbelly Laravel 4 still gives a slick API to ease the learning curve of the framework to more of an accessibility ramp. After this run through of Laravel 4 you'll be psyched to trial it out, no matter what your usual "go to framework" is.

If you'd like to attend, tickets for the meetin g(to help cover the costs of the virtual meeting tools) will only run you $10 USD. If you're interested, check out this month's meeting page for more details.

Link: http://nomadphp.com/2013/05/05/june-2013-phil-sturgeon-laravel-4-yet-another-framework-but-different/

Codeception.com: Getting on Testing Ship

Thu, 13/06/2013 - 18:06

On the Codeception blog there's a new post that advocates getting on the testing ship even if the project you're currently on isn't using tests (or TDD).

In this blogpost we will try to figure out how to get faster into the testing. What tests to write at first? Let's say we already have a project and we didn't practice TDD/BDD developing it. Should we ignore testing at all? Definitely no. So where should we start then?

They suggest a three-tiered pyramid approach - UI at the top, Integration testing in the middle and Unit testing as the foundation. They talk about the times when testing doesn't make sense, like when your application is based on a third-party tool (like WordPress or Drupal). They recommend starting with functional testing and working your way back down, especially if your framework supports it. Obviously they encourage the use of Codeception for it, but also recommend even something like Selenium tests if nothing else.

Link: http://codeception.com/06-12-2013/getting-on-testing-ship.html

Lorna Mitchell: Are Subqueries RESTful?

Thu, 13/06/2013 - 17:41

In this new post to her site Lorna Mitchell tries to help answer a question she got on Twitter about "subqueries" in REST API calls. In this case, a subquery is requesting just a subset of the data from a resource.

REST is all about representations of resources. They might come in different formats, and they might appear at their own URI as well as in one or more collections, but essentially you just get a representation of a thing. This is great, apart from when it isn't. [...] There are a couple of tactics that I deploy each time I need to solve one of these problems, but they all revolve around remodelling the resource structure. Just as we sometimes move fields around for database design or normalisation, we can do exactly the same with a RESTful service to make the resulting output make more sense to consumers.

She talks about one method that lets the consumer change the "verbosity" of the response and another that splits these pieces out into separate sub-resources for each section. She suggests a third option as well, the nesting of likely data - that is related data the user might most likely want along with what they requested.

Link: http://www.lornajane.net/posts/2013/are-subqueries-restful

Symfony Blog: Save the date for SymfonyCon Warsaw 2013!

Thu, 13/06/2013 - 16:53

The Symfony blog has a reminder for those in the Warsaw, Poland area - save the dates of December 10th through the 14th for this year's SymfonyCon Warsaw.

We're very happy to announce the first SymfonyCon! It will take place in Warsaw, Poland, from December 10th to 14th. Get ready for this upcoming conference! But okay, the SymfonyCon is probably confusing you all, so it's time for a little recap of all the conferences we're organizing all over the world. Thus, starting from this year, the Symfony Live conferences will be now local events, which means that they will be organized for the Symfony Community of the host country. [...] nd here comes the SymfonyCon, which will be an international conference. [...] he first one we're organizing will be held in Europe, and we've chosen Warsaw to organize it!

The conference will be at the Westin hotel with two workshop days and, two days of conference sessions followed by a day of hacking/certification exams. If you want to submit, the Call for Papers is now open until July 31st or you can pick up your early bird tickets for just 199 Euro.

Link: http://symfony.com/blog/save-the-date-for-symfonycon-warsaw-2013

Community News: Packagist Latest Releases for 06.13.2013

Thu, 13/06/2013 - 15:01
Recent releases from the Packagist:

DZone.com: PHP Performance Crash Course, Part 1: The Basics

Wed, 12/06/2013 - 21:56

In a recent post to DZone.com Dustin Whittle talks about performance in PHP applications and gives you a crash course on some of the basics around it (this is part one of a series).

We all know performance is important, but performance tuning is too often an afterthought. As a result, taking on a performance tuning project for a slow application can be pretty intimidating - where do you even begin? In this series I'll tell you about the strategies and technologies that (in my experience) have been the most successful in improving PHP performance. To start off, however, we'll talk about some of the easy wins in PHP performance tuning. These are the things you can do that'll get you the most performance bang for your buck, and you should be sure you've checked off all of them before you take on any of the more complex stuff.

He talks some about why performance matters and some of the more common practices to introduce immediate performance improvements into your application. His list includes things like: update PHP, use an opcode cache, use autoloading and session optimization. He also talks about using processing queues for blocking work and learning how to use code profiling tools to find the pain points.

Link: http://java.dzone.com/articles/php-performance-crash-course

Symfony Blog: Upgrading your Symfony Projects the easy Way

Wed, 12/06/2013 - 17:57

On the Symfony blog today there's a new post from Fabien Potencier talking about the upgrade path to keep your Symfony projects up to date. He points out that in the pre-Composer days it was more difficult, but thanks to this handy tool, it's a much easier task.

In the old Symfony 2.0.x days, at a time when Composer did not exist, upgrading a project from one minor version of Symfony to the next one was not that easy. [...] Fast forward to the Composer world. Composer is used by Symfony since version 2.1, but as we were the very first adopter, and because Composer and the Symfony ecosystem were not stable yet, it was still awkward. [...] Fast forward to Symfony 2.3. As of Symfony 2.3, the minimum stability level has been raised to stable.

This stability means that all of the libraries and tools that Symfony 2.3 depends on are in their "stable" state as well. Included in the post are the commands to update your Symfony install and what it looks like when the update from 2.3.0 to 2.3.1 happens. He finishes off the post with a few recommendations about how to use Composer to keep things stable (use "stable", define version constraints and run the update without fear of breakage).

Link: http://symfony.com/blog/upgrading-your-symfony-projects-the-easy-way

Inviqa techPortal: Dutch PHP Conference 2013

Wed, 12/06/2013 - 16:42

On the Inviqua techPortal today they've posted a wrapup of this year's Dutch PHP Conference that just finished up in Amsterdam. Rowan Merewood shares some of his thoughts and experiences at the event.

Amsterdam is most definitely one of those cities that everyone should visit at least once in their life and I can highly recommend the Dutch PHP Conference (DPC) as a reason to make that visit. This is also the second year that DPC has been joined by the Dutch Mobile Conference, a ticket to one gives you access to the other. This leads to a great mix of developers from different disciplines and generally means that regardless of your particular skill-set, there will be a talk running whose subject is completely new to you.

He walks through the (non-tutorial) days of the conference mentioning a few of the sessions (covering things like domain models, Lisp and hypermedia in APIs). He talks some about the keynotes - Google's Ade Oshineye on "A Web of Identity", Eamon Leonard's "Growth Hacking for Humans." and Kevlin Henney's "Worse is Better, for Better or for Worse" He also gave a talk himself about sorting and searching algorithms

Link: http://techportal.inviqa.com/2013/06/12/dpc13

Community News: Packagist Latest Releases for 06.12.2013

Wed, 12/06/2013 - 15:08
Recent releases from the Packagist: