Best resource to learn PHP?
Author Message
c4goldsb Offline
Student


Reputation: 1
Post: #1
Best resource to learn PHP?
Hi,

So, in the textbook and on the companion Coursera website, PHP is a major topic. While I know very little about it, I imagine it is a technology that heavily ties in to relational databases, since, well...it's a topic in the textbook! As a result, after having taken CSC343, I would imagine it would not be a significant stretch to try and learn PHP, given that we likely have many of the fundamental tools and mindset. Other than the textbook and the Coursera website, which resources would you recommend trying to learn PHP? One of the reasons this course was so successful in teaching us SQL is because the evaluations were fairly challenging. Is there a resource out there that tests our understanding of PHP in a similar challenging fashion? And how can we "implement" PHP on either our home computers or the CDF machines?

Thanks in advance.
2014-04-27 13:57
Find all posts by this user Quote this message in a reply
t4yewtzu Offline
TA


Reputation: 8
Post: #2
RE: Best resource to learn PHP?
I recommend looking at Professor de Lara's CSC309 class (http://www.cs.toronto.edu/~delara/courses/csc309/). Manos also used to teach that course during summers and here is the page for his version: http://queens.db.toronto.edu/~papaggel/courses/csc309/
2014-04-27 19:44
Find all posts by this user Quote this message in a reply
papaggel Offline
Instructor


Reputation: 5
Post: #3
RE: Best resource to learn PHP?
PHP is not directly related to databases or SQL. It is a server-side scripting language (similar to JSP, JServlets, ASP, Python, Ruby, etc) and is very powerful and popular tool for creating dynamic and interactive web pages quickly.

Now, since many web services are data-intensive, they require access to a database, so PHP (as all as the rest of the server side scripting languages) provides ways to connect and query a DBMS (such as MySQL, PostgreSQL, etc.). To give you an example/analogy, we could have used PHP for the "embedded SQL" part of A2 (instead of Java/JDBC).

If you have background in any other programming language (C, Java, Python) you will probably find PHP very easy to work with. A good starting point is the documentation of PHP (http://www.php.net/manual/en/ ), as well as, the tutorial on w3schools (http://www.w3schools.com/PHP/default.asp ).

Most importantly, take the extra mile to install Apache/PHP/MySQL on your computer and try experimenting. There are many resources online on how to install and test all three at once.
(This post was last modified: 2014-04-27 23:10 by papaggel.)
2014-04-27 23:09
Visit this user's website Find all posts by this user Quote this message in a reply
t4yewtzu Offline
TA


Reputation: 8
Post: #4
RE: Best resource to learn PHP?
About PHP, you pretty much have to do it on your own setup now unless you plan to register in any more official CSC courses, since your CDF account will be deactivated soon (like both of mine).

I use an Ubuntu virtual machine when working with PHP offline (running Apache locally). A good guide (that I recently followed when I set up a VM on a new laptop) is here: https://help.ubuntu.com/community/ApacheMySQLPHP
(This post was last modified: 2014-04-28 09:56 by t4yewtzu.)
2014-04-28 09:53
Find all posts by this user Quote this message in a reply
c4goldsb Offline
Student


Reputation: 1
Post: #5
RE: Best resource to learn PHP?
Excellent! Thank you both so much!
2014-04-28 13:57
Find all posts by this user Quote this message in a reply
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


Forum Jump:


User(s) browsing this thread: 1 Guest(s)