Ajax Angularjs CSS PHP

CRUD application with Angularjs, REST api, Slim framework and Semantic UI

I have already posted 2-3 demos targeting database record manipulation which is Create,Read,Update and Delete (CRUD). This is almost same, only thing is that its made with AngularJs. I am sharing the links to my similar previous posts here again, in case you missed it
Add,edit,delete record in a table dynamically v2
Add,edit,delete record in a table dynamically v1

CRUD application with Angularjs

CRUD application with Angularjs

So whats special in this post ? All the previous codes/scripts were made using jquery, now we have brand new and strong player in market, Angularjs Super heroic JavaScript MVW Framework.Complete stack used is as below

Note : Respect validation requires PHP version 5.6+

I have used Slim Framework and idiorm in many of my applications for API development, and i just love this framework, Respect Validation was new thing for me, so read its docs and found its pretty good so thought to use in this script and share with you.

Lets have a look at the app.js which handles our apps routing.


We are storing only user details in mysql database, all the other data like countries, gender and skills are coming from a angular factory.


Create users table in your database. Before using this script make sure to you edit config.php file and enter your database connection details.

Users table structure

Download complete code and let me know your views as well as suggestions in comments.

Leave a Comment


Notify me of followup comments via e-mail. You can also subscribe without commenting.


Let your friends know what are you reading

Share this post with your friends!