Skip to Content
PHP 8 for Absolute Beginners: Basic Website and Web Application Development
book

PHP 8 for Absolute Beginners: Basic Website and Web Application Development

by Jason Lengstorf, Thomas Blom Hansen, Steve Prettyman
September 2022
Beginner
439 pages
8h 28m
English
Apress

Overview

Embark on a practical journey of building dynamic sites aided by multiple projects that can be easily adapted to real-world scenarios. This third edition will show you how to become a confident PHP developer, ready to take the next steps to being a Full Stack Developer and/or successful website or web application programmer.  

You won't be swamped with every detail of the full PHP language up front – instead, you’ll be introduced to a small, versatile subset of PHP by learning to use it creatively to develop dynamic projects. You will see how to use variables, control structures, functions, and object-oriented programming. Secure programming techniques are used throughout the book to demonstrate the proper way to defend against hackers. You will learn how to plan and create MySQL/MariaDB databases and access them using PHP.  During this process, you will be introduced to data objects, UI design concepts, and design patterns. Model-View-Controller (MVC) methodology will be used to keep a consistent logical design for each project. 

Four main projects will be introduced: an image gallery, a blogging system, a data management dashboard, and an interactive game. Initially, a general discussion of how operating systems make programming easier, more reliable, and efficient will be provided. A brief example will follow to demonstrate installation of the latest versions of Apache, PHP, and MySQL/MariaDB. Basic PHP logic will be used during the development of the first project, an image gallery. Once these concepts have been absorbed, a further review of additional concepts of PHP 8 will be discussed, followed by an extensive blogging system will use MVC to reinforce and introduce additional PHP techniques. You’ll also discover the use of Google Charts to create a data management dashboard. Finally, you’ll explore arrays in more depth by developing logic for a checkers game. Along the way, exercises and projects areprovided to reinforce what has been learned. 

What You'll Learn

  • Explore the basics of PHP syntax, structures, functions, modules and more
  • Design and develop of interactive UIs
  • Build dynamic UIs using SQL to access MySQL/MariaDB Databases
  • Understand the development of secure and efficient Object-Oriented classes and objects
  • Apply the knowledge learned when creating four real-world PHP projects

Who This Book Is For 

Aspiring web developers and designers who are new to web development and/or PHP; programmers who are new to PHP and even programming itself.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

PHP and MySQL® Web Development, Fifth Edition

PHP and MySQL® Web Development, Fifth Edition

Luke Welling, Laura Thomson

Publisher Resources

ISBN: 9781484282052Purchase LinkPublisher Website