Wedge

Public area => The Pub => Off-topic => Topic started by: Bunstonious on February 6th, 2014, 09:29 AM

Title: PHP | Learning
Post by: Bunstonious 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.
Title: Re: PHP | Learning
Post by: Nao 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
Title: Re: PHP | Learning
Post by: Bunstonious 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.
Title: Re: PHP | Learning
Post by: Wanchope on February 6th, 2014, 11:02 AM
You should start from HTML first. How good are you with html?
Title: Re: PHP | Learning
Post by: Bunstonious 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.
Title: Re: PHP | Learning
Post by: Wanchope 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
Title: Re: PHP | Learning
Post by: Norodo on February 6th, 2014, 04:00 PM
I think you should just start with PHP. It's an independent, simple to learn language.
Title: Re: PHP | Learning
Post by: forumsearch0r 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.
Title: Re: PHP | Learning
Post by: havok on February 6th, 2014, 06:11 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.
Title: Re: PHP | Learning
Post by: Nao 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.
Title: Re: PHP | Learning
Post by: CerealGuy on February 6th, 2014, 07:08 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.
Title: Re: PHP | Learning
Post by: kimikelku on February 6th, 2014, 07:28 PM
Im learning java and c++ at the school and my teacher gave me this pdf with some basics, for what i could see the logic is the same for java, c++ and php, the only diference is the syntax.
https://drive.google.com/file/d/0B5yQGrg_MZ3iTTBIR3VCTDduMDQ/edit?usp=sharing
Title: Re: PHP | Learning
Post by: Bunstonious on February 6th, 2014, 10:10 PM
Thanks for the responses guys...

#soawesome
Title: Re: PHP | Learning
Post by: Maxx on February 10th, 2014, 01:23 AM
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(http://wedge.org/profile/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
Title: Re: PHP | Learning
Post by: Wanchope 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?
Title: Re: PHP | Learning
Post by: Maxx on February 10th, 2014, 01:53 PM
Yes Most sure it is! you'll need to put the phone down LOL JK :) you kids with your toys!

regards,
Maxx
Title: Re: PHP | Learning
Post by: Wanchope on February 10th, 2014, 03:59 PM
Quote from Maxx on February 10th, 2014, 01:53 PM
Yes Most sure it is! you'll need to put the phone down LOL JK :) you kids with your toys!

regards,
Maxx
Thanks sir, it's just I am more comfortable reading and lying down on the bed. My 15.6' laptop makes that uncomfortable for me, maybe I should buy a tablet  for such purpose. The website looks net and superb btw. Will be quite handy especially this http://www.codecademy.com/tracks/python. I also will advice anybody that want to learn ANY programming language to start from HTML first. It is always helpful.
Title: Re: PHP | Learning
Post by: Maxx on February 12th, 2014, 08:35 PM
another link for the codeacademy:
http://www.codecademy.com/learn

An when I started on web, there nothing much to help me out in learning the HTML, so like everything I have to take it apart see what makes it tick. and had to like teach myself, day by day little stuff. I had to visit sites that  I liked the looks of various little things, and look at the code a see how they did it and at the same time experimenting with the bits of code tweaking play to see what could be done with it. and these ways I discovered what could be seen in the browser window and what could not and just kept going from there. Now days there is so much help out there one only needs to search or seek and it will be found. I started with very basic stuff then work my way up make pages and then web sites the rivers keeps flowing to the Sea!

If any one wants to do anything bad enough or has to in order to survive they will indeed learn it.

regards,
Maxx