Lesson 1: Getting Set Up

Getting Set Up
To start off I'm going to give you a short introduction to Php, where its used and why I think its a good place to start for a beginner like you. 

Php is a server side scripting language, which probably sounds like gibberish right now but don't worry! All will be explained! Whenever you upload a picture, login to a website, use a calender, take part in a poll, or even update your status on a site like Facebook, Php is used! Its the bit of code that sees what you've requested or clicked and runs to the server to get it and show it to you. Php is a great middle ground of client side languages like Javascript, for example when you type in a new username and a small box appears beside it saying that the name is taken this is php and Javascript working together in the background to find out and let you know! Otherwise you'd have to submit the form and wait for it to reload to find out that name is taken.

To start off you need to download one of the following depending on what operating system you have, WAMP for windows, MAMP for mac and LAMP for Linux. After that's downloaded follow the instructions on how to install it. I installed it here "C:\wamp", it makes it easy to access for what we need to do. Once you've installed it go to, My computer, C drive, and click on wamp, in there there'll be a folder called "www" where we'll be doing our programming. Create a new folder called "default wamp" in "www" and put the existing files in www into it. To access your server you'll need to type "localhost/" into the url bar. If you've skype or some sort of remote viewer or another server running you'll need to turn them off as they use the port required by *AMP.

Now you need to download and install Notepad++ from here for windows and Textmate for mac, from the macstore, the default Linux pad should be okay.

 When thats done you'll be all set to start learning how to program!

No comments:

Post a Comment

Please feedback in the comments section below!