locked
doubts about angular RRS feed

  • Question

  • User-1471881183 posted

    i would like to clarify few of my doubts about Angular

    1. In what type of projects Angular is useful?
    2. To Get Data from DB, Using Angular we have to create service, component, api; rather using jquery we could get data from DB without serive, component; so, why have to use Angular and create service, component?
    Tuesday, September 29, 2020 10:27 PM

Answers

  • User1535942433 posted

    Hi winseealn@hotmail.com,

    In what type of projects Angular is useful?

    Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.

    To Get Data from DB, Using Angular we have to create service, component, api; rather using jquery we could get data from DB without serive, component; so, why have to use Angular and create service, component?

    jQuery is like a free poetry, you write lines and keep some relations and momentum appropriate for your task to be accomplished.

    Though, in Angular JS, you should follow some rules as well as keeping the momentum and relations proper, maybe it is more like classical Spencerian sonnet (a famous classical poet) whose poem is structural and tied to many rules.

    Compared against AngularJS, jQuery is more like a collection of codes and functions (which is, as already mentioned, great for DOM manipulation and fast-effect achievement), while AngularJS is a real framework which gives the developer the ability to build an enterprise web-application with a lot of data-binding and exchange within a superbly organized-routing and management.

    More details,you could refer to below article:

    https://stackoverflow.com/questions/13151725/how-is-angularjs-different-from-jquery#:~:text=Compared%20against%20AngularJS%2C%20jQuery%20is,lot%20of%20data%2Dbinding%20and

    Best regards,

    Yijing Sun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 30, 2020 2:27 AM