понедельник, 29 марта 2010 г.

What Is the Best Way to Learn PHP

What is the best way to learn scripting languages such as PHP?
The answer depends upon your learning style. Since every person has his own learning style, what works best for someone else may not be the best for you.

People learn and take in information through their five basic senses. On the practical side, it is unlikely that you'll learn much about scripting PHP from sniffing or tasting it. That leaves the sense of hearing, the sense of sight, and the sense of touch.

Aural Learning – The Sense of Hearing
If you are an aural learner, the best way for you to learn scripting languages is by talking with people who are familiar with them and can explain how PHP works. You may wish to take a class where you can ask questions from a live teacher or join a forum that allows you to ask your questions there.

Visual Learning – The Sense of Sight
Visual learners often find that trying out one of the many online tutorials is the best way for them to learn how to use PHP code. Most tutorials ask you to download a program that will allow you to test the codes on your own computer. You learn by copying existing codes and then editing them to see what changes.

Kinetic Learning – The Sense of Touch
A tutorial is a good starting point for the kinetic or hands-on learner as well. These have the advantage of giving specifically directed mini-assignments where you get immediate feedback on the action you performed. Sooner or later, most kinetic learners want to jump out of the tutorial and "just do it" by practicing on their own.

Traditional Learning – Reading
Books remain an important tool for learning. Primers written in non-technical language help beginners of any learning style. Later, after grasping the essentials and the jargon of scripting, reference books can augment your basic knowledge.

Tips for Learning Simple Php

Tips for Learning Simple Php


By: Ronald W. Firquain


When you are trying to learn a new programming language like PHP, it can get a bit intimidating, especially if you have never had experience with other programming languages before. But trust me, the toughest hurdle is really the starting point. Once you have gotten over that, it is really just a matter of keeping your focus and practicing. Be patient and learn the steps one at a time and you will get there. Here are some tips to help you learn simple PHP:





Learn the basics.


To learn a new language, specifically a programming language, you will need to have basic computer skills. Before you can learn PHP, you need to have a basic background on HTML. This is necessary to make PHP easier to grasp. Plus, you can alternate between the two later on using the same document.





PHP is a language that uses scripting and often used with HTML to supplement functions that HTML lacks. With PHP, you can collect and process data, make comparisons and calculations things that you can not do with HTML. Using this skill, you can create other functions to produce data that is more specialized.





Get the tools.


To create PHP pages, you will need a text editor. A plain text editor is a program that lets you edit files in plain text. These are the ones that come with extensions such as. php, .cgi, .html, etc. These types of text editors will not save formatting on the file, only the plain text. If you have been using a text editing program for your HTML file, that will do. you will probably use either Notepad (for Windows) or Text Edit (for Mac).





Get an FTP.


A File Transfer Protocol or FTP is used to exchange files from your computer to a remote server. This is the one we use to connect on a LAN or to an Internet site.





Get busy.


Once you have the right tools, you will have to practice creating files using PHP. There are some very important stuff that you will need to learn, including basic mathematics and IF statements and using variables. you will have to go through these first before you can hope to build a reliable PHP file.





Once you know your way around these skills, you can then start learning about loops. Loops are just your basic true or false statements that will perform repetitive actions again and again until certain conditions are met. After mastering the loops, you can then learn how to write your very own functions. Once you have learned how to manipulate the codes to create your desired result, there is virtually no limit to what you can do.





Online resources for learning simple PHP


You can not possibly learn simple PHP from a single short article like this, so it is best to expand your knowledge and turn to other resources like books and online sites. Some sites to check out:





PHP.About.com


There are several articles on this site that discuss the most basic information you need to know to learn simple PHP. This is a great source for web based tutorial that features clear step by step instructions on using PHP, HTML, XML and MySQL databases.





PHP Buddy.com


This site contains Quick Start tutorials on PHP and scripts that will make it easy for you to learn the program easily. This includes a brief introduction and learning basic PHP syntax. There are also valuable tutorials on using cookies, data inscription and working with functions and sessions using PHP.





PHP Freaks.com


This is a site for people who want to learn both PHP and MySQL. The site has 90 tutorials on PHP, more than 400 PHP code examples and nearly 3,000 articles that discuss various information, tips and tricks to make learning simple PHP quick and easy.


About the Author


Ronald Firquain is a writer, marketer, entrepreneur, webmaster and has 16 years of computer knowledge. You can download e-books for making money online, building a website, improve your golf game, playing guitar and much more. For more information go to: eBooks Mall

(ArticlesBase SC #159206)


Article Source: http://www.articlesbase.com/ - Tips for Learning Simple Php