LQ1. Explain Any Five UI Framework
LQ1. Explain Any Five UI Framework
LQ1. Explain Any Five UI Framework
The UI Framework encompasses all classes and interfaces included in Oracle Retail
POS Suite to support rapid development of UI screens. It enables the building of custom
screens using existing components.
For ease of development, the UI Framework hides many of the implementation details
of Java UI classes and containment hierarchies by moving some of the UI specification
from Java code into XML. This eases screen manipulation and layout changes affecting
the look and feel of the entire screen, subsets of screens, and portions of a screen.
1. React
Pros
Cons
When to use:
React is utilized for developing the user interface, particularly when you need to
build single-page apps. It is the most robust front end framework when you
require to make an interactive interface with less time since you can recycle the
components.
When not to use:
When you do not have hands-on knowledge with JavaScript, React is not the
suggested alternative. Similarly, for inexperienced developers, the JSX learning
curve is severe.
2.
Angular
Pros
○ Making the coding procedure easier due to its refactoring services and
enhanced navigation
○ The component-based pattern of Angular sanctions forms a user interface
with single components
○ Large Ecosystem
○ Angular Material reorganizes Material Design interface production
○ High Performance
Cons
○ Angular complication
○ Relocating legacy schemes from AngularJS to Angular
○ The CLI documentation is not fairly defined
○ The learning effort
When to use:
Angular enlarges the execution of browser-based apps by vigorously
modernizing the contents in less time since it exercises two-way data binding.
For an enterprise based and active web app, utilizing Angular is apt.
When not to use:
Angular is a comprehensive solution as a front-end framework. If you need to
develop apps with inadequate scopes, you will not be capable of employing the
resources that Angular furnishes.
Similarly, when you have a trivial size group, choose a minor framework with
simple syntax and fewer complexities.
3.
Vue.js
Pros
Cons
○ Reduced developers’ community
○ Flexibility leads to code irregularities
When to use:
Vue.js is one of the most popular frontend frameworks today owing to its
simplicity and flexibility. It lets you scheme the whole thing from scratch and is
efficacious in building massive projects as well.
When not to use:
If you consider the support community would be there to respond to the
intricacies, Vue.js is not the right track to go. Likewise, the applications
necessitating steady components are not appropriate to be fabricated with Vue
since the framework has presented difficulties with the firmness of parts.
4.
Ember.js
Pros
Cons
When to use:
If you need to develop contemporary applications like LinkedIn with a responsive
user interface, Ember.js is the framework. It comes with every mechanical
front-end enablement, like seeing a more comprehensive range of applications
because of outstanding routing delivered by Ember.js.
This framework positions as the complete frontend solution for an extensive
project because it supplies good binding, an equipped configuration, and custom
properties to deliver the page as required.
When not to use:
Ember.js is probably not an apt choice with a smaller development team since
the framework needs business logic and experience to resolve the difficulties.
The preliminary cost may be more significant with Ember.js.
Similarly, for scripting simple Ajax functionalities and building user interfaces, the
framework may not be suitable.
5.
jQuery
Pros
Cons
When to use:
This web development framework is utilized in building desktop-based JavaScript
apps.This framework retains the code crisp and fairly simple. It is employed in
managing the events and executing animations.
When not to use:
When you are building a large scale app, it is not feasible to utilize jQuery as it
makes your application hefty by placing extra JavaScript code. This framework is
not proficient in challenging the contemporary frameworks with the progressive
enablement of JavaScript, fewer coding, and reusability of elements.