Archive for February, 2011

Top 10 Security Threats

February 26th, 2011 Leave a comment
Top 10 Security Threats

The Internet is not a safe place. It is a war-torn wasteland; a landscape of viruses, script kiddies, hackers, and corporate spies out to gain access to the little oasis known only as your network. What’s a sysadmin to do? They say the first step to nullifying a threat is knowing it; let’s take a look at the top ten security threats facing sysadmins today! 1. Outdated Software By far one of the most dangerous threats to your network is outdated software. No matter how good your security policies are, or how well-informed your users are (though well-informed users will update their… View full post »

CakePHP Relationships Explained

February 20th, 2011 Leave a comment 3 comments
CakePHP Relationships Explained

If you’ve developed with SQL databases in the past, you’ve probably had experience with the various SQL relationship types: one-to-one, one-to-many and many-to-many. In CakePHP, each database table is typically associated with a model. The relationships between the items in these tables are referred to as associations in CakePHP. CakePHP has an association for each type of relationship. We’re going to look at the four CakePHP associations, how they relate to the traditional SQL relationship and how to work with them in a CakePHP application. To describe these associations, we’ll be using a real… View full post »

Python/Django Web Development: Why I Love It

February 17th, 2011 (Guest Blogger)Leave a comment 4 comments
Python/Django Web Development: Why I Love It

I’ve been developing web sites for 15 years. In that time, I’ve used a lot of technologies and a lot of frameworks. Some of them I’ve loved and well, some of them I’ve loved to hate. While I enjoy PHP and am particularly fond of the CakePHP framework, my favorite platform for web development is the Python based Django framework. One of the reasons I love Django so much is that it is a Python framework. Python is one of those languages that people seem to be either passionate about or indifferent. Personally, I discovered Python… View full post »

PHP and LDAP: How to Manipualte Active Directory

February 13th, 2011 Leave a comment 2 comments
PHP and LDAP: How to Manipualte Active Directory

There is one major question that may be asked to this tutorial’s subject: “Why would I want PHP to access Active Directory? I can use Users and Groups to manage it already.” The answer to this is (though I am sure there are others): Quite often, management wants to delegate some Active Directory (AD) functions to users who don’t or shouldn’t have access to LDAP Users and Groups. As a real-life example, I once worked at a company that wanted their secretary to be able to add users, delete users, and update user passwords and contact info from a… View full post »

Hello Android Book Review

February 11th, 2011 Leave a comment
Hello Android Book Review

In opening this book review, I must first humbly admit that I am no mobile development guru. While I am a student of the programming arts, mobile development is a recent beast that I have just now been forced to grapple with on more than a hobbyist basis. That said, Hello, Android: Introducing Google’s Mobile Development Platform (Pragmatic Programmers) by Ed Burnette is a fantastic book for beginning Android development; it is a practical, no-nonsense guide that can be powered through in a few days to have a great base for Android development. First off, the book assumes knowledge of Java,… View full post »

PHP Form Data Validation Tips

February 7th, 2011 Leave a comment 2 comments
PHP Form Data Validation Tips

A common web task in web application development is to validate data input by a user. This is usually done to ensure that the type of data entered matches the expected data types for an underlying database. It is also a good security practice to limit the data that a web based form will accept. While it is common in web 2.0 applications to use client side code such as Javascript to validate form fields, this should not be relied on for a number of reasons. Some users disable Javascript so you want to provide a working… View full post »

7 Must Have Firefox Extensions for Web Developers

February 4th, 2011 Leave a comment
7 Must Have Firefox Extensions for Web Developers

Web development has become increasingly more complicated as web sites utilize more technology to do more. Debugging has become more involved and figuring out how other sites work in order to learn new techniques has become far more difficult. One of the greatest features of Firefox browser is its robust support of extensions. The scores of plugins now available for Firefox are a prominent factor in making it the most popular browser on the net. In this post, I am going to present 7 Firefox extensions aimed at simplifying web development. These are must-have for both beginner… View full post »