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 9
Using Visual Studio Code

9.1 Write, Execute and Debug PHP Scripts

So far, you have learned some solid basics about PHP programming. Now it's time to explore the process of entering scripts into the computer, executing them, observing their performance, examining how they display results, and learning techniques for debugging them.

Debugging is the process of finding and reducing the number of defects (bugs) in a computer program to make it perform as expected.

As stated in Section 2.5, an Integrated Development Environment (IDE) is a type of software that enables programmers to write, execute and debug their source code. Visual Studio Code is such an example.

All the instructions you need regarding how to write, execute and debug PHP scripts 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...