Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Gamified Websites with PHP and jQuery

You're reading from   Build Gamified Websites with PHP and jQuery Using gaming principles to make learning more engaging, motivating, and interactive is a growing trend in web development. It's called gamification, and this book is the complete introduction to its theory and practice.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782168119
Length 124 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Detrick DeBurr Detrick DeBurr
Author Profile Icon Detrick DeBurr
Detrick DeBurr
Arrow right icon
View More author details
Toc

Preface

A few years ago, if you would have said "gamification" to someone, you would have gotten a weird look, as though you were concocting something new. Maybe you would have gotten a quick follow up question, "Huh? What is that?"

Today, that encounter would be very different. Although very misunderstood, businesses are taking gamification very seriously, as they find it more and more difficult to engage and ultimately retain customers.

In this book, we take a closer look at gamification. We assume you know nothing about gamification but have some background in website development. We walk you through the Gamification Design Framework outlined in this book, applying gamification principles along the way.

Although not difficult to understand, gamification requires an approach that is focused on user engagement and fun to develop systems.

When you are done, you will have a live project so you can demonstrate your understanding of key gamification principles.

What this book covers

Chapter 1, Gamifying the Educational Process, inventories the current uses of gamification in educational settings.

Chapter 2, The Framework, gives the reader a framework to apply to future gamification projects, as well as a visual mockup of the final website project we will be building for the rest of the book.

Chapter 3, Objectives and Target Behavior, takes the reader through the first few practical steps in the gamification process. We define the objectives and target behaviors for our project.

Chapter 4, The Players, helps us identify the characters, users, and stakeholders (that is, players) in our system along with their motivations.

Chapter 5, Activity, outlines the crux of the gamified system, the mechanics, elements, rules, and so on, of our website project.

Chapter 6, The Fun, helps the reader understand the difference between intrinsic and extrinsic motivation and what makes an activity enjoyable to engage in.

Chapter 7, The Wrap Up, wraps up all that we have done in earlier chapters. The reader iteratively goes through the gamification design framework, implementing more game elements to drive user behavior.

Appendix, Tables, contains tables outlining the Engagement Loops for each of Bartle's player types and an outline of the Gamification Design Framework for our gamified system.

What you need for this book

To run the examples in the book, the latest version of the following software will be required:

  • WAMP Server

  • PHP (Version 5.0 or higher)

  • MySQL

  • MySQL Workbench (optional)

  • JQuery Library

  • Text Editor

The reader will find the material useful if they have a basic understanding of website development (HTML, JavaScript, CSS, and PHP).

Who this book is for

This book is for IT professionals wanting to build gamified applications. You do need to understand basic HTML and the fundamentals of how websites work. If you have ever built a website of any kind, you are well on your way.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Name the database VuPoint."

A block of code is set as follows:

[DELIMITER //
-- Procedure Name: SelectOnlinePlayers
-- Procedure Purpose: Returns a lists of players how currently logged in is true
CREATE PROCEDURE 'vupoint'.'SelectOnlinePlayers'()
BEGIN
Select  * from Player where CurrentlyLoggedIn=true;
END//
DELIMITER;

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Databases menu".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image