What's the AngularJS “way” of handling a CRUD resource

前端 未结 5 971
半阙折子戏
半阙折子戏 2021-01-30 03:38

I am interested in moving a lot of my client\'s \"logic\" away from Rails routing to AngularJS. I have slight confusion in one topic and that is linking. Now, I do understand th

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-30 04:09

    Simply implement something that is RESTful, that is the angularJS way. If you have no idea what RESTful is or, know a little and want to know a lot more, then I would recommend that you read this article.

    Basically, REST is what is understood to be, an intuitive implementation of WEB URIs, it also makes use of all HTTP verbs, their correct use actually. REST is an approach, and architecture to building web apps.

提交回复
热议问题