News Feed
Sections




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

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/

SitePoint WordPress Blog:
The WordPress Plugin Boilerplate Part 2 Developing a Plugin
June 30, 2015 @ 10:07:50

The SitePoint WordPress blog has posted the second part of their series covering the creation of a WordPress plugin with the help of the WordPress Plugin Boilerplate. In this latest article they build on the first part of the series and start in on the actual plugin development.

In the first part of my series, an introduction to the WordPress Plugin Boilerplate, we looked at how the code is organised within the Boilerplate. To continue with this series, we'll apply what we've learnt previously to build a real working plugin. We are going to take a look at how quickly we can get our plugin up and running using the Boilerplate code, with as little work as possible. This article will focus on creating and activating the plugin, as well as developing the admin facing functionality of the plugin.

They show you how to create a simple "time since posted" plugin with a few customizations available. They show how to use the Boilerplate generator to set up the basic plugin file structure and installing it on your WordPress application. From there they show you how to create a simple "Settings" page for the plugin and making it work via the functionality Boilerplate offers. The post then shows how to register the plugin, populate the options page and saving the changes the user makes.

0 comments voice your opinion now!
wordpress boilerplate plugin generator tutorial development lastposted

Link: http://www.sitepoint.com/wordpress-plugin-boilerplate-part-2-developing-a-plugin/

PHPClasses.org:
Book Review - Modernizing Legacy Applications In PHP
June 30, 2015 @ 09:39:59

The PHPClasses.org site has posted a book review of Paul Jones' "Modernizing Legacy Applications" ebook today covering some of the content in the book and the reviewers own personal opinions on what was good and what could use improvement.

The current technologies we have today and the numerous improvements to the PHP programming language, makes our legacy applications operate "below today's standards". They need to be improved or rewritten, but who would want to rewrite an application of many thousands or millions of lines of code?

That's why you should read this book, 'Modernizing Legacy Applications in PHP' by Paul M. Jones. It explains the nitty-gritty of how PHP applications were built over a decade ago and why they are now called legacy applications. He explains why your legacy applications are not meant to be rewritten, but optimized and improved to support today's standards.

The reviewer goes through each chapter of the book, giving an overview of each including topics discussed and a few of the handy tips. Overall he recommends the book not only to those experienced in the industry but also those new to developing in PHP, helping to prevent bad behaviors before they start.

0 comments voice your opinion now!
bookreview phpclasses modernizing application pauljones

Link: http://www.phpclasses.org/reviews/id/mlaphp.html

Voices of the ElePHPant:
Interview with Sammy K. Powers
June 30, 2015 @ 08:50:28

The Voices of the ElePHPant podcast, hosted by Cal Evans has posted their latest episode featuring yet another interview with a member of the PHP community. In this latest episode Cal talks with Sammy Powers.

Cal and Sammy talk about his PHP Roundtable podcast and why he (Sammy) started it up. Cal also asks Sammy his opinion of the PHP community as he's a relatively new addition to conferences and the wider community as a whole.

You can listen to this latest episode either through the in-page player or by downloading the mp3. You can also subscribe to their feed to get the latest episodes as they're released. Also be sure to check out the PHP Roundtable podcast!

0 comments voice your opinion now!
voicesoftheelephpant community interview sammykpowers podcast

Link: https://voicesoftheelephpant.com/2015/06/30/interview-with-sammy-k-powers/

Community News:
Latest PECL Releases for 06.30.2015
June 30, 2015 @ 07:05:43

Latest PECL Releases:
  • SeasLog 1.2.0 - Fixed SeasLog::analyzerDetail() function compatible with MAC - Fixed memory leak - Support windows

  • hprose 1.5.5 Use zend_ce_throwable introduce in 7.0.0alpha2.

  • rrd 2.0.0beta3 - better default time parameter handling for RRDUpdater:update - zend_string in zend_parse_parameter if possible - 'p' for paths in zend_parse_parameter (remi) - zend_object must be the last member of the own object struct - uggh - (remi) - PHP_FE_END instead of 3 times NULL in zend_function_entry - uggh - (remi) - zend_object_properties_size() usage (remi) - size_t for string parameters length (remi) - huge thanks to remi :)

0 comments voice your opinion now!




Community Events

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


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

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