Learning Smarty Frame Work