Tuesday, February 21, 2012

How To Improve Your PHP Development Skills

By Clare Westwood


How To Improve Your PHP Developer Skills

PHP is the most popular web development language, it is estimated that at least twenty million domains are currently built in PHP and sites such as Facebook and Wikipedia are included in that as well as wordpress and drupal site.

If you are attempting something fairly simple the chances are that there is already a PHP function that can help you. Make sure you always check before going on to make your own PHP functions.

It makes good sense to create a master file rather than having all of your database connections spread about. If you need to amend the settings this can always be done at a later date.

Sanitizing your database is essential if you want to avoid having to revisit work later on. Getting a good understanding of what SQL injections are essential. Making an SQL cheat sheet will help you.

When you are in the development stage it is important to leave error reporting turned on. You will then be able to see run time errors and therefore identify where they have originated from. The sooner you know your errors the faster you will be able to fix them.

It makes sense not to over document your code. Commenting in your script is wise but comments in every line are unnecessary. Comments should be kept for complicated areas rather than simple actions.

It makes good sense to keep your favourite and mot used pieces of code handy. You'll be reusing them all the time throughout your career so having them stored somewhere close by is wise.

Using a good source editor is wise as you will spend most of your time editing your work. Syntax highlighting is an absolute must and certainly something you need to have a specific software for.




About the Author:



No comments:

Post a Comment