Tony Lea

Howdy, Welcome to My Blog

October 19, 2010

When to use a helper and when to use a library

Written by Tony Lea - 1 minute read

Using Codeigniter there are two main types of references you can use in conjunction with the codeigniter framework. These two include 'libraries' and 'helpers'. A library is a specific object that can be loaded and used inside of your code. A few exa...

September 26, 2010

CodeIgniter last inserted ID

Written by Tony Lea - 1 minute read

At times when you insert a new row into a database you may need to capture that last unique ID that has just been added to the database. Well, lucky for you.... getting the last database inserted ID using CodeIgniter is very simple. All you need to d...

August 29, 2010

jQuery is display block or none

Written by Tony Lea - 1 minute read

jQuery is excellent for creating compelling user interfaces. Some of the most common jquery functions include the .show, .hide, .toggle, .slideDown, .slideUp, or .slideToggle. Each of these functions toggle the CSS display attribute of that particula...

August 24, 2010

Point, Pixel, Ems, Percent Chart

Written by Tony Lea - 1 minute read

There are two main measurements for web fonts. Points and Pixels (pt and px). The ratio between the two is 0.75:1. This means each pixel is equivalent to 0.75 pt. This means that a font of size 8px would be equal to a font of 6pt. I have created a si...

August 17, 2010

Find your google rank for a specific keyword

Written by Tony Lea - 1 minute read

In the previous post I showed you how to obtain Google Search Results using PHP. I went ahead and collaborated upon that previous tutorial and created a tool where users can enter in a specific URL and a string of keywords. When the user clicks submi...

August 16, 2010

Google Search Results using PHP

Written by Tony Lea - 1 minute read

If you had ever wondered how people create cool keyword or marketing tools which integrate with Google results you have found the right place to learn the first step. In order to generate charts, lists, and data about Google Search results, there is ...

August 12, 2010

HTML5 video 101

Written by Tony Lea - 1 minute read

HTML 5 is the new HTML standard for constructing and building pages to be viewable in web browsers. HTML5 adds a lot of new features that HTML 4 never had a few of these features include local web-app storage, canvas drawing, and the video element. T...

August 11, 2010

Detecting Mobile Devices through javascript or PHP

Written by Tony Lea - 1 minute read

There are so many mobile browsers available today that it would be difficult to specify each one. Unfortunately, if you wanted to detect the user browser through javascript you would have to explicitly specify each browser/mobile device and which act...

August 9, 2010

Create a Web Crawler 101

Written by Tony Lea - 1 minute read

If you would like to learn how to create a web crawler, spider, or sometimes referred to as a bot... It is actually a lot simpler then you may think. In this short post I will display just how easy it is to obtain a mark-up from another website and t...

July 28, 2010

jQuery - Easy editable text fields

Written by Tony Lea - 2 minute read

Using jQuery you can easily create some great web user interactivity. One simple interface I wanted to create was to have an html label display some particular text and next to this text there would be an edit button. When the user clicks on the edit...

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