Tutorials and Talks Implement Flash Messages using Session in PHP - Part1

As part of this series, we are going to see how to implement Flash Messages using PHP Session. Before that though, read about Flash Message and its usage.



How To Install PHP Storm on Ubuntu

PhpStorm is the most useful IDE for PHP development. It is written in Java, so before installing you need to install JRE/JDK onto your system.



SOLID: Part 4 - The Dependency Inversion Principle

The Single Responsibility (SRP), Open/Closed (OCP), Liskov Substitution, Interface Segregation and Dependency Inversion. Five agile principles that should guide you every time you write code. It would be unjust to tell you that any one of the SOLID principles is more important than another. However, probably none of the others have such an immediate and profound effect on your code than the Dependency Inversion Principle, or DIP in short. If you find the other principles hard to grasp or apply, start with this one and apply the rest on code that already respects DIP.



Getting Started with Laravel on Nitrous.io

On February 12th, Nitrous.IO, the cloud development environment that lets you set up virtual boxes in a flash and use them from whichever platform through their Web IDE, finally added PHP support – something users have been clamouring for. This article demos how to get a Laravel app up and running.



Piping Emails to a Laravel Application

In this article, we are going to look at how we can pipe emails to our Laravel 4 application. For that, we start with a fresh Laravel 4 project, installed through Composer as seen here.



Speeding Up PHP Unit Tests 15 Times

After getting fed up with unit testing taking so long to run, Chris Duell has come up with a way to speed up the process by 15 times.



Creating a Blog Using Laravel 4 Part 1: Models and Seeding

In this article, the first in a series, we will create a simple blog using Laravel 4.



Keeping Your PHP Code Well Documented

Pretty much every PHP developer writes comments along with the actual code. But the language itself doesn’t impose any rules on how to do so. You just have to wrap them around some specific tags and then you can write any content you want. So what exactly should be put in the comment blocks to keep them useful? Which parts of the code should be documented and which shouldn’t? This article presents some important rules which may help you in keeping your PHP code well documented and understandable.



Magento and HHVM

Having Magento run on HHVM would drastically improve the speed and performance of the actual application without relying solely on caching. Currently, there are still many bugs on certain parts of the HHVM libraries that prevent Magento from fully running. However, a lot of progress has been made recently to solve many of these issues; right now the main force behind all the bug fixes to get Magento and HHVM running is Daniel Sloof.



Type Juggling with MongoDB

As a PHP developer you probably know that all GET and POST variables are represented as strings through the $_GET and $_POST super globals. PHP's weak typing system allows you to do calculations with numbers that are stored in strings as well as with normal numbers.



A Look at Hack, the PHP Replacement in HHVM

In the first part of this article last week, we saw that HACK was actually statically typed. This means that you must provide types for all the variables in your application. As a reminder, PHP is dynamically typed so that you never need to type your variables, although you can use type hinting for function arguments. But wait, does that mean that you have to provide types for every single variable of your application? Not exactly, and we are going to see the details. As part of this series, we are going to see how to implement Flash Messages using PHP Session. Before that though, read about Flash Message and its usage.PhpStorm is the most useful IDE for PHP development. It is written in Java, so before installing you need to install JRE/JDK onto your system.The Single Responsibility (SRP), Open/Closed (OCP), Liskov Substitution, Interface Segregation and Dependency Inversion. Five agile principles that should guide you every time you write code. It would be unjust to tell you that any one of the SOLID principles is more important than another. However, probably none of the others have such an immediate and profound effect on your code than the Dependency Inversion Principle, or DIP in short. If you find the other principles hard to grasp or apply, start with this one and apply the rest on code that already respects DIP.On February 12th, Nitrous.IO, the cloud development environment that lets you set up virtual boxes in a flash and use them from whichever platform through their Web IDE, finally added PHP support – something users have been clamouring for. This article demos how to get a Laravel app up and running.In this article, we are going to look at how we can pipe emails to our Laravel 4 application. For that, we start with a fresh Laravel 4 project, installed through Composer as seen here.After getting fed up with unit testing taking so long to run, Chris Duell has come up with a way to speed up the process by 15 times.In this article, the first in a series, we will create a simple blog using Laravel 4.Pretty much every PHP developer writes comments along with the actual code. But the language itself doesn’t impose any rules on how to do so. You just have to wrap them around some specific tags and then you can write any content you want. So what exactly should be put in the comment blocks to keep them useful? Which parts of the code should be documented and which shouldn’t? This article presents some important rules which may help you in keeping your PHP code well documented and understandable.Having Magento run on HHVM would drastically improve the speed and performance of the actual application without relying solely on caching. Currently, there are still many bugs on certain parts of the HHVM libraries that prevent Magento from fully running. However, a lot of progress has been made recently to solve many of these issues; right now the main force behind all the bug fixes to get Magento and HHVM running is Daniel Sloof.As a PHP developer you probably know that all GET and POST variables are represented as strings through the $_GET and $_POST super globals. PHP's weak typing system allows you to do calculations with numbers that are stored in strings as well as with normal numbers.In the first part of this article last week, we saw that HACK was actually statically typed. This means that you must provide types for all the variables in your application. As a reminder, PHP is dynamically typed so that you never need to type your variables, although you can use type hinting for function arguments. But wait, does that mean that you have to provide types for every single variable of your application? Not exactly, and we are going to see the details.