News Feed
Sections




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

Matthew Weier O'Phinney:
Deployment with Zend Server (Part 2 of 8)
August 29, 2014 @ 11:55:04

Matthew Weier O'Phinney has posted the second part of his series with some tips around application deployment with Zend Server. In this latest post he shares his second tip related to recurring jobs.

This is the second in a series of eight posts detailing tips on deploying to Zend Server.The previous post in the series detailed getting started with zf-deploy to create ZPK packages to deploy to Zend Server. Today, I'm looking at how to created scheduled/recurring jobs using Zend Server's Job Queue; think of this as application-level cronjobs.

Instead of running the jobs as cron tasks (which may or may not be installed if there's multiple servers), he opts for a software-based approach. He walks you through the use of the Zend Server Job Queue to create a simple reoccurring execution to run a PHP script at a certain time. He includes some code examples with one showing just the scheduling of a job and the other showing how to detach previous jobs and add only the new ones that weren't scheduled before.

0 comments voice your opinion now!
deployment zendserver tip series part2 cron reoccurring jobs

Link: http://mwop.net/blog/2014-08-28-zend-server-deployment-part-2.html

Community News:
Confoo Conference Call for Papers Opens
August 29, 2014 @ 10:32:25

The Confoo conference has officially announced the opening of their Call for Papers for their 2015 event (happening in mid-February). The conference is multi-disciplinary and covers a wide range of topics including: .NET, PHP, Databases, Mobile, UX and Security.

We are looking for the best speakers, willing to share their experience and their skills with developers and managers. [...] You may present in English or in French. If you can present in either language, simply add a note when submitting. Presentations are 35 minutes + 10 minutes for questions.

The call for papers will only be open until September 2nd (less than a month) so be sure to submit early and submit often. It's recommended that you submit more than one session too. You can find out more about the conference - or just pick up tickets of your own - on the main conference website.

0 comments voice your opinion now!
confoo15 conference callforpapers cfp open

Link: http://confoo.ca/en/call-for-papers

Lorna Mitchell:
Compiling PHP Extensions
August 29, 2014 @ 09:28:42

Lorna Mitchell has posted a quick guide to compiling PECL extensions to her site today. This is for those users on unix-based systems that might need to manually compile with some custom options (or may be working on your own extension and may just need to test it).

There are lots of reasons why you might like to compile your own PHP extensions. [...] I haven't seen a really approachable guide anywhere, we tend to speak of extensions in hushed tones, and actually it isn't particularly tricky so here is my quick how-to guide.

The process is relatively simple for those familiar with the command line and the steps involved in compiling software. There's some special PHP-only steps you'll have to take before compiling the code to make sure it's ready to be a PHP extension. Then it's up to the usual configure+make_make install to ensure the .so file is correctly generated.

0 comments voice your opinion now!
compile extension tutorial phpize module

Link: http://www.lornajane.net/posts/2014/compiling-php-extensions

Community News:
Packagist Latest Releases for 08.29.2014
August 29, 2014 @ 08:05:24

Recent releases from the Packagist:


SitePoint PHP Blog:
Build a Database with Eloquent, Faker and Flysystem
August 28, 2014 @ 11:55:09

In the latest post to the SitePoint PHP blog Aleksander Koko continues with his series about creating an application with PHP and EmberJS with a look at building databases. In the first part of the series he introduced the main toolset and set up a simple Laravel application inside of a Homestead instance. This latest post builds on that platform.

In this part, we will create the structure of the database. We will create the tables using migrations and seed the database using seeders. Also, you will learn how to grab some random images from LoremPixel and put them on the filesystem using Flysystem. You'll also be adding some randomly generated data using the Faker library. Much like with part 1, you can download this part's code from github.

He shows you how to get all the needed libraries installed and run the migrate command to create the needed tables. He also helps you set up a Dropbox application so you can use their API and configure the application with your API settings. Next he modifies the migrations and seeds the sample data. Next up he makes the models for each of the tables and integrates Faker to populate them with better seed data, making seeder classes to handle some of the more custom logic.

0 comments voice your opinion now!
database eloquent faker flysystem dropbox seed data tutorial emberjs

Link: http://www.sitepoint.com/build-database-eloquent-faker-flysystem/

PHP.net:
PHP 5.6.0 released
August 28, 2014 @ 10:36:15

The PHP development group is happy to announce the official release of the latest in the PHP 5 series - PHP 5.6.0. This release includes lots of bug fixes and several new features including:

There's also several things that will break compatibility with code written for previous versions including changes in JSON decoding, GMP resource handling and updates to the mcrypt functions. For more information on these changes and the list of things to know before using it, check out the migration guide. As always, you can get this latest version from the downloads page or windows.php.net for the Windows users.

0 comments voice your opinion now!
language release update major verson php56

Link: http://php.net/archive/2014.php#id2014-08-28-1

Three Devs & A Maybe Podcast:
News on PHP 7, and how PHP internally works with Joe Watkins
August 28, 2014 @ 09:13:21

The Three Devs & A Maybe podcast has released their latest episode today - Episode #40, News on PHP 7, and how PHP internally works with special guest Joe Watkins. In it the guys talk about the upcoming (major) version of PHP and some of the work Joe's been doing related to Unicode and other parts of the language.

In this weeks show we are very lucky to have Joe Watkins on again to discuss all things PHP 7. Starting off with the decisions behind calling the next release 7, we delve into the reasons for 6 being abandoned. Moving on from this we look into what PHP 7 currently has scheduled to offer, including the PHPNG patch, an AST and maybe Joe's own Unicode String class. We then discuss how a PHP script is internally lexed, parsed/compiled and cached, - including how a JIT would speed up certain use-cases. Finally we touch upon the much requested String type hinting and how a solution similar to Java's could be implemented with minimal hassle.

Other topics mentioned in this episode include: the last PHP 5.3 release ever, PHPNG and upgrading extensions from PHP5 to PHPNG. You can listen to this latest episode either through the downloading the mp3. If you enjoy the episode, consider http://threedevsandamaybe.com/podcast.xml">subscribing to their feed and get the latest shows as they're released.

0 comments voice your opinion now!
threedevsandamaybe podcast ep40 joewatkins internals php7 interview

Link: http://threedevsandamaybe.com/posts/news-on-php-7-and-how-php-internally-works-with-joe-watkins/

Community Events





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


symfony release list introduction laravel threedevsandamaybe configure install api library community unittest podcast wordpress language application interview developer series code

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