Tony Lea

Howdy, Welcome to My Blog

September 19, 2013

Installing Laravel on Amazon EC2

Written by Tony Lea - 1 minute read

Amazon EC2 makes it very easy to scale the servers that our web applications live on. This video tutorial will show you how to load up an Amazon EC2 ubuntu server and setup Apache, PHP, & MySQL on the server. I will then go through the basics of sett...

August 13, 2013

OS X and Composer Error 'PHP.ini does not exist'

Written by Tony Lea - 1 minute read

So, I finally decided to move away from using MAMP, which is great; however, I am having to do a lot of troubleshooting. After getting my MAMP stack all setup I was adding all my Laravel projects and going to get all the latest vendor resources via C...

July 26, 2013

5 Things Only Developers will find funny

Written by Tony Lea - 1 minute read

So The newest article by buzzfeed has been getting a lot of... 'buzz' (sorry for the lame reference)... Anyway they have done a good round-up of some things that developers will find funny. That's cool, but there are also some things in that article ...

June 21, 2013

How to add a new column to the database using migrations

Written by Tony Lea - 1 minute read

Using migrations in laravel 4 allows users to keep a version control of their database. If you aren't familiar with migrations I'll give you a quick rundown. A migration is a file that creates, updates, or removes tables and columns in your applicati...

June 19, 2013

Renaming Database Tables in Laravel 4

Written by Tony Lea - 1 minute read

Lets say you've been digging Laravel Migrations and you run into an instance where you need to rename your table. Would you manually change the migrations you already created to reflect the new table name, rollback all your environments and then migr...

June 11, 2013

How to Open Sublime Text via Terminal

Written by Tony Lea - 1 minute read

Back when I was using TextMate I was easily able to navigate to a directory in terminal and type 'mate .' and open up a specific file or directory in TextMate. Well with Sublime Text 2 you can do this as well. Here's how to do it using a Bash Shell. ...

November 15, 2012

PHP the difference between single and double quotes

Written by Tony Lea - 1 minute read

I've been programming in PHP for nearly 10 years, and I would consider myself to be fairly competent with the language. It's funny that some of the simplest things that I would program in PHP I would just accept certain aspects instead of looking fur...

October 21, 2012

What are the best tools/languages for Web Development?

Written by Tony Lea - 1 minute read

Do you often wonder if the framework, language, or tools you use will reflect the outcome of your web project? Sometimes we can get so caught up in what to use for our latest idea that it can distract us from the thing that's really important... crea...

September 27, 2012

How to get Memory and CPU usage in PHP

Written by Tony Lea - 1 minute read

So, a couple weeks ago I experienced heavy server overloads on an app due to so many concurrent users. There may have also been some code clean up that was necessary. Either way it was kind of a headache, but also a learning experience. So upon searc...

September 25, 2012

Detect if your browser supports WebSockets

Written by Tony Lea - 1 minute read

WebSockets are great for creating a bi-directional connection between the server and the client. It's also great for making some awesome real-time and interactive web apps. The only downfall with WebSockets is that they are not supported by all brows...

1 2 ... 10 11 12 13 14 15 16 17 18 19