Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

In a web page, is it better to call restful webservice using AngularJs or using JQuery? and Why?

user-image
Question added by محمد حسام الدين حسن صدقى , Senior Functional Consultant , Egabi Fsi
Date Posted: 2016/08/05
Kais Hamdulay
by Kais Hamdulay , Technical Lead , Barclays

Depends upon what you are using to call webservice.

if you are using angular you will $http else you will use the jquery way to cal webservice.

Bot have their own way of parsing objects.

Both can be used with promise depending upon what need to be done when a response comes back from webservice.

Java and JavaScript are entirely different not he same. but it may help you to workout for advanced as complex calculations and responsive designs

Brajpal Singh
by Brajpal Singh , System Analyst , Ebix Software India (P) Ltd.

That will depends upon what you are using to call webservice.

Fatehi Abdo Thabet
by Fatehi Abdo Thabet , Web Developer , Prodigy Systems

It depends on your knowledge and your gole.

Karan Panchal
by Karan Panchal , Senior Software Developer , Valuemoves Pvt. Ltd.

There is difference in calling web service using either of it. Angularjs would be my preference as coding is quite maintainable as it supports mvc pattern and service methods, controller, directive etc can be create using separate js file and hence coding is not bulky.

ajumal ashraf
by ajumal ashraf , Dealer , Caterpillar India Engineering Solutions Pvt. Ltd

Both Angular and Juery use very optimised methods to make XHR calls. Here, "Better" needs a context. Are you talking about the ease of development? Or Better functionality like speed and error handling. If its functionality, both work the same way at the Javascript layer and there is no difference in speed. If its regarding better looking code and easily maintainable code, then I should root for AngularJS with its vast number or Service and Promises usage.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.