lundi 25 mai 2015

What is the best practices to retrieve roles from database then displays item depending roles in AngularJS/Knockout/Ember

Suppose I have a table Roles in database, administrator can add/delete role, assign permission for each role. What is the best practices to retrieve roles from DB then display items depending on each role. I saw a lot of samples, but they always use fixed roles in JS We can do it easily in server side, but I want to know a best way to implement it in AngularJS/Knockout/Ember Thank you so much




Aucun commentaire:

Enregistrer un commentaire