Notes: Frontend
Last updated
Was this helpful?
Last updated
Was this helpful?
jQuery makes no assumptions about your web technology stack, and may be used in conjunction with other frameworks, including AngularJS. In fact, AngularJS is built off of an implementation of jQuery called jqLite.
Since jQuery has no real structure, the developer has full freedom to build projects as they see fit. However the lack of structure also means it’s easier to fall into the trap of “spaghetti code,” which can lead to confusion on larger projects with no clear design direction or code maintainability. For these situations, a framework like AngularJS can be a big help. ()
A single-page application (SPA) is a web application or web site that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server.
Single-page apps rely heavily on AJAX, which allows for communicating with the back-end servers.
In traditional server-side HTML programming, concepts such as controller and model interact within a server process to produce new HTML views. In the AngularJS framework, the controller and model states are maintained within the client browser. Therefore, new pages are capable of being generated without any interaction with a server.