Several weeks ago young girl (not too young) asked me to implement simple solution to manage statistics on how much a person has read. Well, she has an idea to make the world better in the way of gamification of the reading process. So, people would be motivated to read more.
Let’s focus on the technical part of the problem. I used Angular.js framework to implement HTML5 solution integrated into VK social network as an application. I used CoffeeScript, mozilla’s pdf.js, LocalStorage, twitter bootstrap and VK API. As it’s pure client side solution, I hosted it on github pages.
Several weeks ago I’ve done simple PHP AJAX editor of dummy strings list. It was test task for the interview. There are list of strings saved in MySQL table and AJAX CRUD web interface.
The most fun point was a condition to avoid any JS or PHP framework. It means pure PHP and pure JS, as I understand, just to test coding skills. I realized that I’m using different frameworks for already long period of time. I can’t imagine myself coding without jQuery, for example. I remember those times but it was so long time ago…
Here is my implementation of example composed into single file: single_file.php