Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   How I can learn PHP? (https://www.warriorforum.com/programming/756295-how-i-can-learn-php.html)

almiller 20th February 2013 04:02 AM

How I can learn PHP?
 
Well I am looking for good website where I can learn PHP! I have a subject in my study and I also want to use PHP knowledge in my freelancing work so it's helps me to do good in study as well as making money from it!

Please share some links where I can learn it step by step.

Thanks in advance.

Michael71 20th February 2013 04:29 AM

Re: How I can learn PHP?
 
Let me google that for you

nodesolomon 20th February 2013 06:48 AM

Re: How I can learn PHP?
 
You can go to w3schools, they have a good full on php section that will teach you the basics, however im against any newbie programmer learning php, because its not going to be the industry standard any longer,JAVASCRIPT IS KING right now, if you want me to advice you want start learning NODE.JS, which is very Hot right Now!! :)

Hope That Helps

Shellyannr 20th February 2013 07:39 AM

Re: How I can learn PHP?
 
w3schools.com is a good place to start.

Brandon Tanner 20th February 2013 09:27 AM

Re: How I can learn PHP?
 
Quote:

Originally Posted by nodesolomon (Post 7762632)
however im against any newbie programmer learning php, because its not going to be the industry standard any longer,JAVASCRIPT IS KING right now:)

That makes absolutely no sense, because they are 2 completely different languages which run in 2 separate environments (server vs browser). PHP is best for some tasks, and Javascript is best for other tasks.

For any task that can be accomplished with both languages, it's usually best to use PHP for it, because a small percentage of people will have Javascript disabled in their browser.

So which language you should learn ultimately depends on what you want to accomplish, and what your goals are. That said, I think it's good to know both languages.

To the OP, check out this list of tutorials.

wayfarer 20th February 2013 09:33 AM

Re: How I can learn PHP?
 
Quote:

Originally Posted by Brandon Tanner (Post 7763215)
For any task that can be accomplished with both languages, it's usually best to use PHP for it, because a small percentage of people will have Javascript disabled in their browser.

Well, to be fair, he was talking about node.js, which does execute on the server, so what happens in the browser shouldn't matter at all.

However, as a professional client-side (JavaScript) programmer myself, I am highly skeptical of using JavaScript on the server. This is because JavaScript is just not a very robustly designed language, it is riddled with idiosyncrasies such as this: n = "1" + 1; alert(n); //alerts 2.

I believe it is much better to use a more solid programming language when dealing with something as powerful as a server. Even PHP is a strict language compared to JavaScript.

Brandon Tanner 20th February 2013 09:59 AM

Re: How I can learn PHP?
 
Quote:

Originally Posted by wayfarer (Post 7763250)
Well, to be fair, he was talking about node.js, which does execute on the server, so what happens in the browser shouldn't matter at all.

I assumed he was referring to traditional Javascript, since he used the words "JAVASCRIPT IS KING".

If he was comparing PHP to node.js... I'm not familiar enough with node.js to know how it compares to PHP. But that would make an interesting discussion.

ankur625 20th February 2013 11:56 AM

Re: How I can learn PHP?
 
1) learn basic on w3schools
2) purchase good ebook/printed books from sitepoint.com
3) lynda.com for video tutorials
4) vtc for video tutorials

KingRoyal 20th February 2013 12:47 PM

Re: How I can learn PHP?
 
Learn to code | Codecademy is really good too IMO

nodesolomon 20th February 2013 05:49 PM

Re: How I can learn PHP?
 
Quote:

Originally Posted by Brandon Tanner (Post 7763215)
That makes absolutely no sense, because they are 2 completely different languages which run in 2 separate environments (server vs browser). PHP is best for some tasks, and Javascript is best for other tasks.

For any task that can be accomplished with both languages, it's usually best to use PHP for it, because a small percentage of people will have Javascript disabled in their browser.

