PHP 8 Solutions
eBook - ePub

PHP 8 Solutions

Dynamic Web Design and Development Made Easy

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

PHP 8 Solutions

Dynamic Web Design and Development Made Easy

About this book

Make your websites more dynamic by adding a feedback form, creating a private area where members can upload images that are automatically resized, or storing all your content in a database. David Powers has updated his definitive book to incorporate the latest techniques and changes to PHP with the arrival of PHP 8. New features include named attributes, constructor property promotion, the stricter and more concise match expression, union types, and more.?

The problem is, you're not a programmer and the thought of writing code sends a chill up your spine. Or maybe you've dabbled a bit in PHP and MySQL, but you can't get past baby steps. If this describes you, then you've just found the right book. PHP powers four out of every five websites that use a server-side language. In combination with the MySQL database it's ideal for creating dynamic websites. PHP and MySQL are free, easy to use, and provided by many web hosting companies in their standard packages.Thisbook also covers MariaDB, a seamless replacement for MySQL that has been adopted on many web servers.

Unfortunately, most PHP books either expect you to be an expert already or force you to go through endless exercises of little practical value. In contrast, this book gives you real value right away through a series of practical examples that you can incorporate directly into your sites, optimizing performance and adding functionality such as file uploading, email feedback forms, image galleries, content management systems, and much more. Each solution is created with not only functionality in mind, but also visual design.

But this book doesn't just provide a collection of ready-made scripts: each PHP solution builds on what's gone before, teaching you the basics of PHP and database design quickly and painlessly. You'll learn how to optimize your code using object-oriented programming (OOP) techniques. By the end of the book, you'll have the confidence to start writingyour own scripts or—if you prefer to leave that task to others—to adapt existing scripts to your own requirements. Right from the start, you're shown how easy it is to protect your sites by adopting secure coding practices.

What You Will Learn

  • Design and build dynamic PHP-based web sites and applications
  • Get started right away through practical examples that you can reuse
  • Incorporate PHP 8 elements includingnamed attributes, constructor property promotion, and union types
  • Understand the subtle, but important differences between switch and match
  • Work with the latest PHP 8 techniques, innovations, and best practices

Who This Book Is For

Readers should ideally have some prior exposure to web development using PHP.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access PHP 8 Solutions by David Powers in PDF and/or ePUB format, as well as other popular books in Computer Science & Compilers. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
Print ISBN
9781484271407
eBook ISBN
9781484271414

Table of contents

  1. Cover
  2. Front Matter
  3. 1. What Is PHP 8?
  4. 2. Getting Ready to Work with PHP
  5. 3. How to Write PHP Scripts
  6. 4. PHP: A Quick Reference
  7. 5. Lightening Your Workload with Includes
  8. 6. Bringing Forms to Life
  9. 7. Using PHP to Manage Files
  10. 8. Working with Arrays
  11. 9. Uploading Files
  12. 10. Generating Thumbnail Images
  13. 11. Pages That Remember: Simple Login and Multipage Forms
  14. 12. Getting Started with a Database
  15. 13. Connecting to a Database with PHP and SQL
  16. 14. Creating a Dynamic Photo Gallery
  17. 15. Managing Content
  18. 16. Formatting Text and Dates
  19. 17. Pulling Data from Multiple Tables
  20. 18. Managing Multiple Database Tables
  21. 19. Authenticating Users with a Database
  22. Back Matter