News Feed
Sections




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

Symfony Blog:
Symfony 2.3 achieves 100% HHVM compatibility
July 02, 2015 @ 10:53:11

On the Symfony blog they've posted an announcement that they've achieved 100% compatibility with HHVM, the virtual machine/engine created by Facebook, in version 2.3 of the framework.

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance for PHP applications. During these last past months, HHVM and the upcoming PHP 7 version have engaged in an epic battle to become the fastest PHP engine. At Symfony we are thrilled because this fierce competition will ultimately benefit all of us.

The post shows some of the commits that were made towards the effort including the first from Joseph Bielawski and the final push from Nicolas Grekas in pull request 15,146 correcting issues in the Debug, DependencyInjection, Filesystem, Form, HttpFoundation, Process and Routing components.

0 comments voice your opinion now!
symfony hhvm compatibility onehundredpercent achievement

Link: http://symfony.com/blog/symfony-2-3-achieves-100-hhvm-compatibility

SitePoint PHP Blog:
Crawling and Searching Entire Domains with Diffbot
July 02, 2015 @ 09:41:39

The SitePoint PHP blog has a new tutorial posted, the first part in a new series, showing you how to create a "powerful custom search engine" with the help of the Diffbot service. In this first part they help you get everything you need set up (including a VM to run it from).

In this tutorial, I'll show you how to build a custom SitePoint search engine that far outdoes anything WordPress could ever put out. We'll be using Diffbot as a service to extract structured data from SitePoint automatically, and this matching API client to do both the searching and crawling. I'll also be using my trusty Homestead Improved environment for a clean project, so I can experiment in a VM that's dedicated to this project and this project alone.

He walks you through each step of the process, first creating the "crawljob" script and then executing it to gather the results. He also shows how to show this information via a simple GUI when searches are performed. A Diffbot PHP client library makes creating the crawljob simpler and lets you configure things like max number of items to crawl, patterns to match and what URLs to follow on the pages. Running the script creates the job which is then executed immediately. The same library makes search the data simpler too, using a "search" method along with some special tagging, and returning a JSON result with the matching records.

0 comments voice your opinion now!
crawl domain diffbot search engine part1 series tutorial

Link: http://www.sitepoint.com/crawling-searching-entire-domains-diffbot/

PHP Roundtable:
023 PHP's Major "Bus Factor" Problem
July 02, 2015 @ 08:27:16

The PHP Roundtable podcast has posted their latest episode - #23: PHP's Major "Bus Factor" Problem, hosted by Sammy Powers with guests from the PHP community: Samantha Quiñones, Davey Shafik, Chris Tankersly and Michelangelo van Dam.

Inspired by a lively Open Spaces session at php|tek 2015, we discuss how PHP's ecosystem could be threatened by a not-so-obvious bus factor and what we can all do to keep things thriving.

You can catch this latest episode either through the in-page video player or directly on YouTube. If you enjoy the show, be sure to subscribe to their feed too!

0 comments voice your opinion now!
phproundtable podcast video ep23 busfactor language problem

Link: https://www.phproundtable.com/episode/how-the-bus-factor-may-negatively-impact-the-php-ecosystem


Community News:
Announcing php[cruise]… (Save the Date)
July 01, 2015 @ 11:23:07

php[architect], organizers for both the php[tek] and php[world] conferences has officially announced their latest event - php[cruise].

Well we've already actually announced it at php[tek] 2015, but it's time to start sharing some information about it. Yes, we are going to revive php[cruise], and once again host a conference-cruise for the PHP community. This 7 day cruise will take place from July 17-23, 2016 and leave from the port of Baltimore.

We still have lots of details to work out - but wanted to make sure that everyone was aware of this early! We will be working on making this a family friendly experience. Daycare/kids activities are included in the cost and we are even looking at scheduling some 'teach kids to code' type events.

As mentioned, this new event will be happening in July of 2016 with a tour around the Baltimore, Maryland area for a full seven days. There's currently not a site up for the event, this is just a preliminary announcement for those that didn't hear from the closing remarks at php[tek] this year.

0 comments voice your opinion now!
phpcruise16 conference cruise baltimore maryland

Link: https://www.phparch.com/2015/06/announcing-phpcruise-save-the-date/

Cees-Jan Kiewiet:
Test lowest, current, and highest possible on Travis
July 01, 2015 @ 10:57:50

