Archive for January, 2012

Is Your Server Correctly Configured?

January 30th, 2012 Leave a comment
Is Your Server Correctly Configured?

Whether you are running your web site from a paid hosting provider or have your own server environment to look after, knowing how to properly configure your server is one of the most important things you can do to keep your web site safe and secure. Last year along, 1.5 million web sites were defaced and almost all of these would have been preventable with proper server configuration. In this article I will talk about some of the ways you can keep your site secure. Perform Audits There is no way to make a server completely secure from all possible… View full post »

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 »

Improving Android Battery Life – 5 Tips

January 25th, 2012 Leave a comment
Improving Android Battery Life - 5 Tips

This article is a bit uncharacteristic of our regular developer topics, but you might still find it useful since developing on Android also means owning an Android device. Running out of battery on your Android device can be frustrating. Often, we find ourselves wishing we could get a little more juice out of our devices. If your battery life is getting the best of you, here are some tips that you can use to help keep the party going a little longer. Task Killers Don’t Help Task Killers have been a strongly debated topic for Android owners and unfortunately a necessary… View full post »

5 Easy Java Optimization Tips

January 24th, 2012 Leave a comment 10 comments
5 Easy Java Optimization Tips

When writing Java code it can be easy to make simple mistakes that seem harmless on the surface but, as our applications grow larger, they can show themselves to be slow, resource intensive processes that could use a tune-up. Luckily there are some easy ways to optimize your Java code that you can begin using today. Here, we will introduce you to five of them. 1. Avoid unnecessary casting Casting, for the new developer, is a way of converting between reference data types. Most casting is done to allow a more generic form of programming where your code will… 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 »

Unit Testing: Worth the Extra Effort?

January 5th, 2012 Leave a comment 3 comments
Unit Testing: Worth the Extra Effort?

In the realm of computer programming there are several ideas involving the testing and vetting of code to make sure it is ready to use. Many of these ideas are evolutions of previous methods or are new ways that people have developed to test code while it is being developed. One of these methodologies is called Unit Testing. Unit Testing is part of a greater software development methodology called Test Driven Development. In Unit Testing, the code is broken down into to small sections or sub-sections called units. These units then have independent tests created that… View full post »

Software Development Teams – How to Work with Other Developers

January 3rd, 2012 Leave a comment 1 comment
Software Development Teams - How to Work with Other Developers

You can’t have great software without a great team, and most software teams behave like dysfunctional families. – Jim McCarthy Let’s face it. Today, most software is not developed and written by one person but is a product of a team effort. Learning to work with other developers is a difficult step for some people. The key to a good software development team is not only understanding how people work together but the understanding that software teams go through phases of development. Just like the above quote, each member of your team may be in a different development… View full post »