How to Learn PHP
TO choose which language to learn you might have googled and found the blogs comparing their respective languages with PHP, showing that how ‘X’ language is better than PHP and how PHP is gonna DIE soon..and knowing ‘how to learn php’ is a difficult stage…
Well, The fact is ‘Haters gonna Hate!!!’… 😛 …PHP has been the helm of web world, and almost 90% of websites are built in php. The reason is it is so matured language, with excellent documentation and number of resources available all over. And by knowing exact way of ‘how to learn php’ you’ll enjoy and fall in love with this language. 🙂
PHP a “Hypertext Preprocessor” is one of the most popular open source scripting language. This a sever-side language used for making web-pages. The reason of PHP being so popular is this was one of the first sever-side scripting languages which was embedded in HTML.
If you are having a website PHP helps you to interact with your visitors in ways that HTML can’t alone. But PHP is not a formatting language, so though it does many more things happen that HTML can’t, it can’t give a look to your site. So it is necessary to have some knowledge of HTML, CSS for PHP.
To learn php is a very easy process. Once you get started, you’ll be surprised at how simple it realy is :). And Believe me it is!! So if you are a beginner and are interested in learning, guys Vedant IT Academy is the place for you.
Step # 1: Installation of PHP through [X]AMP
Before starting with PHP you need some tools like Local Server to execute your code at your pc level. So download any sever like WAMP, XAMPP, or LAMP if you are using Linux. Install it on your computer by following the steps mentioned in their documentation. Once you are done with it..you are read to go create and test crazy things you are doing ;)…!
Step # 2: Hello World!!!
Now as you are starting it from scratch, execute the ‘very famous and gets executed in every language 😀‘ program that is ‘Hello World’. Check out my blog on why every language makes ‘Hello world’ program..?? It’s best to not try to build something too complicated and fail though — it’s a lot more disheartening than you’d think. So first try simple things.
Congrats for your First running program in PHP..!! was it hard…?? There you go…
Step # 3: Create little bit complicated
Now take step ahead and have some logic building for simple math calculations. Working..?? Great…:)
Now try for some Forms submitting with database connection and storing the information. Refer the books like
Try out more and more and practice on Looping techniques. some others on operators, arrays, strings
Go ahead and play with the new logics and play with your brain ;)..
Step # 4: Try out Frameworks
Learn the frameworks like Codeigniter, Cakephp, Yii. Understand the concepts on Joomla, Drupal, WordPress etc. Make something great and different.
Make something differnt for your own site.
Step # 5: Get deep inside PHP ocean and Be up to date
The web developement industry is hardly in the state of equilibrium. It keeps updating all the time. New frameworks, libraries, tools are being introduced every day. and you must be having the habbit of not only reading them but to implement it in your applications.
Question arising into mind how to keep ourself updated???…here is the solution..
Visit site of Vedant IT Academy