Php
Laravel Valet – Simplifying PHP Dev Environment
For a long time, there was really no special PHP Development Environment. Everyone just fired up their laptops, opened their editors and served their web applications using wamp, mamp or xampp. Laravel came into the scene and changed the game. It’s so amazing to see the creator of a framework care so much about the development environments [...]
PHP like a Boss: Understanding Generators
Yeah, maybe it was the generator cover image but I am glad you are here Now what are Generators and how do they work in PHP? Generators are special routines that can be used to control the iteration behaviour of a loop. Generators are used in the implementation of fibonacci. Visit here to have the overview of these implementation. Generators [...]
PHP like a Boss: The Magic of Metaprogramming & Reflection – Part 1
PHP is a Shitty language. PHP is garbage. PHP is f**ked up! I have been constantly molested verbally by developers of other languages like Python and Ruby that think PHP is just outrightly stupid but as a PHP Ninja that I am, I know the good sides, I know the dark sides, I have also explored the ugly sides and overtime I have known how to [...]
Introducing Laravel Hackathon Starter Pack
Software Developers are unarguably one of the smartest beings in the world. A lot of thinking, analysis and calculations are done by this folks on a daily basis and in turn lots of applications ( mobile, web, command line) are developed that continously makes the world a better & fun place to live in. Anyways, enough of the hype! Even [...]
PHP Super Globals
Superglobals are built-in variables in PHP that are always available in all scopes. Available in all scopes mean these variables can be accessed from any part of your application/project. These are the super global variables we have in PHP at the time of this writing: 1. $GLOBALS Any variable assigned to this super global is accessible in [...]
Profile your PHP Applications with BlackFire
There are so many situations where you really want to monitor the performance of your web apps. Sometimes you want to know why a certain part of the app takes donkey hours to load, other times you just want to find out ways you can increase the load time of your app. One very good solution that gives you awesome analysis about it right now [...]
DOM Traversal in PHP – As simple as JQuery
JQuery is a very popular javascript library that has eased the traversal of HTML DOM elements. The Javascript community has benefitted immensely from that. PHP also has a very good library that can be used to traverse the DOM, it’s very efficient and simple to use. Today, I’ll show you how to do DOM Traversal in PHP using Symfony’s [...]
PHP ISN'T SHITTY; YOUR MINDSET IS!
Before I started working with the PHP programming language, I had little to no respect for it. This was basically due to a mindset I was made to adopt by my immediate environment and within the work environment. PHP has always been regarded to as the shittiest programming language out there but I put this question to you: WHAT MAKES [...]
Robo – The Awesome Task Runner For PHP
Web Development is Hard. There are so many things you have to take into consideration during the course of building web applications, especially when you want to follow best practices and deliver the best product. One of those several actions is automating tasks. We have task runners like Grunt and Gulp, these two do an amazing job of automating [...]
PHP BOOTCAMP: Develop Your Own CLI Scripts
Developers run CLI Scripts every now and then and I bet you have used them severally. I mean Command line/ Shell Scripts. The Question is: Have you been able to create yours? Have you wondered how these things are created? As a Laravel Developer, have you wondered how php artisan, php artisan <a-type-of-argument> works? It’s actually [...]