Custom Apps: Some Strategies For Easy Configuration Files

Wednesday, September 16th, 2009

One of the decisions that has to be made each time an application is written for distribution is how best to set up the configuration files. There are a number of different approaches taken to this: some opt to use the define() function and define constants, while others use large arrays. The purpose of this [...]

1:00 am | Comment (11) | Print | Categories: Best Practices, PHP 5, System Architecture

First Glance: Apple’s Snow Leopard

Friday, August 28th, 2009

For those who like the newest in development tools, Apple has surely delivered with the Snow Leopard operating system upgrade.

8:00 pm | Comment (13) | Print | Categories: PHP 5, Reviews

FIEO: Filtering Input with PHP’s Filter Functions

Brand-new PHP developers have drilled into their heads the concept of Filter Input, Escape Output (FIEO). This concept essentially insists that all user-provided content be filtered or escaped, without exception. With the delivery of PHP 5.2.0, this got a lot easier, because PHP included, by default, the Filter library.

6:30 am | Comment (21) | Print | Categories: Best Practices, PHP 5

Peer Review: Managing Coding Standards

Monday, August 17th, 2009

If you need a sample of the code, please visit here. One of the first things I look for when I check out code is how is the code organized? Is it laid out well? Is it coded to a particular standard? In our code sample, the first thing we should address is how does [...]

12:00 am | Comment (8) | Print | Categories: Best Practices, PHP 5, System Architecture

Peer Review: Taking Code And Making It Better

Saturday, August 15th, 2009

On Wednesday, August 12th, we had a meeting of the DC PHP Developer’s Group. Keith Casey of Blue Parabola led a code review of a member-submitted sample. The review was informative, educational, and helpful. With the permission of that member, I’ve decided to write a series on the tools for reviewing code and re-factoring it. [...]

7:00 am | Comment (0) | Print | Categories: Best Practices, PHP 5
« Older Entries
Newer Entries »
Search:
Copyright © 2008 - 2010. All Rights Reserved.