Preview

Php and Mysgl

Powerful Essays
Open Document
Open Document
1540 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Php and Mysgl
Lesson 1: Introduction to PHP

1

Lesson 1: Introduction to PHP and MySQL

Objective: 1. This lesson will cover the fundamentals of PHP and MySQL where it is a powerful tool for making dynamic and interactive web pages. _________________________________________________________________________

Lesson Overview: Basic introduction to PHP concepts, what you should know before learning PHP, why learning PHP is useful, and the benefits to learning PHP. 1.1 3-tier Application Environment  User interaction is separated from the database through a middleware that act as a connector.  Client: Used to display the interface of the application. The interface downloaded from the server. Some logical operations done here. Example: Web Browsers such as Internet Explorer, Firefox, Opera, Safari, Google Chrome and etc.  Web Server + Middleware: Store and host the interface. Provide the interface to the client. Most operations are on data retrieval and manipulations. Example: Apache + PHP, IIS + ASP.  Database server: Store and host data/records. Receive request and send the data/record to the web server. Example: MySQL, SQL Server, PostgreSQL, and etc.

Web page

HTTP request

Records

Database
Web server

Data request

DIT2232/ DEC3236 Web Based Programming

Lesson 1: Introduction to PHP

2

1.2 From static to dynamic web sites? Static Web Sites    

A static site is a website that is written entirely using HTML. Each web page is a separate document and there are no databases or external files that are drawn upon. This means that the only way to edit this type of website is to go into each page and edit the HTML. So you would have to do it yourself using a web page editor such as FrontPage or Dreamweaver, or pay your web developer to make updates for you.

Dynamic Web Sites  A dynamic website is written using more complex code such as PHP or ASP and has a greater degree of functionality.  Each page of a dynamic website is generated from

