Book Image

PHP and Algorithmic Thinking for the Complete Beginner

By : Aristides Bouras
Book Image

PHP and Algorithmic Thinking for the Complete Beginner

By: Aristides Bouras

Overview of this book

Begin your journey into PHP programming and algorithmic thinking with a structured, detailed course that takes you from understanding the basic components of a computer to mastering complex decision control and loop structures. Each chapter builds on the previous one, starting with an introduction to how computers work and gradually progressing to more complex topics like decision control structures, loop structures, arrays, and subprograms. You'll start with foundational concepts such as variables, constants, and operators, before diving into more advanced topics like manipulating strings, handling input and output, and developing complex mathematical expressions. The course emphasizes practical application, guiding you through the use of Visual Studio Code, integrated development environments, and essential software packages. By the end of this book, you will have a solid understanding of PHP programming and algorithmic thinking, enabling you to write efficient code, develop your own subprograms, and utilize various control structures and arrays effectively. This course is tailored for beginners, ensuring a smooth learning curve with tips, tricks, and exercises to reinforce your knowledge, and prepare you with the necessary skills needed to be a programmer.
Table of Contents (11 chapters)
10
Some Final Words from the Author

Chapter 3
Software Packages to Install

3.1 What to Install

For the purposes of this book, you need to install PHP CLI, XDEBUG and an Integrated Development Environment (IDE) such as Visual Studio Code on your computer.

All the instructions you need regarding how to set up PHP CLI, XDEBUG and Visual Studio Code, on either Windows or Linux are maintained on my website at the following addresses. This gives me the flexibility to review them frequently and keep them up-to-date.

https://tinyurl.com/5n7xym8f

https://www.bouraspage.com/php-setup-write-execute-debug

Image

If you find any inconsistencies, please let me know, and I will update the instructions as soon as possible. To report issues, visit one of the following addresses:

https://tinyurl.com/28nwh2nf

https://www.bouraspage.com/report-errata

Image

Currently, all you need is to install PHP CLI, XDEBUG and Visual Studio Code. Instructions on my website regarding how to write, execute, and debug a PHP script are unnecessary at this stage. You will require these instructions when you reach Chapter 9.