structures 0.0.10 structures: ^0.0.10 copied to clipboard
A suite of commonly used standalone data structures, types, interfaces, utility classes and extensions that simplify app development.
Structures #
This package includes some commonly used :
This package's aim is to simplify application development, by providing a suite of commonly
used Structures
, Types
, Interfaces
, Utilitie
, Extensions
that support
modern application business logic to drive any application flow you desire.
The goal of structures
packages is to minimize the time/effort it takes to put an application
business logic together.
Many libraries tackle this from UI, other do it from backend, we simply approach at it from business logic design perspective.
Notice. #
The name of this package alone bears a huge promise, and the aim listed above doesn't help but fuel the illusion of a well oiled package that solves all that ails you.
Fact is, this package is not an overnight effort, and what is common to the contributor of this package may not be common to you. Expect it to be opinionated, and give it time to grow. Hopefully we can grow together.
The following are groups of what this package does and intend to provide.
Basic Reactive Types and Structures #
Status: WIP
Name | Description | Status |
---|---|---|
Live | A listenable (reactive) interface class | ✅✅✅ |
Value | A listenable value reactive interface class | ✅✅✅ |
Notifier | Implementation of Live interface | ✅✅✅ |
LiveValue | Implementation of Value interface | ✅✅✅ |
AReactor | Function type defining listener | ✅✅✅ |
UI Component Structures #
Status:| WIP
Name | Description | Status |
---|---|---|
Choice | A convenience interface representing an object that can be selected out of many | ✅✅✅ |
ChoiceList | This is fixed-length single choice Choice List | ✅✅✅ |
Validation | An interface of a validation, containing a message to give context to the validation | ✅✅ |
Validatable | An Object whose definition is validatable A Validatable can verify to see if its instance is valid. | ✅✅ |
Success | A representation of a successful Validation | ✅✅ |
Failure | A representation of a failed Validation | ✅✅ |
Clean Data Types #
Status:| WIP
Utility classes #
Status:| WIP
Extensions #
Status:| WIP
Name | Description | Status |
---|---|---|
AList | An extension of a List | ✅✅✅ |
Loop | An extension to Iterable | ✅✅✅ |
Merger | Merger on Pair | ✅✅ |