Skip navigation.
Try to figure it out before asking for help

About the Book

Title: A Web-Based Introduction to Programming: Essential Algorithms, Syntax, and Control Structures Using PHP, HTML, and MariaDB/MySQL, Fourth Edition, 628 pp., June 2017
Author: Mike O'Kane
Publisher: Carolina Academic Press
ISBN 4th Edition: 978-1-5310-0274-9 e-ISBN 978-1-53100-707-2
ISBN 3rd edition (Jun 2013):978-1-61163-470-9 (LCCN: 2013016501
ISBN 2nd edition (Dec 2010):978-1-59460-844-5
ISBN 1st edition (Aug 2008): 978-1-59460-523-9

Submit an Order | Request a review copy
Or contact Beth Hall at Carolina Academic Press:
(800) 489-7486 x121 or bhall@cap-press.com

A Web-Based Introduction to Programming is intended for beginning courses and provides a step-by-step, hands-on introduction to the logic and design of computer programs. The book takes a Web programming approach to introduce fundamental programming principles and procedures as follows: interfaces and markup (including a short introduction to stylesheets); algorithm development; coding syntax; variables and assignments; arithmetic and boolean expressions; selection structures; repetition structures; simple file processing; testing and debugging; indexed and associative arrays; database programming with MySQL; and program modularity, with a focus on the use and creation of functions and function libraries. The book also briefly surveys emerging technologies.

Students learn to analyze requirements, design algorithms, and code solutions in the form of small Web applications using HTML, PHP and MySQL. By unzipping a fully-functional standalone Web server to a portable drive students can work in any location with no need for network accounts or Internet access. Instructors will find that the approach is very popular with students who appreciate the hands-on work and thoroughly enjoy creating Web-based programs.

Each concept is introduced simply and coherently, using real-world context, minimal jargon, and complete code samples. The material is easy to follow and designed for individualized, self-paced learning (especially relevant for online courses). Every chapter contains quizzes, as well "fixit", "modify", and "complete code" exercises.