Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
41 views

Module 1 - Get Started With Web Programming

Module 1

Uploaded by

karanaffiliate26
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Module 1 - Get Started With Web Programming

Module 1

Uploaded by

karanaffiliate26
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Module 1: Get Started with Web Programming

Overview
This module introduces the concepts and terms that you need for web application development. Have you ever wondered how a
website such as Amazon presents customized information for you and different information for your friends? Have you ever wanted to
build an interactive website that dynamically changes its response for different requests? After finishing this module, you will have all
the necessary background for learning how to write code for dynamic web applications.

Learning Outcomes
By the end of this module, you should be able to:

Understand the major areas and challenges of web programming.

Describe the components of a client-server architecture.

Describe HTTP requests and responses.

Distinguish between the way a web server processes static web pages and dynamic web pages.

Deploy a PHP application on your own computers.

Run a web application that is on your own computer (1) by entering its URL into the address bar of a browser or (2) by
getting and using an index of the applications on the web server.

Distinguish web-related technologies.

Explain what the software components do as a web application runs: Apache, PHP, Chrome, and MySQL.

Describe the difference between MySQL and MariaDB.

Describe the way a PHP application is deployed on your own computer or on an Internet server.

Describe the components of an HTTP URL.

Assessment
There are no graded assessments for this module.

Activity Checklist
The following is a list of suggested activities that will help you to better learn the content of this module.

Activity 1.1: Configure Web Application Development Environment

Activity 1.2: Pre-Test

Activity 1.3: Introduction to Web Application

Activity 1.4: Basic Components of a PHP Application

Activity 1.5: Edit and Test PHP Application

Activity 1.6: Integrated Development Environment (IDE) for Web Application

Activity 1.7: Post-Test

Activity 1.8: Practice


Recall Prior Learning
This module assumes that you already know at least the basics of HTML and have done some programming in a modern
programming language before, but have not necessarily programmed from the Internet or used a relational database. It also assumes
that you know how to build a simple website using HTML and CSS.
Activities
Activity 1.1: Configure Web Application Development Environment
Before you start developing web applications, you need to set up and configure the required software for the web application
environment on your machine. At the end of your textbook, follow the instructions for Appendix A: How to set up Windows for this
book. (Note: If you have a Mac OS X or Linux use Appendix B or C respectively.) This appendix provides a list of required software
and step-by-step descriptions on how to install and configure the required software on your machine. It is important to set up your
development environment properly because you will use this environment to execute and test the supplied code for this course and
also to develop new applications.

Activity 1.2: Pre-Test


The pre-test is an ungraded practice quiz for a preview of the topics covered in this module. Please take the Module 1 Practice Test
before you start this module. This test consists of 10 questions and is automatically graded. It allows multiple trials and you can
resume the quiz at any time after you start it. After taking this quiz, and on a scale of one to five, how could you rate your knowledge
about web application development?

Module 1 Practice Test


Activity 1.3: Introduction to Web Application
Web application development is a complex process. Before we dive into the process, let’s learn about the main components and
basic architecture of the web application. Read “Introduction to Web Application” and also study “The Architecture of a Web
Application” from Chapter 1 of the textbook.

Read the following:

“Introduction to Web Application”

“The Architecture of a Web Application” from your textbook.

Activity 1.4: Basic Components of a PHP Application


The best way to learn PHP is to start with an existing project. So, in this activity you will study a PHP application code from “The
Product Discount Application” in Chapter 1 and learn about the basic components of a PHP application. Make particular note of how
PHP codes are embedded in the HTML code and the interaction between html, css, and php files and how these files are organized
in the local server.

Read “The Product Discount Application” from your textbook.

Activity 1.5: Edit and Test PHP Application


Now that you have seen the components that make up a PHP application, learn how to edit and test a PHP application with simple
text editors. Read “How to Edit and Test a PHP Application” in Chapter 1. After reading this section, you should understand how to
edit PHP code in a text editor, how to start and stop Apache and MySQL on your own machine, how to deploy PHP application, how
to run, test and debug your PHP application on your local machine, as well as how to view the source code for a web page.

Read “How to Edit and Test a PHP Application” from your textbook.

Activity 1.6: Integrated Development Environment (IDE) for Web


Application
A simple text editor is adequate for developing simple PHP applications, but as the application gets complex, it is difficult to manage it
using simple text editors. That is the reason professional app developers prefer integrated development environments (IDEs). I
believe it will benefit you to learn how to use IDEs to develop web applications. In this course, we are going to use NetBeans IDE for
PHP. Read “How to Use NetBeans to Develop a PHP Application” in Chapter 1 to know how to use NetBeans IDE to develop a PHP
application and get used to the environment.
Read “How to Use NetBeans to Develop a PHP Application” from your textbook.

Activity 1.7: Post-Test


At this point, please take the Module 1 Practice Test again to see if your score has improved. Use the results as feedback to help you
determine what you should review.

Module 1 Practice Test


Activity 1.8: Practice
To reinforce the concepts that we have learned in this module, you should complete the following exercises from the textbook.

Exercise 1-1 Test the Product Discount application

Exercise 1-2 Run the book and exercise applications

Exercise 1-3 Check out NetBeans

Each exercise provides direction to the required files. You can also download these files, including the exercise startup files, the
exercise solutions, and the book-applications.

Exercise Files, Solutions and Book Applications


Summary
In this module, you learned the necessary background (i.e., concepts and terms) needed before you can create dynamic web
applications. Review the module learning outcomes and ensure you can meet them.

In the next module, you will learn how to create a simple dynamic web application.

You might also like