“This is something I prefer to call my “programming list of shame“. Although having a formal university education with courses on software engineering, enterprise software architecture & database design I have been guilty of every single one of those things at one time or another. This is completely subjective & Eclipse oriented.” Read article.
40 signs you really are a lousy PHP programmer
Keep it simple, stupid
The KISS principle (acronym for “Keep It Simple, Stupid”) states that design simplicity should be a key goal and unnecessary complexity avoided. It serves as a useful principle in a wide array of disciplines, such as software development, animation, photography, engineering, and strategic planning. Common variants of the acronym include: “Keep It Sweet & Simple”, and “Keep It Short & Simple”. The form “Keep It Simple, Silly” is sometimes used in situations (for example, explaining the phrase to children) where “stupid” may be perceived as being too harsh.
Dont repeat yourself
Don’t Repeat Yourself (DRY, also known as Single Point of Truth) is a process philosophy aimed at reducing duplication, particularly in computing. The philosophy emphasizes that information should not be duplicated, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency.
Ajax chat for PHP
One of my recent projects needed to have a chat facility built in that works between staff and clients. I wanted to build an Ajax chat system and thought rather than re-inventing the wheel, I would look for someone else’s solution to an Ajax based chat system. I came across this website by Cristian Darie. I had read through some of Cristian’s scripts and articles in the past so I knew that he wrote quality code and made quality systems. His book about PHP and SEO is well worth a read.
I found lots of other examples of Ajax based chat but most of them were dirty, buggy, and smelly. So I heavily modified Cristian’s code to suit my needs and used it in the project. Thanks Cristian!