News Feed
Sections




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

That Podcast:
Episode 11 The one that Dave thought was kinda wishy washy
November 28, 2014 @ 10:59:43

That Podcast has released their latest episode today - Episode #11, "The one that Dave thought was kinda wishy washy" with PHP community hosts Beau Simensen and Dave Marshall.

Beau and Dave have officially crossed beyond the 10 episode milestone but were forced to keep things short because of various scheduling conflicts. Oddly enough, the actual topic of the episode was supposed to be along the lines of "making the time for projects and things" so that should make for a fun episode 12. That will be so meta. This time, though, they discuss what it looks like for podcast co-hosts to not always get along, colour blindness, recent and upcoming PHP conferences, PHP-FIG, recent happenings at work, and more fun encryption stuff. For those of you who like them to keep it short, this one is for you!

Other topics mentioned in this latest episode include:

You can listen to this new episode either through the in-page player or by downloading the mp3 of the show. If you enjoy it, be sure to subscribe to their feed for more great shows as they're released.

0 comments voice your opinion now!
thatpodcast, ep11, conversation, beausimensen, davemarshall

Link: http://thatpodcast.io/episodes/episode-11-the-one-that-dave-thought-was-kinda-wishy-washy

Kevin Dunglas:
PHP 7 Introducing a domain name validator and making the URL validator stricter
November 28, 2014 @ 09:45:19

In his latest post Kevin Dunglas has released information about a patch for URL filtering that aims to bring more validation and functionality to the pre-existing filter_var functionality.

Until now, there was no PHP's filter validating that a given a string is a valid domain name (or hostname). Worst, FILTER_VALIDATE_URL was not fully enforcing domain name validity (this is mandatory for schemes such as http and https) and was allowing invalid URLs. FILTER_VALIDATE_URL was also lacking IPv6 host support.

His patch introduces support for domain validation rules more strict to what the RFC defines and includes IPv6 support. There's a few code examples included in the post showing the new support. He points out that there's still some things that aren't supported yet, like internationalized domains, but there's future plans for it.

0 comments voice your opinion now!
php7, filtervar, filter, url, domain, patch, support

Link: http://dunglas.fr/2014/11/php-7-introducing-a-domain-name-validator-and-making-the-url-validator-stricter/

Community News:
Packagist Latest Releases for 11.28.2014
November 28, 2014 @ 08:01:23

Recent releases from the Packagist:


Community News:
Packagist Latest Releases for 11.27.2014
November 27, 2014 @ 08:09:20

Recent releases from the Packagist:
0 comments voice your opinion now!




NetTuts.com:
Laravel, BDD and You The First Feature
November 26, 2014 @ 12:19:37

NetTuts.com has posted the second part of their "Laravel, BDD and You" series (part one is here) building on their introduction in part one and building a first feature (what BDD tools call their tests).

In the second part of this series called Laravel, BDD and You, we will start describing and building our first feature using Behat and PhpSpec. In the last article we got everything set up and saw how easily we can interact with Laravel in our Behat scenarios. [...] In short, we are going to use the same .feature to design both our core domain and our user interface. I have often felt that I had a lot of duplication in my features in my acceptance/functional and integration suites. When I read everzet's suggestion about using the same feature for multiple contexts, it all clicked for me and I believe it is the way to go.

He starts in with the creation of the first feature - a simple "welcome" test that evaluates the main Laravel start page. He uses this example to set up a Laravel trait that can be reused in other parts of the testing and how to use it in a Feature Context file. He then starts to create the tests for the sample time tracking application started in part one. He gives an example of the feature file's contents, the result from its execution and the "small refactors" that it will suggest to add functionality to the feature file. With this skeleton in place, he then fleshes out the test to make it actually work with the requests. He walks through each function and provides the code needed for both the test and other tools/objects they need.

0 comments voice your opinion now!
laravel tutorial bdd feature series part2 testing behat phpspec

