Learn to Think Like a Programmer

Completely updated for the latest version of PHP, this book offers a comprehensive introduction to programming, assuming no prior knowledge of the subject. It is designed for individuals eager to learn PHP from scratch, providing a strong foundation in Algorithmic Thinking—the fundamental skill every aspiring programmer must acquire. Algorithmic Thinking encompasses more than just writing code; it entails mastering the art of problem-solving through coding.

This edition retains all the popular features of its predecessor while introducing a wealth of new exercises, along with extensive revisions and updates. Furthermore, brand-new chapters offer a practical introduction to working with text files.

Structured for both classroom use and independent study, each chapter is concluded with a set of questions and exercises designed to reinforce your understanding and apply what you’ve learned. With approximately 250 solved and 480 unsolved exercises, 500 true/false questions, 150 multiple-choice questions, and 200 review questions and crosswords (with solutions and answers available online), this book is ideal for:

  • Novices or intermediate-level programmers pursuing self-study
  • High school students
  • First-years college or university students
  • Educators
  • Professors
  • Anyone who wants to start learning or teaching computer programming using the best practices and techniques
  • Paperback
  • Kindle (*)

(*) Tested on amazon Kindle e-reader (8th Generation), Kindle for PC and Kindle for Android. It looks quite messy on Kindle Cloud Reader.  If you encounter any problem on your device send me a message, including your e-reader’s model and any screenshots or photos (if possible).

Material about this book:

Customer Reviews (for 1st Edition)

Great for developing an understanding of programming

Going the self-taught route can be tough considering how all over the place tutorials can be. Working through this book allows for progressive growth and the exercises at the end of each chapter challenge the reader to create rather than just copying a tutorial. There are a few typos, but other than that. I think this book has been invaluable in creating a solid foundation to learn programming.

Source: amazon.com

R. O.
A really good book that explains with ease how to start writing …

A really good book that explains with ease how to start writing programs with php. Thorough concepts that are backed with examples and quizzes. I would recommend this book.

Source: amazon.com

Mr. M. J.
Best resource on how to learn how to programme!

Excellent resource for anyone starting out on how to learn to programme/code. This book does exactly what it says, teaching you how to programme and think like a programmer i.e solving problems. All the excercises are excellent and help you use the skills learnt to solve actual problems.

Once I read this book which covers the basics on which all computer languages are written I started reading and understanding code like I was reading a book.

I would highly recommend to anyone who wants to start a career in web-development or any other programming field!

Source: amazon.co.uk

I. G.

Useful details, variety of exercises
Well written, useful details, variety of exercises, very good readability, very good use of english language

Source: amazon.com


Learning How to Think Like a Programmer
This is a great book in learning how to think about PHP programming. The author teaches you how to use flow charts and trace tables to think through your code, and I found this particularly helpful. In addition, it is full of exercises including true/false, multiple choice, and coding exercises. What I learned in this book has also helped me as I learn JavaScript because of the similarities between the two languages. If you are wanting to learn not just PHP but the thinking behind the programming, this is the book you want!

Source: amazon.com


Excellent book! Very well-written
Excellent book! Very well-written, great for beginners but also extremely helpful for more advanced programmers since it emphasizes on algorithmic thinking. I would certainly recommend this book to everyone interested in PHP and computer programming in general.

Source: amazon.com