• 757-551-6373
Welcome to our Blog

The FreelancePost

Read our Blog

Pascal Martin: June 2014 on internals@php

Pascal Martin has posted a summary of the PHP internals mailing list discussions for the month of June.

June 2014 came back down to a reasonable 493 messages on PHP’s internals@ mailing-list, after a month of May with more than 800 mails, including some long discussions about phpng.

He goes over several other topics discussed last month including:

  • the upcoming PHP 5.6 release
  • the end of life on PHP 5.3
  • a discussion around “pickle” (an alternative extension installer)
  • the “bare name array” RFC
  • the serialization break (that was later rectified)

…and many more. Check out the full summary for more discussions and links to several of the topics and resources involved.

Link: http://blog.pascal-martin.fr/post/php-mailing-list-internals-june-2014-en

Loosely Coupled Podcast: Episode 6: PHPTownHall Mashup

The Loosely Coupled podcast has released their version of their collaboration show with the PHP Town Hall podcast in Episode #6, “PHPTownHall Mashup”.

In this episode, Matt and Jeff join forces with PHPTownHall to talk about Open Source, burn out and briefly discuss their favorite open source projects. Jeff had a spell of bad luck with the wifi at the AirBnB he stayed at in San Franciso, so you may not get as much of him as you’d like. If you’ve not checked out PHPTownHall, you can do so here PHPTownHall.

You can listen to this latest episode either through the in-page player or by downloading the mp3. If you like what you hear, be sure to subscribe to their feed or follow them on Twitter for the latest show information.

Link: http://looselycoupled.info/blog/2014/06/30/episode-6-phptownhall-mashup/

Community News: Packagist Latest Releases for 07.01.2014

Recent releases from the Packagist:

Community News: Latest PECL Releases for 07.01.2014

Latest PECL Releases:

  • solr 2.0.0
    – Introduced SolrServerException which handles exception responses produced by Solr Server [Feature #67063]
    – SolrClient::commit $maxSegments removed
    – Removed php curl extension dependency for static builds [Bug #59028]
    – SolrParams/SolrModifiableParams/SolrQuery throws SolrIllegalArguments Exception instead of E_ERROR [Feature #66858]
    – SolrQuery::__construct throws SolrIllegalArgumentException instead of E_ERROR
    – Dropped Support for phpnative Response Writer
    – Fix config involving –enable-solr-debug always enables SOLR_DEBUG [Bug #60361]

Contact Form 7 Plugin Install

This is a video tutorial teaching how to install and configure contact form 7 for WordPress. You will also need Really Simp…

Need help? Contact us today at 1-855-711-1SEO(736)

Wojciech Sznapka: Type Hinting is important

In his latest post Wojciech Sznapka reminds us that type hinting is important in your PHP applications and can help provide more structure and better overall code practices.

One of my favorite PHP interview questions, is: what is Type Hinting and why it’s important? Putting definition in one sentence, Type Hinting is a way to define type of parameter in function signature and it’s a sine qua non to leverage polymorphism. […] So given the fact, that Type Hinting is optional and we don’t need to specify types of parameters passed to the method – why bother? Answer is easy: well prepared method signatures defines your model and are part of the “contract” that your code reveals to its consumers. It also prevents many silly errors and keeps codebase clean and coherent.

He talks about the best practices on using type hinting including where to put them (in an interface or base class or child class?) and some of the pros and cons of each. He also points out that some practices around type hinting, like overriding the hint and calling the method with unexpected/variable input, should be avoided (see the L in SOLID).

Link: http://blog.sznapka.pl/type-hinting-is-important

Community News: Packagist Latest Releases for 06.12.2014

Recent releases from the Packagist:

SitePoint PHP Blog: How to Create a Laravel CSS-Minify Command

The SitePoint PHP blog has a new post today from Tounes Rafie showing you how, in a Laravel framework based application, to create a minify command with the framework’s “artisan” command.

In this article you’ll learn how to use Laravel’s Artisan command line tool, and how to create a customized command. Note that you need to be familiar with the Laravel framework to get the most of this article. In this tutorial we’re going to build a command to minify our css assets.

He starts with a (very) brief look at what Laravel commands are and the options this articular one will include. Next up is the code you’ll need to create the command, making use of Laravel’s integration of the Symfony Console component. He shows how to register the command with the rest of the application and how to work with the options/arguments for the input. From there he shows how to run the command and how to make some other improvements including colorized output and more information on execution.

Link: http://www.sitepoint.com/create-laravel-css-minify-command

Creative Solutions for Extraordinary Clients