pacoorozco / gamify Goto Github PK
View Code? Open in Web Editor NEW[THIS WON'T BE UPDATED] Gamification platform - The core of GoW!
License: GNU General Public License v2.0
[THIS WON'T BE UPDATED] Gamification platform - The core of GoW!
License: GNU General Public License v2.0
After some work, I think there is some changes pending on DB schema.
register_date
field to members
tableamount_needed
, points
, amount
for something more coherent such us xp_points
level_id
from members
and put on vmembers
total_xp_points
to vmembers
level_name
to vmembers
In order to give a more SEO application it will be great to use URLs like:
http://localhost/login
http://localhost/logout
http://localhost/register
http://localhost/quiz
http://localhost/quiz/000-000-0000-000
http://localhost/quiz/list
http://localhost/member
http://localhost/member/000-000-0000-000
We can use AltoRouter
He respost dues vegades seguides a la pregunta oculta i m'ha donat els punts... La teniu oberta.
Salutacions i bona feina.
Alfonso
Whe use some DB.class functions, like getOne() in SELECT without any record returned it doesn't return NULL. Instead of this return a empty array.
It must change this behaivour in order to return NULL.
return (is_array($row)) ? reset($row) : null;
change to some like this
return ($result->num_rows > 0) ? reset($row) : null;
Adds some pagination on large lists, like "Preguntes pendents" o "Revisa Preguntes"
An attacker can use 'nav' input field in order to do XSS. This 'nav' input is not sanitize, more than header() function does.
A good approach is not to use this input field, using a $_SESSION instead
For example:
Enable app to send email notifications where:
Users with administrator rights shouldn't execute member's actions like XP, badges...
Member A with more experience points than member B, has a lesser level.
I think there's a problem when experience points are granted and calculate new level.
Add tags to question in order to categorize or filter questions. It will allow to create challenges or other categorized queries.
We can use Bootstrap tag:
http://timschlechter.github.io/bootstrap-tagsinput/examples/
We must improve the way we show question list.
May be using a table with filters (DataTables).
We want to add a HTTP dispatcher, for example Slim Framework in order to prepare this app to have REST url, API...
In some cases will be great to separate HTML code form PHP code.
This code can be reused and mantained esier than mixed HTML & PHP code
It would be great if a question may include a chart with people answers.
For example:
In this question how many ppl has answered which choice.
We can use Chart.js
Code file uploads actions in order to upload images to:
On member management is implemented profile picture uploads from v2.7, may be we can use the same or similar code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.