Module Two Overview

Lessons Learned in Module Two

Module Two covered PHP, a general purpose scripting language that is well suited for web development. This ties in with the previous module one lessons about HTML as PHP is first interpreted with a PHP processor module, which then generates resulting HTML code. PHP can be embedded into HTML code, or it can be used in combination with various web template systems, web content management systems and web frameworks.

Module Two contained a variety of lessons about PHP, including interactive assignments in Codecademy, tutorials via Eli Tutorials on YouTube, quizzes through W3Schools, demonstrations through The PHP Manual, and a textbook assignment. Through these lessons I learned PHP syntax, control structures, and functions, as well as learning about the concept of object-oriented programming. Object-oriented programming is a far reaching concept that can be applied to a number of programming languages, allowing you to create objects that can be called throughout the code. Perhaps the most important lesson in this module was through one of Eli's PHP tutorials, covering HTML forms and PHP programming, which is detailed in the learning artifact section below.

Learning Artifact

Eli the Computer Guy gives a number of extremely informative PHP Tutorials which helped me to really understand PHP in the context of how it is useful in interacting with HTML. One of the most useful lessons was HTML Forms and PHP Programming, which allowed me to build an HTML form that will accept user input in a variety of methods - through text box, option box, and radio button. After submitting the form, it will use PHP to process the code and output the answers that the user has supplied. Initially, PHP was a little confusing to understand as a concept pertaining to how it interacted with HTML, but after building this form it was easy to understand how both languages interact with each other, and how each processes different parts of the code. Please click the image preview below to see a working demonstration of this form, which will accept your name, T-shirt size, and gender.