A web-based flash-card learning tool based on PHP,Doctrine and Smarty