December 30th, 2006
One of the very nice things about
CodeIgniter (and really all the PHP frameworks I've looked at) is the built in security tools. For example, CodeIgniter automatically cleans cookies, sessions, user input and URLs in addition to coming with a host of other built in tools to make your job in securing your application as easy as possible. But, like all good things, there is a trade off. In the case of security, the trade off is convenince. The more secure, the less convenient. Since security isn't really something we can compromise on, clever developers need to find alternate ways of implementing common things.
CodeIgniter for example limits the characters that one can use in a URL to letters, numbers, and "~, %, :, _ and -". A good collection sure, but what if you need to pass other characters, such as "(, ), =" or even spaces? Here's how I did it.
Continue reading “Passing Disallowed Characters through the URL in Code Igniter”. Posted in
CodeIgniter, How-To with 1 comment 
December 03rd, 2006
I've had a few requests asking how I built my RSS feed since I'm using a custom built Code Igniter blogging system. Actually, it was pretty straight forward, but I thought I'd take a few moments to outline step by step how I did it.
Continue reading “Building an RSS Feed in Code Igniter”. Posted in
CodeIgniter, How-To with 6 comments 
November 19th, 2006
Hmm... lools like my love affair with SQL related posts continues.
MySQL has posted an excellent resource posted called Top 10 SQL Performance Tips. Although, it is kind of a misleading name, since its a wiki, and everybody is able to post. Currently it's up to 84 tips, most of which look really great. Here is a small sampling...
Continue reading “Top 10 SQL Performance Tips”. Posted in
How-To, PHP with 1 comment 
November 14th, 2006
UGH! So apparently I need one of those Matrix-style brain implants to help me remember SQL.
I'm writing this down now as both a personal reminder... and maybe I'll save you from the same fate. When writing the archive for this blog, I wanted to create friendly URLs, so that /blog/archive would display all posts, /blog/archive/2006 would show all of the posts from 2006, and finally /blog/archive/2006/11 would show all of the posts from November of 2006. Simple enough right?
Continue reading “Writing SQL with HAVING vs WHERE clauses”. Posted in
How-To, PHP with 5 comments 
November 06th, 2006
When I originally released BambooInvoice I learned a lot about trying to code for a site specific goal, and coding for a mass audience. I originally wrote these tips on the Code Igniter forums, but since I was recently asked for advice again, I thought I'd repost them here. The original thread is still active.
Since I released BambooInvoice I've received a number of interested emails from developers looking for tips on getting started building an application using code igniter that you intend to widely distribute. Here is a small collection of useful processes.
Continue reading “Tips for Getting Started Building an Application Using Code Igniter”. Posted in
CodeIgniter, How-To with 3 comments 
November 04th, 2006
I don't like the way Firefox 2 handles closing tabs. Here's how I fixed my Firefox to get back to the behaviour I wanted.
Continue reading “Firefox 2 tabs - Hate em…”. Posted in
Browsers, How-To with 1 comment 
September 28th, 2006
There’s been some interest in the past for video tutorials that are a bit more advanced.
What I’ve done is created a 20 minute (yeah, I wish it was shorter too) video tutorial where I tried to use some advanced techniques. In it, I tried to hit on AJAX usage, the scriptaculous library for both visual effects and an autocompleting search form, models, and unobtrusive javascript techniques.
This is not a gentle introduction into Code Igniter. I spend hardly any time explaining how to set up controllers and views. The target audience is really people who have hacked around with CI a bit, and are wanting some insight into how somebody else does it. I don’t claim my techniques are perfect, but I’m betting that a little insight into someone else’s mind might be useful, and I think generally web devs could benefit from more CSS and unobtrusive javascript.
Continue reading “Code Ingiter video tutorial”. Posted in
CodeIgniter, How-To with no comments 
August 27th, 2006
Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.
I’ve written and posted a Microformats Helper on the Code Igniter wiki. This helper is meant to ease the creation of various well known microformats. Currently, the most popular hCard format is supported. Edit: license is also now supported.
Continue reading “Microformats helper for Code Igniter”. Posted in
CodeIgniter, How-To with no comments 
May 26th, 2006
Do you use RSS? Really Simple Syndication is a super convenient way of tracking your favourite news and general "goings on".
When Internet Explorer releases version 7 later this year it will include the ability to read RSS… but if you want to be one of the cool kids, you can enjoy the benefits now with Firefox. Need a quick primer on RSS? Here's a great resource.
Firefox can take advantage of RSS in 2 ways.
Continue reading “RSS in Firefox”. Posted in
Browsers, How-To with no comments 
May 24th, 2006
A quickstart guide for GPG encryption using Windows Privacy Tools (WinPT) for Windows users.
Continue reading “Step-by-step, Practical Encryption with WinPT”. Posted in
How-To with no comments 
< 1 2 3 4 >