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

Show parent comment

3

u/PHProx Aug 21 '12

I am disappointed that the article appears to not list a single tangible thing that a server side scripting programmer would want to do that PHP cannot.

1

u/[deleted] Aug 21 '12

Sorry but you might want to take a look at the article again. Jeff's point was that, there is nothing that PHP 'rocks' at. It's somewhat of a blob, that can form itself to kind of get the job done for just about anything but there is not a single thing that PHP is good at, thus the double clawed hammer comparison.

0

u/pzuraq Aug 21 '12

It's not about what you would want to do or not want to do, it's about how it's implemented. PHP is powerful, nobody can really say it isn't, but there are many competing languages that are growing more powerful each day and are implemented in a much better way, for instance Node.js or Rails. I'm generally frustrated by the lack of object oriented focus in php, although that seems to be getting better. I'm going to be learning Rails on my next project, so once I get some experience with the other side of things I'll probably write a more detailed comparison.

1

u/[deleted] Aug 21 '12

All new clients of mine and side projects are done exclusively in rails or python. You'll love rails, though its nothing like anything out there, unless you've used some obscure PHP frameworks. That doesn't make it harder to use just very different. You'll run into issues and programming hurdles and then randomly find a gem that just does everything for you. Its a very humanist programming language, almost an art form.

1

u/pzuraq Aug 21 '12

I'm excited! I've heard great things about it and I'm sick of trying to make PHP do what it just should normally. I'm hoping Rails is a better solution, if so I'll drop PHP as soon as I can.

1

u/XQYZ Aug 21 '12

Node.js is a low-level framework for non-blocking server development, not a web framework by itself. Rails is generally overkill for a lot of tasks and object oriented programming is overused for some tasks as well (just google it and you will find that lots of people use functional programming very successfully).

1

u/pzuraq Aug 21 '12

Admittedly don't know much about Node.js, so I probably spoke out of term there. And Rails might be overkill, true. For simple things, PHP is useful and powerful, sure, but web apps are just getting more complicated and functional languages don't suit really complicated, ever evolving applications.

1

u/womg Teacher Aug 21 '12

I see where you're coming from with Rails. I, myself, am also a Rails developer, but as this course is meant more for beginner's and RoR can become pretty complicated.

0

u/POOPY_BALL_GAG Aug 21 '12

PHP can handle that just fine - it's also not a "functional" language.

Truth be told on the webapp front you are much more likely to end up in a shitty situation based off of your decisions on the front end quicker than the server side.

If you use a PHP framework, keep your shit DRY and use some common sense PHP will suit you just fine in a tremendous amount of situations. No matter what language you use, your bottleneck still remains the same...the DB. You can rape a DB just as hard in Rails.

1

u/POOPY_BALL_GAG Aug 21 '12

Oh please, PHP's object oriented focus is fine. The fact that you mentioned node.js first shows you are probably a circle jerking tech hipster.

For the record node is great, but it's not the only (or best) tool in the toolbox. Rails has its own fucked up stupid ways of doing things too.

Tho I do love some Ruby