In a new post to his site Cees-Jan Kiewiet talking about "highest" and "lowest" versions of Composer-installed libraries and testing them in Travis-CI builds.

During DPC I've had a talk with Rafael about making sure you test all your possible versions, lowest, current, and highest. The talk was ignited by the infamous composer.lock file (whether to commit it or not).

He goes on to show how you can set up a multiple-version build with the help of the "dependencies" environment variable in your ".travis.yml" configuration file. These are then used in "before_script" commands that tell the Composer install which versions to load. He includes a screenshot of the resulting build and ends with a reminder from Jordi Boggiano (lead developer of Composer) about the resources a build like this takes up and not to do it very often.

0 comments voice your opinion now!
lowest highest library version composer install travisci build

Link: http://blog.wyrihaximus.net/2015/06/test-lowest-current-and-highest-possible-on-travis/

Paul Jones:
Modernizing Serialized PHP Objects with class_alias()
July 01, 2015 @ 09:57:50

Paul Jones has posted an article to his site with another helpful hint to modernize your legacy PHP application. In the post he looks at updating serialized object handling with the help of the class_alias function.

Several weeks ago, a correspondent presented a legacy situation that I've never had to deal with. He was working his way through Modernizing Legacy Applications in PHP, and realized the codebase was storing serialized PHP objects in a database. He couldn't refactor the class names without seriously breaking the application. [...] Before I was able to reply, my correspondent ended up changing the serialization strategy to use JSON, which was a rather large change. It ended up well, but it turns out there is a less intrusive solution: class_alias().

He talks about how this function could be useful to prevent the need for updating the class name in every serialized instance by setting up an alias to the new name. You can even use namespacing in the alias that will let the autoloader work with the PSR-0/PSR-4 handling to correctly load the class. With this in place, you can then refactor to the new version of the class without worry of breakage.

0 comments voice your opinion now!
modernize serialized object classalias namespace psr0 psr4

Link: http://paul-m-jones.com/archives/6158

Community News:
Dutch PHP Conference Video - 42 Tips & Tricks for PHPStorm
July 01, 2015 @ 08:40:25

The Laravel News site has linked to a presentation from Mikhail Vink at the recent Dutch PHP Conference in Amsterdam. The video they've linked to was a presentation he gave showing 42 Tips & Tricks for PHPStorm, a popular PHP IDE.

With the PhpStorm IDE buzzing in modern PHP community, there are always many neat things to learn for better synergy with your every-day tool for web development. This session will give you an insight on 42 powerful tips and tricks that will make you more productive and efficient. From lightning-smart navigation to debugging and testing hidden tricks, from making UI of the IDE even more suitable for presentations to some handy tools integrations - all of those tips will find a good use in your development workflow.

You can watch the video of the full presentation over on YouTube. The video is a full-on screencast so you get to see every move he makes including special keystrokes, general IDE functionality, settings changes and built in tools like a REST client and integration with other external tools.

0 comments voice your opinion now!
dpc15 conference video mikhailvink phpstorm tips tricks

Link: https://youtu.be/J9emzl_VmIs

Community News:
Recent posts from PHP Quickfix
July 01, 2015 @ 07:05:09

Recent posts from the PHP Quickfix site:
0 comments voice your opinion now!



Cees-Jan Kiewiet:
AWS PHP SDK Asynchronously
June 30, 2015 @ 11:31:15

Cees-Jan Kiewiet has a new post today talking about some interesting trickery he was able to do with the AWS (Amazon Web Services) PHP SDK to allow requests to be made asynchronously.

Just got off the AWS SDK for PHP Office Hour hangout and it was great talking with both team members Jeremy and Michael. And one of the things we talked about was async access to the AWS services using the PHP SDK. The goal of this post is to get the AWS PHP SDK client working asynchronously.

He starts with brief instructions on getting the SDK installed (via Composer) along with a library of his own that brings in a few other dependencies. The ReactPHP event loop is what makes the asynchronous connections possible. He includes the code to create the new handler stack and how to use it to make the asynchronous calls. A demo screencast is also included in the post to illustrate the output from a simple set of requests.

0 comments voice your opinion now!
aws amazon sdk asynchronous connection reactphp event loop tutorial

Link: http://blog.wyrihaximus.net/2015/06/aws-php-sdk-asynchronously/


Community Events

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


list podcast project community programming application introduction framework yii2 api part2 php7 example composer symfony language series interview opinion laravel

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