PHP turned 20 this week which makes me really start to feel my age. I first found PHP around the year 2000 and at the time the popular choices in web languages was ASP, PHP, Coldfusion, or Perl. I distinctly remember being confused by the paradox of choice. PHP ended up winning for me because it was cheaper to host and seemed to be supported everywhere.
PHP didn’t start out as a language, and this is clear from its design — or lack thereof, as detractors point out. It began as an API to help Web developers access lower-level C libraries. The first version was a small CGI binary that provided form-processing functionality with access to request parameters and the mSQL database. And its facility with a Web app’s database would prove key in sparking our interest in PHP and PHP’s subsequent ascendancy.
I will forever remember creating my first sites like this in the PHP 3.x days:
Yes, that’s bad. Don’t ever do that. :) The language has changed a lot since then, and thanks to the community the tips and tutorials have also vastly improved.
Here’s to 20 more!
Posted in php
Laravel has just announced the immediate availability of v5.1. This marks the first release in Laravel’s history to offer long-time support. Let’s look at some of the new features and also learn more about it directly from Taylor Otwell.
Since originally launching in 2011, Laravel has always followed the “release early, release often” mantra which is popular in open source applications. With the historic rise in popularity of the framework, it was time to start focusing on the needs of large organizations and mission-critical applications that need security fixes but can’t upgrade quickly. Laravel 5.1 will now include 3 years of security fixes.
The long-term support is arguably the biggest feature in 5.1, but it includes several other new features.
The documentation has been completely reworked to offer more clarity, to be more in-depth, and to have a nicer flow. This was a huge undertaking and countless hours was spent fine-tuning each page.
Taylor said he would delay an entire Laravel release rather than release something with poor documentation, when asked if spending this much time on it was worth it. Another new documentation feature is real-time search with auto-complete.
The app and generators have been converted to PSR-2. The biggest change from current Laravel style is tabs to spaces and control structures will now go on the same line.
You can now resolve a service directly from a Blade Template:
Laravel already included a powerful event system and this new feature builds on that by allowing you to broadcast events over a websocket so your client can consume them. With this new feature, it makes creating real-time applications simple.
With an inclusion of Laracast’s integrated testing package testing your application is going to be easier than ever before.
Posted in Laravel