So which language you should learn ultimately depends on what you want to accomplish, and what your goals are. That said, I think it's good to know both languages.

To the OP, check out this list of tutorials.

Thanks for the reply, but in terms of node.js which is a server side langauge run v8 engine, you write your code in javascript, it has nothing to do with the browser. It's much faster than php. you don't have to deal with a lot of the CR*P that you with PHP like .htaccess and .conf files

for example

Code:

var express = require("express");
var app = express();

app.get("/twitter_posts", function(req,res) {
        res.render("<p> Hello World </p>");
})

;

BAAAM, you have yourself a webserver in a couple of lines that renders html pages, and user friendly urls "/twitter_people" instead of dealing with overly complicated dynamic urls that you would do in PHP.

Brandon Tanner 20th February 2013 06:27 PM

Re: How I can learn PHP?
 
Quote:

Originally Posted by nodesolomon (Post 7765541)
Thanks for the reply, but in terms of node.js which is a server side langauge run v8 engine, you write your code in javascript, it has nothing to do with the browser. It's much faster than php. you don't have to deal with a lot of the CR*P that you with PHP like .htaccess and .conf files

for example

Code:

var express = require("express");
var app = express();

app.get("/twitter_posts", function(req,res) {
        res.render("<p> Hello World </p>");
})

;

BAAAM, you have yourself a webserver in a couple of lines that renders html pages, and user friendly urls "/twitter_people" instead of dealing with overly complicated dynamic urls that you would do in PHP.

Sorry, I thought you were talking about regular Javascript in your previous post. Node.js does look interesting. Would be really cool if jQuery could run server-side!

nodesolomon 20th February 2013 06:37 PM

Re: How I can learn PHP?
 
Quote:

Originally Posted by Brandon Tanner (Post 7765715)
Sorry, I thought you were talking about regular Javascript in your previous post. Node.js does look interesting. Would be really cool if jQuery could run server-side!

Oh kool no worries :), you can use all the jquery function in node.js by installing the jquery module:

in the command line type(first you got to install nodejs)
Code:

npm install jquery
then add it to your script

Code:

$ = require("jquery");
....

you can also install another module called cheerio, which is a lightweight version of jquery, which i think its better, because you can't deal with THE DOM
in the node.js enviorment

Code:

npm install cheerio
another thing is if you do learn nodejs, you write one language for both client side and server side, which for me is perfect.

Brandon Tanner 20th February 2013 07:17 PM

Re: How I can learn PHP?
 
Quote:

Originally Posted by nodesolomon (Post 7765763)
Oh kool no worries :), you can use all the jquery function in node.js by installing the jquery module:

Wow... I had no idea that could be done. That opens up all kinds of interesting possibilities. :)

Thanks for the heads up!

Charles AK 20th February 2013 07:53 PM

Re: How I can learn PHP?
 
I don't think you truly understand the difference between the two languages, websites can't function with java-script alone as they need server side functionality.

kumarvijay 21st February 2013 05:48 AM

Re: How I can learn PHP?
 
You Should Join School as basic things Comes from . So Suggestion for You is to with w3schools.com where one can learn basic to advance Concepts with their rich Tutorial help .
Thanks

carleywatson 26th February 2013 07:38 AM

Re: How I can learn PHP?
 
you can learn PHP at w3school website.

weaveronline 15th March 2013 08:30 AM

Re: How I can learn PHP?
 
w3 schools will be a better option , If you are interested in joining an online php coaching,just sent me an email. We do have step by step , assignment oriented training sessions.

BrandVortex 16th March 2013 07:13 AM

Re: How I can learn PHP?
 
Here is a full fledged guide that will help you in getting started -

The Best Way to Learn PHP | Nettuts+

Mary_Jane 16th March 2013 07:06 PM

Re: How I can learn PHP?
 
lynda.com are definitely the best. $25 per month but definitely worth it.

They also have some free you should check out

annaharris 25th March 2013 06:07 AM

