Package Exports
- twobirds-core
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (twobirds-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
twoBirds
Welcome Birdies ;-)
twoBirds is a ...
- lightweight,
- component-based,
- event-driven / loosely coupled,
- vanilla
Javascript library that maps objects to DOM nodes or into other objects.
twoBirds is as easy as jQuery, but on application/framework level.
twoBirds supports all targets and web programming use cases, so using twoBirds alone you can...
build a plain old website using serverside rendering from ground up ( NodeJS based )
add JS functionality to an existing serverside rendered webpage in a simple way, no matter which framework was used on the server side
build a [single page application](single page application) from ground up ( client side rendering )
mix all of the above to optimize for search engines, or migrate an existing serverside rendered webpage to a SPA on the fly
build mobile apps using Phonegap/Cordova
build native apps using Electron
tB can completely replace your stack from the data source to the display - including microservice architecture. Progressive Web App programming is supported as well, but doesn't require special tB functionality anyway.
All of this is archived using the same coding style. twoBirds classes can render on the server side and on the client side with minimal changes.
Principles
twoBirds strictly follows the KISS and DRY doctrines.
The tB core can be seen as an intermediate step between a simple wrapper/helper library like jQuery and a fully fledged JS framework.
Like the first, it has selectors for the DOM and reasonable modification methods.
Like the latter, it incorporates a higher level abstraction scheme for application objects.
tB is JS-linted, Jasmine tested and this package contains the complete API documentation. Technically it is the minimum possible toolkit to create an application or reusable JS library.
Supplementary information
This readme only contains a short description - the repository contains a documentation web page in /src/tbDocs/index.html - simply click on it after cloning.
Tutorials (work in progress)
You can also contact me if you need a specific twoBirds plugin tailored for your needs or if a question arises.
