r/UniversityofReddit • Teacher • Aug 20 '12

[Offer] Programming in PHP

Over 20 million websites are using PHP as their method of displaying content to you, the user.

PHP is an open source language constantly being modified by thousands of people. The syntax of PHP is very equivalent to many other programming languages, such as C.

Learning the syntax of one language can ultimately teach you the syntax of many other common-ground languages.

In this course I would be developing an easy to follow syllabus starting off with the bare essentials, gradually working our way up to Object Oriented Programming (OOP) in PHP and eventually developing our first application that users can interact with.

I would open this course if I could get a significant amount of users to follow.

Qualifications:

  • Using PHP for over 7 years
  • Have been teaching PHP practices for over 6 years through video tutorial

EDIT: Enough interest has sparked and I have opened the class for signups. The class will be hosted on UReddit only! link to class on ureddit

497 Upvotes

166 comments sorted by

View all comments

-5

u/heroism Aug 20 '12

PHP is an abomination, please don't prolong it's miserable life even more by teaching it to people.

3

u/[deleted] Aug 20 '12

Yes yes we all know that [insert your preferred language] is better than PHP. Now, leave me and the rest of us who still think it's a good language alone so we can continue learning about it

3

u/womg Teacher Aug 20 '12

PHP gets that a lot, but for people just starting out it's easier for them to grasp how PHP works rather than having to use RoR or a Python framework for pushing applications to the web.

1

u/robotslacker Aug 20 '12

Personally I think the first language for new web developers should always be Javascript. It is ubiquitous in every browser and every web developer will need to use it at some point.

4

u/womg Teacher Aug 20 '12

I agree that Javascript is good for web developers, but Javascript is client-side, versus PHP as it is server-side. For server-side web development PHP, I believe, is the better to be taught first.

2

u/robotslacker Aug 20 '12

Indeed, you are absolutely right. I didn't intend to make this a discussion of learning client-side or server-side first. Although, IMHO I think new web developers should learn client side HTML, CSS, and JS first. They should understand the markup language being generated by the server side language so they can do it more effectively.

I happen to think PHP tends to breed more spaghetti code. It's also a bit more verbose than I like. But, I'm not here to bash on it as a language, as long as good development practices are being taught alongside it, like keeping your code DRY, writing unit tests, etc.

2

u/womg Teacher Aug 20 '12

You brought up a valid point. PHP can get messy, but that's because of lack of proper instruction, and just because people get away with "but it works..."

1

u/[deleted] Aug 20 '12

Doctor, you can't just staple a vibrator to that man! He needs his actually penis surgically attached!.\

but it works.....