Re: How I can learn PHP?
 
PHP is an open source and easy to learn online. You can start from w3schools.com. In addition, there is an official website of PHP, "www.php.net" So, use this site to learn PHP in a proper way.

Diversion52 25th March 2013 05:11 PM

Re: How I can learn PHP?
 
If you really want to dive into coding check out this free Harvard course CS50 This course was a real game changer for me.

But as a simple PHP course my favorite is the PHP fundamentals course at TutsPlus

ZackAllen 28th March 2013 12:00 PM

Re: How I can learn PHP?
 
php.net is the best source to learn php.

css4me 2nd April 2013 06:21 AM

Re: How I can learn PHP?
 
You can learn from php.net or w3Cschools they both have great tutorials for helping you getting the understanding of the basic concepts step by step.

OmGz 2nd April 2013 07:29 AM

Re: How I can learn PHP?
 
I would not recommend W3Schools under any circumstances;
W3Fools

As for how to learn PHP; it differs per person. Some people read books and some people just play with it. Others follow video tutorials.

wayfarer 2nd April 2013 09:48 AM

Re: How I can learn PHP?
 
Quote:

Originally Posted by OmGz (Post 7925221)
I would not recommend W3Schools under any circumstances;
W3Fools

Haha, that was an interesting read.

webcosmo 2nd April 2013 02:19 PM

Re: How I can learn PHP?
 
Fastest way is to try and do something, try making a simple guestbook, and learn the basics just doing it. There are lots of resources for that, for example php.net.

carleywatson 4th April 2013 12:08 AM

Re: How I can learn PHP?
 
I have a same problem but i lean PHP with w3school and phpeasystep.there are more example given.

rypher21 23rd April 2013 01:45 AM

Re: How I can learn PHP?
 
If you want to learn more about PHP, you can visit w3schools for online tutorials. :)

eonejames 24th April 2013 11:43 PM

Re: How I can learn PHP?
 
There are so many free tutorial, video and websites available where you can easily learn PHP. If you have any queries regarding PHP coding then so many forums are also available where you can easily share your problem and people will give you favorable reply. Initial basis you can learn from w3schools which is the best website you can learn easily.

Sam Woods 25th April 2013 09:05 AM

Re: How I can learn PHP?
 
Personally I think actually trying to do something in PHP will teach you the most. Try getting something from a webpage and echo-ing a certain bit. Look up how to do each stage from opening up the page to displaying the section.
After this try to do something a bit harder. Always push yourself so you have to research how to do something you NEED for what your doing.

I think actually diving into it will give the most benefit.

annaharris 1st May 2013 06:06 AM

Re: How I can learn PHP?
 
There are lots of online e-books, tutorials and coding examples available, which provides you each and every information without any cost.

timgreen 1st May 2013 09:39 AM

Re: How I can learn PHP?
 
Quote:

Originally Posted by KingMighty (Post 7764175)
Learn to code | Codecademy is really good too IMO

I second that, Codecademy is a really good tool.

ZephyrIon 1st May 2013 01:34 PM

Re: How I can learn PHP?
 
Go to code.org

Night Dreamz 1st May 2013 02:38 PM

Re: How I can learn PHP?
 
best sites for php learning are :
PHP Tutorial - Introduction
PHP Tutorial

Download wampserver or xamp server to run php files , & use Sublime text to write your php code download sublime from here.
Sublime Text: The text editor you'll fall in love with

hope my few words will help you a lot...

vick2011 3rd May 2013 08:34 PM

Re: How I can learn PHP?
 
Hi,

If you need specific help you could ask on Onlinesupport Q&A as a webmaster I could prob help you too.

Namun 4th May 2013 07:19 AM

Re: How I can learn PHP?
 
Lynda's tutorials are always helpful.

You can start with:

Introducing PHP with David Powers

PHP with MySQL Essential Training with Kevin Skoglund


All times are GMT -6. The time now is 11:47 AM.