You May Also Find These Documents Helpful

  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Before I have examined to answer why do we think most web pages today require server side programming? Particularly meaningful to me toward defense entirely regarding the server side programming Characteristics, since there is a few common component of server side programming besides the technology we practiced which perform by:-…

    • 737 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Website Migration Project

    • 3004 Words
    • 13 Pages

    * MacDonald, M. (2009). Creating a web site: The missing manual (2nd edition). New York, NY:…

    • 3004 Words
    • 13 Pages
    Better Essays
  • Powerful Essays

    Customer hereby engages the services of the Developer for the purpose of designing, creating, testing and delivering a fully functional Web Site, to be delivered to the Customer in the form of Hypertext Markup Language (“HTML”), JAVA and/or FLASH languages, most current version, which meets the specifications set forth herein and which is fully ready and operational upon placement on a server and creation of necessary connections for availability on the World Wide Web.…

    • 4332 Words
    • 18 Pages
    Powerful Essays
  • Powerful Essays

    Using Microsoft® Notepad or the Code View in Adobe® Dreamweaver®, hand code a basic Web page describing your profession, hobbies, or interests. This page will become the home page of your Web site. Save this home page as “index.html” to your IT237-Name folder on the Toolwire® desktop. Prior to submitting your IT237-Name folder, check your HTML code using the HTML Validator located on the W3C Web site. A link to this site is located in the Information Technology Web links. After you have validated the code and fixed any errors or problems, submit it to your homework folder on…

    • 1146 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    It is a tool that you can use to eliminate repetitive types of information on your web pages. It is a file the server includes in a web page before sending it out to a browser. It uses headers, navigation panels, and footers. It’s useful because you only need to change one file and every web page using that element picks up the update.…

    • 411 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Implementation of all gathered information is needed to develop the proposed system. The proponents used the Dreamweaver/PHP to create a code and module for the system.…

    • 3231 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Admin

    • 558 Words
    • 3 Pages

    Creating Websites using JSP, PHP, Servlets, XML, HTML, JavaScript, DHTML, JQuery, AJAX, JSON, Dreamweaver any Version and CSS.…

    • 558 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Perform research 3

    • 335 Words
    • 1 Page

    Answer 4: Active Server Pages (ASP) is a server-side scripting environment that you can use to create and run dynamic, interactive Web server applications. Microsoft owned…

    • 335 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Website Analysis

    • 939 Words
    • 4 Pages

    A single CSS file can contain positioning, layout, font, colors and style information for an entire web site. The file can be referenced by each html file on the site. CSS is a means of separating the content of an html document from the style and layout of that document. It 's useful to be able to do this for a number of reasons. CSS makes it very easy to change the style of a document. Let 's say we wanted to move the picture in the title of this page to the right by 10 pixels. This would be a hard to do in a table based design. We would have to open every page and alter the table width manually. Fortunately we have used CSS, and all we have to do is open our CSS file which stores the layout of the site, and change the number relating to the position of the image. That will change his position throughout the whole site. The look and layout of a site can be changed beyond recognition just by altering the CSS file. This makes CSS indispensable for large web sites. Probably the mostly useful feature of CSS is that all of the style and layout is removed from the html, so the html page size is very much smaller. The CSS file is downloaded just once by the visitor 's browser and re-used for different pages on a web site. This reduces the bandwidth requirements for your server and also ensures a faster download for your…

    • 939 Words
    • 4 Pages
    Good Essays
  • Better Essays

    | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IT Applications Unit 3 Outcome 1 Revision Notes | | | | IT VCE Feb 2013 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IT Applications Unit 3 Outcome 1 Revision Notes | | | | IT VCE Feb 2013 | Table of Contents Revision 2 Section 1 – Purpose of a Website 2 Blogs 2 Chat Rooms 2 Forums 3 Social Networking 3 Wikis 3 Section 2 – Websites and Data 4 Why Organisations Acquire Data Via Websites 4 Why Individuals and Organisation Supply Data Via Websites 4 Techniques for Acquiring Data on Websites 4 Techniques for protecting the rights of individuals and organisations supplying data 4 CSS/CMS 5 Static Websites 5 Dynamic Websites 5 Content Management Systems 5 Introduction 5 Content Creation 5 Content Management 6 Publishing 6 Presentation 6 Pros and Cons 7 Software 7 Cascading Styled Sheets (CSS) 7 Introduction Error! Bookmark not defined. Revision Section 1 – Purpose of a Website * To provide information and news (inform) Static Website (no interaction) * To promote an opinion (persuade) Blog * To teach (educate) Wiki *…

    • 1614 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    Dreamweaver Lessons

    • 335 Words
    • 1 Page

    The second lesson of Dreamweaver went over two different ways to create a new site, look at the site settings and how to create servers to connect to a remote location.…

    • 335 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Sharepoint 2010 Tutorial

    • 2224 Words
    • 9 Pages

    EDITING TEXT Before you get started, it’s a good idea to take screen shots of your site and date them. This is so you can track your progress. a) Click the Edit icon to edit your landing page. The Office ribbon is displayed and items can be formatted, inserted or deleted as required.…

    • 2224 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    slp 5

    • 420 Words
    • 2 Pages

    This is a web software project; the main logic part consists of PHP pages which are hosted on a Linux server. The web server must have PHP version 4.0 or above installed on it. The server should also support MySQL database as all the tables are developed in MySQL. The client part is a simple HTML page which contains some javascript as well.…

    • 420 Words
    • 2 Pages
    Good Essays
  • Good Essays

    This chapter talks about creating an array, adding and removing elements from an array, and looping over the contents of an array. There are many built-in functions that work with arrays in PHP, because arrays are very common and useful. For example, if you want to send email to more than one email address, you'll store the email addresses in an array and then loop through the array, sending the message to the current email address. Also, if you have a form that…

    • 7287 Words
    • 30 Pages
    Good Essays
  • Satisfactory Essays

    Thesis Sample Docu

    • 537 Words
    • 3 Pages

    * How to create a database that can store a large amount of data using MySQL?…

    • 537 Words
    • 3 Pages
    Satisfactory Essays

Related Topics