PHP | Learning
Nao? »

Bunstonious

  • Espada
  • Posts: 204
PHP | Learning
« on February 6th, 2014, 09:29 AM »
If one was to want to learn PHP, but has minimal programming knowledge, where would one start. Hypothetically?

One may have dabbled in HTML at some point, maybe even some introductions of C++ and Pascal.

Just curious where one would start.
Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: PHP | Learning
« Reply #1, on February 6th, 2014, 09:55 AM »
Dunno, personally I never followed a tutorial or learned C (on which PHP is loosely based), I only had expertise on Delphi Win32 development. I just looked into the codebase of any software I installed on my server. phpBB, then WordPress, then SMF... That's just how I learned. Same for JavaScript, really.

Can't you just google 'PHP tutorial' if you prefer tutorials as opposed to just tweaking until it sinks in..? :P

Bunstonious

  • Espada
  • Posts: 204
Re: PHP | Learning
« Reply #2, on February 6th, 2014, 10:07 AM »
I have, Google results are starting to get a bit excessive.
Posted: February 6th, 2014, 10:07 AM

Will keep at it, just thought I would check and see what others have done.

Wanchope

  • Posts: 234
Re: PHP | Learning
« Reply #3, on February 6th, 2014, 11:02 AM »
You should start from HTML first. How good are you with html?

Bunstonious

  • Espada
  • Posts: 204
Re: PHP | Learning
« Reply #4, on February 6th, 2014, 11:06 AM »
Quote from Wanchope on February 6th, 2014, 11:02 AM
You should start from HTML first. How good are you with html?
Pretty good, been using stock HTML since high school 11 years ago.

Wanchope

  • Posts: 234
Re: PHP | Learning
« Reply #5, on February 6th, 2014, 11:37 AM »
Then I think php will be easy for you. There are many websites offering free tutorial on php. Here is one I downloaded which I feel may be useful to you and other beginners. Attached

 php_tutorial.pdf - 943.86 kB, downloaded 97 times.


Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: PHP | Learning
« Reply #6, on February 6th, 2014, 04:00 PM »
I think you should just start with PHP. It's an independent, simple to learn language.

forumsearch0r

  • Posts: 118
Re: PHP | Learning
« Reply #7, on February 6th, 2014, 05:52 PM »
Don't mix up HTML and PHP. While PHP usually compiles to HTML, both should be treated separately.

havok

  • Posts: 29
Re: PHP | Learning
« Reply #8, on February 6th, 2014, 06:11 PM »Last edited on February 6th, 2014, 06:40 PM
i tried the  codeyear, google codecademy
you get short exercises to work on. i find it good. currently learning the basics of functions in javascript.
@Nao thats impressive that you  taught yourself, i like the way you write your code it makes it easy to follow for a noobie like me.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: PHP | Learning
« Reply #9, on February 6th, 2014, 06:40 PM »
Err... Well, I don't comment it a lot... In fact, apparently I'm in the 10% worst open source projects when it comes to the comment ratio. Wedge has about 10% of comments versus code, SMF has close to 20%, and Elk has something like 21%. Honestly, I don't know why our numbers are so low, but I suspect it's also due to the fact that out headers are shorter... :P Okay, maybe not that much...

Also, if you don't like PHP, you could stick to JavaScript. You can perfectly run a website using only HTML and JavaScript, even a dynamic one, using Node.js, which is a cool server.

CerealGuy

  • Posts: 343
Re: PHP | Learning
« Reply #10, on February 6th, 2014, 07:08 PM »Last edited on February 6th, 2014, 07:15 PM
Just have a look at php and play with it. It's not that hard to learn but a very powerful language. You can nearly do everything with it, even its in some cases not the best choose (i dont like to run php scripts on a client but its possible ^^). I started with scripting on linux, bash, perl and stuff than later learned php. It's totally possible as first programming language. I'm more the "try and error" guy but look what fits best for you, video tutorials, text, interactive tutorials etc. Just try it and look whats best for you ;) Good luck!

And html is not a program language. I dont know the exact definition but its "just" how it looks. Therefore dont mess up with html, its not that kind of programming. I would suggest you to first have a look at php. It's more fun and you will understand html step by step parallel to php.

kimikelku

  • Posts: 61

Bunstonious

  • Espada
  • Posts: 204
Re: PHP | Learning
« Reply #12, on February 6th, 2014, 10:10 PM »
Thanks for the responses guys...

#soawesome

Re: PHP | Learning
« Reply #13, on February 10th, 2014, 01:23 AM »Last edited on February 10th, 2014, 01:30 AM by Maxx
The best place to study and learn them all is at the Free  codeacademy.com. you can keep track and go back recap everything. It's really cool and your gonna lov it!  as havok mentioned above!
HTML/5, CSS3, PHP, Java and lots more, build projects as you learn _ hands on learning realtime!

http://www.codecademy.com/
regards,
Maxx

Wanchope

  • Posts: 234
Re: PHP | Learning
« Reply #14, on February 10th, 2014, 05:50 AM »
Thanks for the link @Maxx, currently can't use the website because it is rejecting my mobile phone browser. Please is Python tutorial included there?