Unfortunately, a lot of PHP code written today is procedural spagetti code. For smaller applications it may be okay, but larger applications we need to make use of classes. Classes allow you to make new object variables that can perform all the functionality of the class. Take a look at an example of a class: class car { // Define the function... [Read more]
Writing Solid PHP Code 2 - Naming and StyleHaving a consistent style makes your PHP code more readable and maintainable. Even in projects where you are the only programmer, once the project progresses to a certain size it can become difficult to maintain. Variable Names Variable names should be very descriptive. They should give anyone that is not familiar with your script to understand what... [Read more]
Writing Solid PHP Code 1 - Error HandlingThis is the first in a multiple part series on writing solid PHP code. By solid I mean fast, efficient, maintainable and secure code. This first article deals with error handling. Error handling can stop problems in your application early in their tracks and take appropriate action. Error handling has the added benefit of adding professionalism and... [Read more]
New Knowledge BaseI have just added a new knowledge base. You can see the link to it on the top menu or here. I will be continuously adding answers over time. I have also added functionality to ask your own questions, just click on a topic and ask the question at the bottom of the page. My goal is to slowly build a large collection of information that can be easily searched... [Read more]
10 Dirty Little Web Development TricksYongfook has an interesting article titled "10 Dirt Little Web Development Tricks." Its an entertaining short list of tricks that can help make your life a little easier and more productive. One of my favorites on the list is to leave off the trailing ?> in php files. Yongfook truly lives a life of danger. Check out the full article here. Read More →
iPhone fart app makes $10k a dayEveryone knows that iPhone apps are big business. The popularity of the iPhone combined with the ease of the Apple app store has created a booming market for developers. One developer has done quite well, raking in nearly $10,000 a day, with his popular iPhone fart app. Read the full store here. Read More →
Goals for EJ Web Development in 2009EJ Web Development has come a long way in a short time. My vision is to create a website that provides information on all aspects of web development. Here are some of my goals for the site in 2009: Consistency I want to average around 5 posts a week. Keeping the content flowing in the site's formative months will be key to it's success. Lists I have... [Read more]
Silverlight penetration at 30%Over a year and a half after it's initial release, Silverlight penetration has hit 30%. This should bring mixed feelings from developers, who see Silverlight usage climb but not yet to a point where it is suitable for mainstream products. Read More →
Sorry, no posts matched your criteria.



