Book Image

Build Gamified Websites with PHP and jQuery

By : Detrick DeBurr
Book Image

Build Gamified Websites with PHP and jQuery

By: Detrick DeBurr

Overview of this book

Gamification involves the process of leveraging the features of real games into real life. A gamified website has the potential to increase user engagement, ROI, and learning. This book will help you build gamified websites with PHP and jQuery by making you understand the gamification design process to implement game mechanics in practical applications. Gamified websites are very popular amongst Internet users. The gamification of a web content draws users into action to empower them and help them develop new skills. Games engage user attention into the task and each task accomplished will mean the development and enhancement of new skills. This book will help you to apply the essence of games into real word applications such as business and education. Build Gamified Websites with PHP and jQuery aims at empowering and educating the users with an educational gamified website. The book walks through the process of developing a gamified website. Through the course of the book, you will learn gamification development process. The book emphasizes on the application of game mechanics to motivate the user. You will then use the Fogg behaviour model to influence the user behaviour. By the end of the book, you will see yourself building more engaging yet simple websites based on rational principles.
Table of Contents (15 chapters)

Our development environment


All of this discussion about behavior and psychology could cause us to lose sight of our goal here. The goal is to build a gamified e-learning application. To that end, we will need to set up our environment to build our application.

To build our application we will need a few pieces in place. We will need:

  • A web server (Apache)

  • Server-side technology (PHP)

  • A database (MySQL)

  • Client-side technology (JQuery)

  • A text editor (Notepad++)

We need a web server to host and test our application. We will use the open source web server Apache. We will use Hypertext Preprocessor (PHP), which will run on the Apache web server to generate the HTML for our pages. We will store and access the data needed for our application on the open source database MySQL. We will primarily use JavaScript to interact with the player on the client (that is, the browser). We will primarily use the JQuery JavaScript framework. Lastly we need a plain text editor. There are several free and paid versions...