понедельник, 29 марта 2010 г.
What Is the Best Way to Learn 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
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
Why You Should Learn Php
Why You Should Learn Php
By: Levi Reiss
PHP is the most widely used web scripting language. This great software enables even relatively inexperienced programmers to develop dynamic web sites for virtually any web application. In a nutshell that's why you should learn it. Don't let anyone tell you that learning PHP is a piece of cake. Like any other programming language, mastering PHP is not a simple task. In spite of any promises, you won't become a master in 48 hours. So let's take a closer look at why you should make the commitment to learn this language. But first a word of encouragement, you won't have to master this extensive language to see the benefits.
Let's look briefly at what you need to develop and test PHP programs. After all, you can't learn to program without running and debugging (finding the errors in) real programs. The good news is that it is free. You can download it along with other useful applications for free. We recommend that you start with Version 4 unless you are an experienced programmer. Later on you can move up to Version 5. The rest of this article talks mostly about Version 4. A companion article will discuss Version 5.
PHP can run on old computers. For example, I downloaded it, copied it to a USB pen drive, and then copied these files onto a Pentium computer that had been purchased new in August, 1999. I couldn't access this program under Windows 98 because it didn't recognize my USB pen drive. But I ran it under Windows 2000 on this computer, which had an Internet browser but no live Internet connection. The entire system required less than 60 Megabytes. Moral of the story: You can run PHP even on outdated computers.
So you can do PHP. Why should you? First of all, it is open source. Free. Why pay big bucks for Microsoft or other competitive products? PHP and its friends are the most popular kids on the block. And it's popular with a wide range of users from strict beginners to hard-nosed professionals whose careers depend on performance.
PHP integrates well with HTML. You can do most of your web pages in HTML if that's what you are familiar with. If you prefer the newer XML you should move up to Version 5. It supports object-oriented programming. This article is not the place to explain object-oriented programming, the preferred methodology for developing sophisticated projects. Version 4 is a fine tool for learning the basics of object-oriented programming.
You won't have to reinvent the wheel. PHP provides more than 100 libraries of programming functions and over a dozen database access functions. Because it is open source scads of programmers are constantly pushing the envelop.
PHP is fast and flexible. Many claim that for technical reasons it runs faster than its competitors including the Microsoft offerings. PHP programs can be moved from the Windows environment to the Linux environment and still run. Word to the wise: If you are ever thinking of going Linux make sure to pay strict attention to capitalization. Linux treats File1 and file1 as two different files while Windows treats them as the same file. If you are totally strict in the use of lower-case and capital letters, it's very easy to move your web pages from Windows to Linux servers.
About the Author
Once upon a time Levi Reiss wrote ten computer and Internet books either alone or with a co-author. The books are over, at least for the time being, replaced by a multitude of websites, including global wine, Italian wine, Italian travel (www.travelitalytravel.com ), and health and nutritional aspects of wine. He has taught various and sundry computer courses including Linux and Windows operating systems at an Ontario French-language community college for decades. His new website http://www.linux4windows.com teaches you how to download and run Damn Small Linux even on that outdated Windows computer which has been gathering dust in the basement.
(ArticlesBase SC #606134)
Article Source: http://www.articlesbase.com/ - Why You Should Learn Php
Learn Php Programming Basics In 17 Hours
Learning Php Programming Basics In 17 Hours Is Possible Right Now!
By: Rick Beach
It does not matter weather your looking to spice up your web site as a hobby or if you are looking to save some money on PHP programming for you ecommerce sites. Learning PHP 5 has never been easier to do. There are thousands of PHP scripts out there, available for free just waiting for you to download them, and add them to your web site. The problem is that knowing basic PHP is a prerequisite to installing most PHP scripts out there on the Internet today. PHP has matured to the point that thousands of web site use PHP to add flavor and functionally to there web sites.
Learning PHP fast means knowing how to easily personalize you web pages, make easy .htaccess code for yourself, code games, create quizzes and other lead building tools with ease. You can even create your own auto responder quickly and easily. Even learn to mix JavaScript with PHP for a powerful combination and unleashing the power of your web site.
There are php coders on the Internet ready to build you anything you like, but you better be ready to pay upwards of $125 an hour for a pretty good PHP coder and a complete stranger to boot. Now is a great time to learn the basics of PHP for less than the cost of a coder for half an hour. Learn PHP basics and you will be installing free PHP code from all over the Internet in no time at all.
If you’re looking to enhance your computer career listen to this. The number of PHP enabled web sites is increasing each month and the number of contact programmers to work on them is actually going down. Many are retiring as the first of the old guard in the Internet revolution move on, and there is no one to take there place.
Pretty soon if you are going to want more than a few plain web pages on your web site then you going to need a PHP coder. There getting hard to come by now, and it certainly is going to get worse in the future. Making big bucks creating simple PHP programs is extremely possible now, and will only become easier in the future. There are only a few thousand registered computer science majors in school today due to the bad economy.
Not matter what your reason it is time to learn PHP today.
How would you like to have a real PHP pro teach you the basic of PHP programming one on one? Would that not make that learning PHP curve a bit easier to take? Learning how to learn PHP is almost as important as learning it itself.
Click here to Learn PHP programming today in 17 hours or less!
About the Author
Also visit my web site Affiliate Profits Secrets for more web site ideas!
(ArticlesBase SC #1816983)
Article Source: http://www.articlesbase.com/ - Learning Php Programming Basics In 17 Hours Is Possible Right Now!