The purpose of this article will be to illustrate and elaborate on some of the different kinds of widgets offered by the Akumina Framework. Some of the information presented will link back to other relevant pages, such as the "Akumina Widget Builder" and the "React Article".
The Akumina Framework currently supports three different frameworks in which to write Widgets. These frameworks are as follows:
Typescript targeting ES5 by default
ReactJS, targeting versions React V16.7.17 and ReactDOM V16.0.6
The framework can be chosen during the "Yo Akumina" installation process. The EcmaScript and React versions can be changed at will from your tsconfig.json and package.json files respectively.
Basic Widget Examples
Samples of bare-bones widget code can be found on the "AkuminaDev Github". Each subfolder contains an example of a project structure and a sample widget created through the Yeoman Generator. A general overview of each widget in its respective Framework is explained below.
An example of a Typescript widget can be found "Here". (This is currently in development)
Typescript widgets allow the developer to take full advantage of type-safety and intellisense, as well as more classical OOP paradigms such as easier use of polymorphism, inheritance, etc, by using Typescript targeting ES5 by default. It is worth noting that the Typescript option "use-strict" is defaulted to true.