PHP ClassesPHP 7 Anonymous Classes Tutorial (13.10.2015, 06:09 UTC)
By Dave Smith
PHP 7 has introduced a new class feature called the Anonymous Class which allow us to create objects without the need to name them.

Read this article to learn about the concept behind anonymous classes and how we can use them in your PHP projects.
Cal EvansInterview with Paul Dragoonis (13.10.2015, 04:00 UTC) Link
SitePoint PHPDebugging WordPress on Azure with Z-Ray (12.10.2015, 16:00 UTC)

We all know that WordPress is an amazingly rich, extendable and simple platform. That’s probably one of the reasons it powers so much of the web today. But in some cases this richness can be the downfall of your site. If you load too many plugins, for example, or alternatively - select that one theme that is too complex for your application, you might end up seeing heavy database queries and prolonged execution.

This means you need an easy, safe and reliable way to profile your WordPress app that will help you identify the bottlenecks slowing it down.

This article demonstrates a simple way to do just this. It describes how to debug a WordPress application deployed on Microsoft Azure’s web app service, using Z-Ray for Azure - a new technology that was announced a few months ago and is now in preview mode. While Z-Ray as a standlone tool for Azure developers is a new offering, Z-Ray in itself is not. Zend introduced it over a year ago as part of Zend Server. There are plenty of resources available on the web for understanding what Z-Ray is, but just so we’re all on the same page - here is a very short description.

Z-Ray is a debugging tool for PHP developers that provides information on what’s going on under the hood of your PHP apps, in your browser, and without having to change a thing in your code. Using Z-Ray Live!, developers can also profile non-browser based requests coming into the server as well, such as mobile and API requests. In addition to generic PHP information, Z-Ray also provides detailed information for specific apps and frameworks, such as WordPress, Magento, Drupal, Symfony, Laravel and Zend Framework. For more information on these features, this article provides a great overview.

Note: Before we begin, please note that to follow the steps below, you’ll need an active Microsoft Azure account (Free Trial).

Continue reading %Debugging WordPress on Azure with Z-Ray%

Thijs FerynAn interview with Tom Van Herreweghe & Jachim Coudenys from PHP West-Vlaanderen (12.10.2015, 07:25 UTC)

A new week, a new episode of my videoblog/podcast. I recorded this one in a hotel room in Manchester a

The post An interview with Tom Van Herreweghe & Jachim Coudenys from PHP West-Vlaanderen appeared first on Thijs Feryn's blog.

PHP ClassesPHP 7 Adoption Survey (12.10.2015, 06:37 UTC)
By Manuel Lemos
PHP 7.0 is about to be released. We all heard about what will be its new features and improvements. What we don't know yet is how well it will be adopted by the PHP community.

Participate in this survey to tell what are your intentions regarding if and when you plan to adopt PHP 7 in your projects.
SitePoint PHPAutomatic Asset Optimization with Munee (10.10.2015, 16:00 UTC)

Munee is an asset management tool which can compile LESS, SCSS, or CoffeeScript, manipulate images, minify CSS and JS, and cache assets on the server and client on the fly. It works with PHP 5.3 and newer versions.

Stock photo, folder labeled

In this tutorial, we will learn how Munee makes it easy to include assets in templates, how to install it, how it works and how to use it.

Munee is another way to avoid NodeJS in asset management of PHP apps.

Why would you want to use Munee?

Munee aims to make asset management easier. It performs a lot of tasks for us on the fly (i.e., when the asset is requested by the client) which we had to do manually before, thus saving time.

Here are some of the reasons why you may want to use Munee:

  1. We often make small changes to our CSS, LESS, SCSS, JavaScript and CoffeeScript files. Every time we make changes we need to compile and minify them. Munee does this for us on the fly.

  2. There are many shared web hosting servers which don’t have gzip enabled. If you are using Munee, it compresses files using PHP, ignoring this restriction.

  3. You don’t have to worry about adding caching directives to .htaccess files. Munee will take care of both server and client side caching of assets.

  4. Munee can manipulate images on the fly and is very handy for responsive web design. You don’t have to maintain different image files for different dimensions.

Continue reading %Automatic Asset Optimization with Munee%

Bernhard SchussekResults of the Puli Coding Night (10.10.2015, 10:30 UTC)

Last night, the first Puli Coding Night took place. Overall, five people joined, two of which chimed in for the first time. The following tickets were completed:

Furthermore, work on the new Puli installer was started. The installer is based on Composer's installer script and will help you with checking your system for compatibility with Puli and downloading the latest puli.phar. The first version of the installer works already and will soon be available on Jump to the installer repository if you want to help working on it.

Puli's Gitter channel was pretty busy. Read the Gitter chat log if you want to catch up on what was being discussed.

For me personally, the night was a full success. I hope to repeat it soon! :)

SitePoint PHPWatch: Prevent Brute Force Attacks on a Login Page (9.10.2015, 17:30 UTC)

Learn how to protect your PHP applications from Brute Force Attacks. I'll show you how in this screencast.

<script src="">

Loading the player...

<script type="text/javascript"> jwplayer("video-5805").setup({ image: "", sources: [ { file: "", label: "SD" }, { file: "", label: "HD" }, ], tracks: [ { file: "", "default": true } ], aspectratio: "16:9", width: "100%", height: "480px", fallback: true, primary: "flash", streaming: false, analytics: { enabled: false, cookies: false }, captions: { back: false, fontsize: 12 }, advertising: { client: "googima", schedule: { "myAds": { "offset": "pre", "tag": "\u0026iu=/7448792/Video\u0026cust_params=[post_id]%3Dstaging%26channel%3D[channel]\u0026impl=s\u0026gdfp_req=1\u0026env=vp\u0026output=xml_vast2\u0026unviewed_position_start=1\u0026url=[url]/\u0026description_url=[description_url]\u0026correlator=[timestamp]" } } } });

Continue reading %Watch: Prevent Brute Force Attacks on a Login Page%

Bernhard SchussekMedia Coverage About Puli (9.10.2015, 13:00 UTC)

In the previous days, a lot of media coverage about Puli was published. One of the more extensive and interesting articles is Can PuliPHP Re-Revolutionize PHP Package Development? on SitePoint. The article was written by Nicola Pietroluongo, who already covered an overview of the Webmozart Console component in a previous SitePoint article.

Today, Cal Evans published an interview he took with me at the phpkonf in Istanbul. You can listen to the interview on Voices of the Elephant. The interview gives a basic overview over what Puli is, how it started and where I hope that it will be going in the future.

Last but not least, DrupalCon Barcelona published a recording of my talk Puli: PHP's Next Package Revolution. I was ill on the day of the conference, so please bear with me if I couldn't give my best performance. However, I still think it the presentation is interesting for those who couldn't see it live:

Don't forget that tonight is Puli Coding Night! Join us if you want to learn about the project and get involved.

Cal EvansInterview with Bernhard Schussek (9.10.2015, 04:00 UTC) Link
LinksRSS 0.92   RDF 1.
Atom Feed   100% Popoon
PHP5 powered   PEAR
ButtonsPlanet PHP   Planet PHP
Planet PHP