Modularity is common components such as cards, toolbars, navbars, and containers are built once but can be used many times. So, this framework is able to build many reusable components without having to code from scratch.
Components in this framework can be developed by applying the principles of class and object . This concept is known by developers as object- oriented programming (OOP). OOP itself often occurs when developers use typescript -based frameworks .
Such things certainly make it easier for application developers to develop code and adapt it to the programming paradigm . Because most of the programming languages used are Java or C#.
3. Reactive Programming
In programming, the server response results appear list of tongliao cell phone numbers asynchronously. To maintain a good user experience , we cannot always use code sequentially. We must also be able to run code that can function asynchronously .
This is why a framework must have a reactive programming feature . Angular itself uses a tool called RxJS or reactive javascript . This feature is able to accommodate all forms of changes that occur asynchronously in order to keep the code running even though the application is still fetching requests to the server .
Although the basics are the same, the latest version of AngularJS has several differences compared to its predecessor, namely:
1. This framework does not have the concept of “scope” or controller and only uses component hierarchy as the main architecture.
2. The expression syntax in the latest version of AngularJS is different with a focus on “[ ]” for binding properties and “( )” for events.
3. Many core functions are moved to modules to improve modularity.
4. Angular has recurrent callbacks provided by reactive javascript . While this limits state visibility and debugging , this can all be accomplished using reactive add-ons like ngrx or ngxs.
5. This latest version also has support for a universal framework capable of running applications on the server .
6. In the latest version, there is a template compilation for asynchronous processes .
Object-Based Programming
-
- Posts: 71
- Joined: Thu Dec 26, 2024 5:16 am