Link: http://code.tutsplus.com/tutorials/laravel-bdd-and-you-the-first-feature--cms-22486

SitePoint WordPress Blog:
WordPress.org's Most Popular Plugins for 2014
November 26, 2014 @ 11:58:04

On the SitePoint WordPress blog they've made an official list of the most popular plugins for 2014 according to WordPress.org's own "Most Popular" list. They provide links to the plugins, descriptions of what they do and the current number of downloads (at the time of the post).

You might have noticed that WordPress.org lists the most popular plugins in the right sidebar in the plugins directory. As we're nearing the end of 2014, I thought it would be interesting to not only provide a quick explanation of each of these plugins, but to also explore some of the other popular alternatives. Just because a plugin is listed in the most popular list, doesn't always mean it's the best fit for your project. [...] It's not a definitive list, only based on my experiences. Hopefully you'll come across a few new plugins that you might not yet have heard of!

Plugins in their list include both some familiar names and some newcomers to the top of the pack:

As mentioned, each comes with a brief description of what they do, a link to their page on the plugin site as well as links to a few other alternatives if it's not the perfect fit.

0 comments voice your opinion now!
wordpress, popular, plugin, top12, list, summary, alternatives

Link: http://www.sitepoint.com/wordpress-orgs-most-popular-plugins-for-2014/

php[architect]:
Build a VM for Drupal 8 with Vagrant
November 26, 2014 @ 10:22:22

A new tutorial has been posted on the php[architect] site today showing you how to build a VM for Drupal 8 with the help of Vagrant.

At this year's php[world] hackathon, I spent my time getting a Vagrant machine configured to run Drupal 8. I know there are other options, like Acquia's own Dev Desktop, or even Zend Server. However, I like using Vagrant to run my LAMP stacks, especially on OS X. I've never been able to easily run xAMP on non-Linux machines. Installing MySQL can be a pain, system updates can change the version of PHP you're running, and some PHP extensions are really difficult to build-even with Homebrew. Vagrant simplifies getting a working development environment running by automating the provision of a virtual machine for you, usually with a tool like Chef, Puppet, or Ansible.

Oscar (the author) took advantage of some time at the php[world] hackathon to create the necessary files for building this environment. He walks you through the steps to creating the basic vagrant file with "config" options (explaining each one) and walks through the setup of additional options, software like Apache and Drupal. He then sets up the Ansible configuration to create the box, run the provisioning and configuration of the resulting server. Finally, he shows the result of the install if everything was successful.

0 comments voice your opinion now!
drupal8 vagrant vm virtualmachine tutorial introduction configuration provision

Link: http://www.phparch.com/2014/11/build-a-vm-for-drupal-8-with-vagrant/

SitePoint PHP Blog:
Building an Internationalized Blog with FigDice
November 26, 2014 @ 09:55:44

On the SitePoint PHP blog they've posted the second part of the series looking at using the FigDice for the templates in your application. In this new post they expand on the basics presented in part one and look at internationalization.

In part one of this two-part series I started looking at FigDice, a PHP templating system that takes a slightly different approach to most. [...] In this second and final part we're going to add a simple blog to our example site, which allows us to look in more detail at Figdice's concept of data feeds. We'll also look at internationalization, translating some of the site's content into a couple of additional languages.

In this part of the series (part two of two) they create a simple blog application based on their "Feed" class from before, faking some basic content. He then creates the factory class the FigDice templating will fetch the data from and makes a view to use it. He also talks about the optional functionality to add additional data to the feed output as attributes on the element. Finally he shows how to work all of this back into the HTTP framework under a "blog/post" URL.

0 comments voice your opinion now!
internationalization figdice template library tutorial series part2

Link: http://www.sitepoint.com/building-internationalized-blog-figdice/


Community Events





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


language mvc framework community update library voicesoftheelephpant version release opinion package laravel series composer tool introduction interview symfony podcast security

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