I find using $http to be pretty simple. For me using things like $resource and Restangular is like using an ORM to access a database, whereas $http is like using SQL. SQL just isn't that complicated and neither is HTTP.
--- R. Mark Volkmann Object Computing, Inc. > On Mar 26, 2014, at 4:43 AM, Ryan Zec <[email protected]> wrote: > > $resource is Angular's built-in way of handling RESTful end-points. > https://github.com/mgonto/restangular is another popular option that has a > bit more functionality over $resource but is not too complex. > http://www.breezejs.com/ is another options that has a lot of feature but it > definitely more complex. > > If you willing to work with a library that is still early in development (IE. > APIs and such are still not guarenteed to be stable) I have been developing > this : https://github.com/nucleus-angular/rest : which is aimed at the > functionality/complexity of something between Restangular and BreezeJS. > > >> On Wed, Mar 26, 2014 at 5:35 AM, T M <[email protected]> wrote: >> Thank you for your suggestion. Did you find any concise sample or tutorial >> for building REST? I found some samples or videos. However, they are either >> too big (or complicated which I don't want to include a lot of unnecessary >> files), or not working :( >> >> I saw two key words from AngularJS, $RESOURCE and $HTTP. Any suggestion? >> >> >>> On Wednesday, March 26, 2014 3:41:31 PM UTC+8, T M wrote: >>> hi I am new to AngularJS. When I need to communicate with server, ex: PHP, >>> what is the best recommendation approach to choose, among Ajax, or Restful, >>> or Soap? >>> >>> Thank you! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
