How is AngularJS different from jQuery

前端 未结 6 1538
情歌与酒
情歌与酒 2020-11-28 16:51

I only know one js library and that is jQuery.
But my other coders in the group are changing AngularJS as their default library in new project.

I don\'t know any

6条回答
  •  醉话见心
    2020-11-28 17:29

    Jquery :-

    jQuery is a lightweight and feature-rich JavaScript Library that helps web developers
    by simplifying the usage of client-side scripting for web applications using JavaScript.
    It extensively simplifies using JavaScript on a website and it’s lightweight as well as fast.
    
    So, using jQuery, we can:
    
    easily manipulate the contents of a webpage
    apply styles to make UI more attractive
    easy DOM traversal
    effects and animation
    simple to make AJAX calls and
    utilities and much more… 
    

    AngularJS :-

    AngularJS is a product by none other the Search Engine Giant Google and it’s an open source
    MVC-based framework(considered to be the best and only next generation framework). AngularJS
    is a great tool for building highly rich client-side web applications.
    
    As being a framework, it dictates us to follow some rules and a structured approach. It’s
    not just a JavaScript library but a framework that is perfectly designed (framework tools
    are designed to work together in a truly interconnected way).
    
    In comparison of features jQuery Vs AngularJS, AngularJS simply offers more features:
    
    Two-Way data binding
    REST friendly
    MVC-based Pattern
    Deep Linking
    Template
    Form Validation
    Dependency Injection
    Localization
    Full Testing Environment
    Server Communication
    

提交回复
热议问题