Build Gamified Websites with PHP and jQuery
()
About this ebook
Related to Build Gamified Websites with PHP and jQuery
Related ebooks
Gamification 101: How to Bring Joy Back to Learning By Making Your Classroom Gameful Rating: 0 out of 5 stars0 ratingsGamification with Moodle Rating: 0 out of 5 stars0 ratingsGamification: The Future of Education Rating: 0 out of 5 stars0 ratingsGamification Of Autism: A Guide To Clinical Psychology, Cyberpsychology and Psychotherapy: An Introductory Series Rating: 0 out of 5 stars0 ratingsHTML5 Games: Novice to Ninja: Create Smash Hit Games in HTML5 Rating: 0 out of 5 stars0 ratingsMotivate Your Class Through Game: Guide Education Rating: 0 out of 5 stars0 ratingsGamify at Work: How to Tap Into the Potential Within Your Organization Rating: 0 out of 5 stars0 ratingsThe Game Developer's Journey From Concept to Completion Rating: 0 out of 5 stars0 ratingsLearning On Demand: How the Evolution of the Web Is Shaping the Future of Learning Rating: 5 out of 5 stars5/5Gamification in Knowledge Management: Turning Learning into a Game Rating: 0 out of 5 stars0 ratingsMastering Game Development with PyGame: From Basics to Advanced Techniques Rating: 0 out of 5 stars0 ratingsMotivating for STEM Success: A 50-step guide to motivating Middle and High School students for STEM success. Rating: 0 out of 5 stars0 ratingsLet's Get Social: The Educator's Guide to Edmodo Rating: 0 out of 5 stars0 ratingsMetadata Repositories Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsMission Python Rating: 0 out of 5 stars0 ratings90 Mobile Learning Modern Language Activities Rating: 3 out of 5 stars3/5Knowledge Base Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsSecuring the Connected Classroom: Technology Planning to Keep Students Safe Rating: 0 out of 5 stars0 ratingsMaths the Wacky Way for Students...By a Student: From Foundation up to Higher Level Gcse Rating: 0 out of 5 stars0 ratingsClosing the Gap: Digital Equity Strategies for Teacher Prep Programs Rating: 0 out of 5 stars0 ratingsInfusing Technology in the K-5 Classroom: A Guide to Meeting Today’s Academic Standards Rating: 0 out of 5 stars0 ratingsThinking about Digital Accessibility: The Enterprise Journey Rating: 0 out of 5 stars0 ratingsEffective Digital Learning Environments: Your Guide to the ISTE Standards for Coaches Rating: 0 out of 5 stars0 ratingsTech Debt 2.0™: How to Future Proof Your Small Business and Improve Your Tech Bottom Line Rating: 0 out of 5 stars0 ratingsManaging the Moodle 2.5 School Rating: 0 out of 5 stars0 ratingsDeepening Digital Citizenship: A Guide to Systemwide Policy and Practice Rating: 0 out of 5 stars0 ratingsNetwork Thinking: Beyond Brockhaus Thinking Rating: 0 out of 5 stars0 ratingsThinking About Innovation: How Coffee, Libraries, Western Movies, Modern Art, and AI Changed the World of Business Rating: 0 out of 5 stars0 ratingsThe 5 Steps to Better Technical Education: A Framework for Instructional Design Rating: 0 out of 5 stars0 ratings
Programming For You
SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsLearn NodeJS in 1 Day: Complete Node JS Guide with Examples Rating: 3 out of 5 stars3/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5The 1 Page Python Book Rating: 2 out of 5 stars2/5C All-in-One Desk Reference For Dummies Rating: 5 out of 5 stars5/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition Rating: 0 out of 5 stars0 ratingsExcel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsPython Data Structures and Algorithms Rating: 5 out of 5 stars5/5
Reviews for Build Gamified Websites with PHP and jQuery
0 ratings0 reviews
Book preview
Build Gamified Websites with PHP and jQuery - Detrick DeBurr
Table of Contents
Build Gamified Websites with PHP and jQuery
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Gamifying the Educational Process
What exactly is gamification?
Schools using gamification
History of gamification in education
Monopoly Academy
Khan Academy
Spongelab
Youtopia
Quest2Learn
World of Classcraft
Gamification in universities
The future of gamification in education
Gamification in the classroom
Having fun at school
Summary
2. The Framework
Business objectives
Target behaviors
Players
Activity loops
Progression loops
Fun
Tools
Account creation screen
Summary
3. Objectives and Target Behavior
Fogg behavioral model
Motivation
Ability
Triggers
Triggers in our application
Increasing our players' ability
Motivating our players
Identify internal and external triggers
Intended action
Variable reward
Our development environment
Installing a LAMP stack
Troubleshooting the WAMP server setup
Summary
4. The Players
Bartle Test of Gamer Psychology
Killers
Leaderboards
Rewards for defending and critiquing posts
Achievers
Badges
Leveling/progress
Challenges
Socializers
Explorers
Our players
Creating the MySQL database
Creating our tables
Summary
5. Activity
Pyramid of game elements
Gamification toolbox – better than PBLs
The VuPoint application
jQuery
Vupoint.js
Index.html
The Home page
Account Creation Page
Validate the form
Writing a new account to the database
The Login Page
Main page view
Summary
6. The Fun
Intrinsic versus extrinsic behavior
What makes fun
fun?
The player's experience
Competency
Autonomy
Relatedness
The Scoring module
AjaxHandler.php
The Achievement module
The Leaderboard module
Players currently online
Summary
7. The Wrap Up
Just the beginning
Third party plugins
Gigya plugins
Badgeville
More resources
Gamification
PHP
MySQL
jQuery
A. Tables
Engagement loops (Table A – 1)
Player type: Killer
Player type: Achiever
Player type: Socializer
Player type: Explorer
Gamification design matrix (Table A – 2)
Index
Build Gamified Websites with PHP and jQuery
Build Gamified Websites with PHP and jQuery
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2013
Production Reference: 1160913
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-811-9
www.packtpub.com
Cover Image by Suresh Mogre (<[email protected]>)
Credits
Author
Detrick DeBurr
Reviewers
P. Alex (Pruteanu Alexandru)
Robert Wąs
Acquisition Editor
Pramila Balan
Commissioning Editor
Shreerang Deshpande
Technical Editors
Anita Nayak
Vrinda Nitesh Bhosale
Copy Editors
Sayanee Mukherjee
Aditya Nair
Adithi Shetty
Project Coordinator
Amigya Khurana
Proofreader
Joel Johnson
Indexer
Monica Ajmera Mehta
Graphics
Ronak Dhruv
Production Coordinator
Shantanu Zagade
Cover Work
Shantanu Zagade
About the Author
Detrick DeBurr currently serves as a co-founder of CUPID On The Go! Prior to this, he was Founder/CEO of Digital Rhythm Inc., an information technology services provider based in Dallas, Texas, USA. Detrick has served in various software development roles through his career. In 2005, Black Engineer Magazine named him a Modern Day Technology Leader.
He is a graduate of Darden University's Minority Equity Boot camp, a program that educates minority business owners to access the private equity capital markets. In 2001, Mr DeBurr received Stanford University's Digital Visions Fellowship for his efforts with the Digital Literacy Alliance in Ghana, West Africa.
Mr. DeBurr is the author of Deal Us In! How Black America Can Play and Win in the Digital Economy, Anji Publishing, 2001.
He has served his community as Chairman of the Planning and Zoning Commission in Cedar Hill, Texas. He has also served on the Board of St. Philips School and Community Center and chaired the Dallas Blueprint for Leadership Program, a program that prepares minorities to serve non-profit boards and committees. He is an active member of Omega Psi Phi Fraternity Inc..
I would like to thank my wife Sonya DeBurr for her patience during this book project. I would also like to thank Terry, Joshua, and Aisha (my children) for the inspiration and incentive to write this book.
About the Reviewers
P. Alex is a young webmaster who loves the Web. His full name is Pruteanu Alexandru and he was born in Moldavia. He is currently living in Italy, where he studies Web and Multimedia Technologies at the University of Udine. He wakes up every morning with the desire to learn something absolutely new and always tries to widen his knowledge.
He is currently working on several projects and putting together his experience, passion, and creativity. He is a happy Linux user and an open source advocate. He was selected at the Google Summer of Code, 2013 with his project Improve Joomla! Frontend Semantics & Accessibility for the Joomla! organization. He created a new library and implemented Schema.org microdata semantics in Joomla! CMS. In his free time, he works on a website called HenGames.com, which he has created himself. P. Alex is also keen on Psychology, Marketing, Design, and all that is connected to the Web world. His home page is http://p-alex.com; you can also find him on Twitter (@PAlexcom).
Robert Wąs is always watching out for something new. Professionally, he is a programmer who prefers working in scripting languages or Java and creating UI. He likes working with human-centered projects and constantly observes UX trends and user behavior. In his private life, he's a husband and father who takes a keen interest in education and gamification. He can be found live on Twitter at @robertwpl or Facebook at robert.was.krk.
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers and morehttp://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
On demand and accessible via web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Preface
A few years ago, if you would have said gamification
to someone, you would have gotten a weird look, as