Code Academy Assignment: PHP


General Overview

While I was doing my lessons in CodeAcademy for PHP, I learned syntax and concepts for many things such as arrays, functions, Object Oriented Programming, etc. for the PHP language. Overall, what I learned was mostly a review mainly due to the fact that I have prior experience in programming with languages such as Java and C++. However, there were a few things that were different in the syntax, such as the foreach loop, regardless of the fact that the concepts were very similar.

webpage

Arrays

While covering PHP concepts and syntax, one of the first things I was reintroduced to were arrays and how they functioned. Arrays are basically a variable that can hold many items, similar to a grocery list. The versatility of arrays in PHP is mindblowing, and there are endless possibilites of what your array can hold.

webpage

Object Oriented Programming

Another thing I covered in the tutorial which is actually a pretty advanced subject in C++ was Object Oriented Programming. I learned how objects are instances of a class and how a class can contain variables, methods, and overall make your life easier when it comes to calling functions, grouping items, etc. Luckily, the fact that I've delved into OOP in both Java and C++ gave me a better understanding of it and saved me from confusion.

webpage

< Return to Mod Two