WordPress in the Enterprise – Building in a Class Library

When you think of WordPress you might think of a lone blogger blogging about what they ate for lunch. But that is just not true anymore. With nearly 31% of the web under its control, WordPress has gained a lot of popularity due to its easy setup and extensibility. It has become a powerful Content Management System (CMS) that even an enterprise can build epic sites off of. But if ...

Top 10 Tips for PHP Programmers

I thought that it was time for me to give a few helpful tips to those PHP wizards out there on how to write better scripts. I wanted to provide some tips that are a bit different than what you may have read on other blogs or seen in other articles on the subject. While some of these tips are universal (and thus you may have seen already), I am ...

A Brief Overview of Honey Pot Form Fields

What is a honey pot field? Honey pot fields are HTML form fields that you put into your forms designed to catch bots (automated scripts that fill in forms attempting to spam). These fields are put in so that bots see them but humans do not. Perhaps the field is put into the form but hidden from normal users using a CSS style like "display: none;" or "visibility: hidden;". Since most ...

Rolling Dice in Java, C# and PHP

Some of the very first programs we are introduced to in programming is the idea of random numbers. This is often introduced using the idea of the die or dice. We have all seen them and have probably even thrown a set of dice at some point in our life. A die is pretty much a representation of a random number generator with a fixed range of values. The traditional ...

The Coding Survival Guide – Habits and Pitfalls Now Available!

The Coders Lexicon team is proud to announce our new ebook release titled "The Coding Survival Guide - Habits and Pitfalls"! This new guide is included FREE with your purchase of our popular ebook "The Programmers Idea Book - 200 Software Project Ideas and Tips to Developing Them" as well as other select ebooks. 24 Good habits and tips to avoid pitfalls when coding Occasional code examples to help reinforce some of ...

Stubbing Out Functions, Do You Do It?

If have ever taken a beginner programming class in school you were probably introduced to the idea of stubbing out functions. If not, let me quickly tell you what stubbing is. It is the process of identifying tasks in your design and setting up functions to handle those tasks. We define just the function signature (name, parameters and body) without writing the code statements in them. Once we identify all ...