Tony Lea

Howdy, Welcome to My Blog

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...

June 30, 2012

Keeping your Node Server running Forever

Written by Tony Lea - 1 minute read

Yeah, it's really cool that you can start your node server from a terminal window by typing 'node server.js', but then you close the terminal or disconnect and your node server is no longer running... Well, wouldn't it be great if you were able to ke...

June 28, 2012

What is NPM?

Written by Tony Lea - 1 minute read

When getting started with Node JS you may hear the term NPM being used often (usually lowercase 'npm'). What exactly is it and how can you use it? Well... npm stands for Node Package Manager and it is an online repository for open source Node.JS p...

June 16, 2012

A Simple Node Example

Written by Tony Lea - 2 minute read

Here is a simple Node JS example that I hope will help someone's journey with getting started with Node JS a little easier. First off, I thought I would explain in the simplest form what Node JS is and what it does. I am by no means a Node JS expert,...

May 20, 2012

Rails Authentication With Devise

Written by Tony Lea - 1 minute read

The Devise Gem makes it really easy to create a full authentication app with Ruby on Rails. In the video below, I will walk you through setting up and installing the Devise Gem on your rails app. Below the video are all the commands and code that I u...

May 19, 2012

Rails Todo App with Scaffolding

Written by Tony Lea - 1 minute read

In this quick video I wanted to demonstrate how quickly and easy it can be to create a small todo list app using Ruby on Rails. Below is the short video which will show you how you can create a todo list app in about 60 seconds. Run the following ...

April 4, 2012

5 Excellent Tools for Finding the Perfect Domain

Written by Tony Lea - 2 minute read

Doesn't it seem like all the good '.com' domains are taken? I love coming up with new ideas, but when it comes to finding a new domain name it becomes impossible to find an available domain that fits the shoes for my new website project. Shouldn't f...

1 2 ... 5 6 7 8 9 10 11 12 13 14