Skip to main content

2017 | Buch

Programming in HTML and PHP

Coding for Scientists and Engineers

insite
SUCHEN

Über dieses Buch

This concise and accessible textbook will enable readers to quickly develop the working skills necessary to solve computational problems in a server-based environment, using HTML and PHP. The importance of learning by example (as opposed to simply learning by copying) is emphasized through extensive use of hands-on exercises and examples, with a specific focus on useful science and engineering applications. The clearly-written text is designed to be simple to follow for the novice student, without requiring any background in programming or mathematics beyond algebra.

Topics and features: describes the creation of HTML pages and the characteristics of HTML documents, showing how to use HTML tables, forms, lists, and frames to organize documents for use with PHP applications; explains how to set up a PHP environment, using a local or remote server; introduces the capabilities and syntax of the PHP language, including coverage of array syntax and use; examines user-defined functions in programming, summarizing PHP functions for reading and writing files, viewing the content of variables, and manipulating strings; reviews the PHP GD graphics library, presenting applications for creating pie charts, bar graphs, and line graphs suitable for displaying scientific data; includes appendices listing HTML and ASCII special characters, and highlighting the essential basic strategies for solving computational problems.

Supplying all of the tools necessary to begin coding in HTML and PHP, this invaluable textbook is ideal for undergraduate students taking introductory courses in programming. The book will also serve as a helpful self-study text for professionals in any technical field.

Inhaltsverzeichnis

Frontmatter
Chapter 1. Introducing HTML
Abstract
This chapter provides an introduction to using HTML to create simple Web pages suitable for interfacing with PHP applications. Several examples show how to modify the appearance of a document by using HTML tags and their attributes.
David R. Brooks
Chapter 2. HTML Document Basics
Abstract
This chapter describes the characteristics of an HTML document, including some of the basic HTML elements and their attributes.
David R. Brooks
Chapter 3. HTML Tables, Forms, Lists, and Frames
Abstract
This chapter shows how to use HTML tables, forms, lists, and frames to organize documents and provide a framework for interfacing with PHP applications.
David R. Brooks
Chapter 4. Creating a PHP Environment
Abstract
This chapter provides an introduction to setting up a PHP environment for solving computational problems. An example introduces PHP’s ability to read external files.
David R. Brooks
Chapter 5. Introduction to PHP
Abstract
This chapter introduces syntax and some capabilities of the PHP language.
David R. Brooks
Chapter 6. Arrays
Abstract
This chapter provides an introduction to array syntax and use. The PHP array model provides several ways of accessing and manipulating data.
David R. Brooks
Chapter 7. Functions
Abstract
This chapter introduces the concept of user-defined functions in programming and shows how to use functions in PHP scripts. A summary of PHP built-in math constants and functions is provided.
David R. Brooks
Chapter 8. Input/Output and Functions to Files, Strings, and Arrays
Abstract
This chapter deals with handing input and output. It presents a summary of PHP functions for reading and writing files, viewing the content of variables, and manipulating strings. It also includes summaries of some array-related and miscellaneous functions.
David R. Brooks
Chapter 9. PHP Graphics
Abstract
This chapter introduces the PHP GD graphics library. Applications are developed for creating pie charts, bar graphs, and line graphs suitable for displaying scientific and engineering data.
David R. Brooks
Chapter 10. PHP from a Command Line
Abstract
This chapter gives a brief introduction to using PHP from a command line. This capability does not require that PHP run on a server and it allows user input from the keyboard while a script is executing.
David R. Brooks
Backmatter
Metadaten
Titel
Programming in HTML and PHP
verfasst von
Dr. David R. Brooks
Copyright-Jahr
2017
Electronic ISBN
978-3-319-56973-4
Print ISBN
978-3-319-56972-7
DOI
https://doi.org/10.1007/978-3-319-56973-4