Archive for the ‘web development’ category

PHP Training: Online vs. Classroom

January 29th, 2012 Leave a comment

PHP Training: Online vs. Classroom

If you are looking to learn how to write Web applications in PHP, you may be considering online or traditional teacher-lead classrooms to help you. There can be many factors in the decision to learn PHP online or to take a class in-person, and for some, this can be a difficult decision to make. This article discusses the pros and cons of each method of PHP training to help you find the learning method that is going to suit your needs best. PHP isn’t a new programming language, and there is a wealth of information on it on… View full post »

htaccess for PHP Error Logging – An In-depth How-to

January 11th, 2012 Leave a comment 1 comment

htaccess for PHP Error Logging - An In-depth How-to

For PHP users running Apache, we often want to be able to suppress our PHP errors from visitors so we can protect and handle those errors. We also want to log those errors since error tracking is an excellent way to troubleshoot potential problems. Catching these errors and monitoring them is a better solution than trying to catch and handle them during the user’s session. This tutorial will show you how to enable PHP error logging and error handling via .htaccess. For Developers New to htaccess If you are a developer that has never used the .htaccess file, here… View full post »

Why Use PHP Caching?

January 10th, 2012 Leave a comment

Why Use PHP Caching?

In the beginning, when the Internet was new, it was easy to create fast HTML web pages that could load easily on a dial-up modem. Once a page was requested, the browser would create a cached version of the site on the computer in a temporary directory and later, should that page be requested again, it would simply serve the cached version instead of making a request to the server. This made everything much faster! Then dynamic pages came onto the scene and messed that idea up. Now we must make requests to our server every time the… View full post »

Optimizing jQuery – 10 Ways to Write Better Code

December 29th, 2011 Leave a comment

Optimizing jQuery - 10 Ways to Write Better Code

Most of us that began writing jQuery started because we heard how awesome it was and we were frustrated at JavaScript. jQuery is awesome, but like any programming language, there can be problems and pitfalls we want to try to avoid. This article talks about ten common better uses of jQuery that will help you get your job done right. They won’t make you a jQuery expert, but they will show you some best practices and better ways of using the library. 1. Make Sure Your Version is Up-to-date Why: jQuery is constantly changing and updating. Improvements to the… View full post »

PHP Optimization Tips: Get the Most Out of Your Applications

December 19th, 2011 Leave a comment 3 comments

PHP Optimization Tips: Get the Most Out of Your Applications

Like any scripting language, PHP can be used in a variety of applications. The down-side for most programmers is that when they learn how to write PHP, they do not always learn how to write PHP with speed and optimization in mind. This article addresses five ways you can improve your code with minor changes that will yield large gains as well as teach you how to become a better PHP developer. One of the most important things you can do when improving PHP application performance is begin measuring your application to find a baseline performance time for different… View full post »

PHP Error Handling Explained

December 8th, 2011 Leave a comment

PHP Error Handling Explained

Error handling is the process of catching errors and unexpected behavior from your program and dealing with them appropriately. When developers write code they always seem to leave error handling for the end instead of making it part of the development process. Part of being a good developer is setting up your applications to handle errors gracefully and without causing trouble for the user. Developers that are new to PHP sometimes complain that there is no built-in error handling functionality, but what they haven’t learned yet is that the functionality is there – you just have to… View full post »

Creating a Website in HTML5

December 7th, 2011 Leave a comment

Creating a Website in HTML5

Creating a new website in HTML5 can be daunting, especially for those of us with no clue as to what it is or how it’s different from HTML4. Here’s a quick guide to help you get set up with HTML5 and get a valid, compliant site up and running! 1. Get hosting and a domain name This one hasn’t changed since HTML4, but I thought I’d mention it all the same. You’re still going to have to get a domain name and hosting to host an HTML5 site, and the good news is that requirements for hosting providers have not changed with… View full post »

PHP Caching Solutions: Best of the Pack

November 23rd, 2011 Leave a comment 2 comments

PHP Caching Solutions: Best of the Pack

Site performance versus traffic: it is a tough battle to fight. When working with PHP applications we usually have to face this issue sooner or later, as a site becomes more popular it can begin to suffer from performance issues. There are several ways that you can improve your site’s performance to help solve this problem, but one of the easiest ways is to set up PHP caching. PHP Caching is an excellent solution for Web sites that wish to improve their site performance by allowing their dynamic pages to be stored client-side by your application. These solutions… View full post »

jQuery Quick Tutorial

November 14th, 2011 Leave a comment

jQuery Quick Tutorial

Whether you are new to JavaScript or have been developing for the Web for a while, learning jQuery can seem like a daunting task. If you have been wanting to give it a try, here is a quick primer to give you the facts and help you get started along with some examples for you to try out. If you want to play with the examples from this tutorial, feel free to download them from here. What is it? jQuery was originally developed By John Resig of the Mozilla Software Foundation in 2006 with the motto of “Write less, do more”…. View full post »

PHP Profilers Compared

November 10th, 2011 Leave a comment 2 comments

PHP Profilers Compared

Whether you are an experienced developer or just getting started it is important to know how to measure the performance of your scripts and applications so that you can learn to make improvements and optimizations to your code. There are several tools available, both commercial and free, that will allow you to make these kinds of measurements in your environment. Some tools are very simple and only look at log times to determine how long a request has taken; others have more features and offer full application profiles, query analyzers and execution plans. This article compares two… View full post »