Category Archives: PHP

Laravel 4 Base Controller for AngularJS

I’ve recently been doing a lot of work with Laravel 4 and AngularJS and it’s been a great experience so far. The resourceful controllers provided by Laravel integrate really nicely with the HTTP “services” available in AngularJS. Laravel 4 has a ton of new stuff and among it all I’ve noticed how useful the Input::only() […]

Also posted in AngularJS, Laravel | Leave a comment

Getting a Date with PHP & MySQL

Recently I was working on an event management project in PHP & MySQL which made me realize that there must be a good solution for interacting with dates and times. Not just using PHP’s date format and storing it as character data in MySQL, and not having to parse out MySQL’s DATETIME format in PHP. Both PHP and MySQL have built-in functions for dealing with dates, it seems silly to have to give up one set of functionality for the other.

Also posted in Article | Leave a comment