Articles

A written collection of knowledge on a particular topic, not covering the bredth or depth of a topic. Just particular aspects therein.

Sanitation Class for PHP

Sanitation Everyone loves to loves a clean environment... but no one loves to clean.  I am no exception. But I understand the need.  After working on PHP for years, and discovering no really good libraries out there for data sanitation... I have written my own.  (I tried to use OWASP's ESAPI... but gave up...) Definition: According to google Sanitation is "Conditions relating to public health, esp. the provision of clean drinking water and adequate sewage disposal"...

Read More

Validation Class for PHP

Validation Class for PHP Remix As a Web developer, I have seen my share of crappy and insecure code out there.  (Especially working on other people's code.)  One of the biggest problems and security breaches I see is the failure to properly validate data before using it.  Earlier this year I started to build a validation library and posted it up on this site.  In my programing "evolution" I have learned a few techniques that (in my opinion) are superior to the...

Read More

CRUD for Codeigniter 2

CRUD for Codeigniter 2.0 I recently (yesterday) decided to dust off my CRUD model, and discovered it did not work for Codeigniter 2.0.   So, I have completely overhauled it and even built a new demo to show people how to use it.  I have installed this and tested it personally so it should work for all you cats out there. Donate If you like the library and find it useful please consider donating.  Thanks to those of you who have already contributed.   Download Download...

Read More

Custom Validation Class for Codeigniter

Validation Class I am building a library of basic classes that perform tasks that I want.  One of the tasks I have spent too much time on in my professional career is validation.  As I use Codeigniter a lot, I am making my class a "library" in Codeigniter, however can be used completely independent of Codeigniter. Update 09 July 2011 This class has been replaced with a NEWER version. (This library was expanded a good deal and has become a new Branch.) The newer branch...

Read More

VIM for PHP Developers Part 3

VIM for the PHP Developer Part 3 Part 1 - Part 2 This article is about the plugins, that help make VIM use full for PHP development. This helps bring VIM to the level of a Full IDE.  I have found instructions on how to incorporate a php debugger into VIM, but as all of my projects run on REMOTE servers, it is not practical for me to run at this time.  I may do another tutorial on the debugger and possibly ctags.   NERD Tree This is by far the most useful plugin I have discovered...

Read More