Advertisement:

Author Topic: best way to learn PHP?  (Read 3291 times)

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 106
best way to learn PHP?
« on: April 15, 2012, 11:00:23 AM »
I've been dealing with phpbb3 for about 5 years now, not actually PROGRAMMING, but manually adding code, tweaking, etc.

I really do enjoy doing it, and I think I'd like to learn actually programming php specifically for SMF.

Are there any books or sites that anyone can recommend that can get me started?

I have a few mods in mind, and would like to give it a go

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,760
  • Gender: Male
Re: best way to learn PHP?
« Reply #1 on: April 15, 2012, 11:14:38 AM »
Beginning PHP 6, Apache, MySQL 6 Web Development

I refer to that book in college time, still do sometimes these days. Moreover start making some small codes on your own, it really helps in getting started.
Github Profile
My Mods
How to enable Post Moderation
Paid Support


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Yoshi

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,428
  • Gender: Male
Re: best way to learn PHP?
« Reply #2 on: April 15, 2012, 11:16:01 AM »
Beginning PHP 6, Apache, MySQL 6 Web Development

I refer to that book in college time, still do sometimes these days. Moreover start making some small codes on your own, it really helps in getting started.
Dontcha mean PHP 5?

Anyhow, I usually refer to http://w3schools.com/ as my tutorial site :)
Then use http://php.net/ to search for anything you don't exactly understand :)
My Mods / Mod Builder - A tool to easily create mods

Offline Kryzen

  • Localizer
  • SMF Hero
  • *
  • Posts: 3,642
  • Gender: Male
Re: best way to learn PHP?
« Reply #3 on: April 15, 2012, 11:32:52 AM »
I am sure many programmers would kill me for this, but the best way to learn PHP is to use it. Choose a software you want to make and use Google. Ask your friends. Use Google. Ask EVERYTHING you don't understand and ask for feedback. Try looking at the code of other projects and try to understand what it does. That's how I learned php. :)
Kryzen
Localizer

Offline Yoshi

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,428
  • Gender: Male
Re: best way to learn PHP?
« Reply #4 on: April 15, 2012, 11:35:59 AM »
I am sure many programmers would kill me for this, but the best way to learn PHP is to use it. Choose a software you want to make and use Google. Ask your friends. Use Google. Ask EVERYTHING you don't understand and ask for feedback. Try looking at the code of other projects and try to understand what it does. That's how I learned php. :)
* Yoshi2889 kills Dr. Deejay

Haha kidding. That's a way to learn it. Some programmers make good notations/comments in the source code of a project (like SMF) that explain what piece of code does what.
I personally suck at making comments so I usually put something silly in them ::) (aka don't use my code to learn PHP)
My Mods / Mod Builder - A tool to easily create mods

Offline Kryzen

  • Localizer
  • SMF Hero
  • *
  • Posts: 3,642
  • Gender: Male
Re: best way to learn PHP?
« Reply #5 on: April 15, 2012, 11:37:49 AM »
Some programmers make good notations/comments in the source code of a project (like SMF) that explain what piece of code does what.
Exactly :)

Oh and don't be afraid to make mistakes. I made mistakes all the time, but mistakes are good, because you can learn from them. :)
Kryzen
Localizer

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 106
Re: best way to learn PHP?
« Reply #6 on: April 15, 2012, 11:52:58 AM »
Thank you so much!!

I do really like how SMF is set up.

I liked Phpbb3, but SMF somehow seems "cleaner", if that's possible.

Looks like I have a lot of reading to do :)  I use w3schools for css all the time, I didn't even THINK to look if they did php too!!

Offline Yoshi

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,428
  • Gender: Male
Re: best way to learn PHP?
« Reply #7 on: April 15, 2012, 11:56:42 AM »
Yeah, SMF is way cleaner then any software in my opinion. SMF's more made to make modifications to it's core.
My Mods / Mod Builder - A tool to easily create mods