Prerequisites
Before getting started with BunyJS, ensure you have a solid understanding of the following concepts:
- TypeScript: A working knowledge of TypeScript is essential, especially its syntax, advanced features like decorators, and how it enhances JavaScript. BunyJS is built with TypeScript-first principles, leveraging its powerful type system for robust development.
- experimentalDecorators: Enable the
experimentalDecorators
compiler option in yourtsconfig.json
to use TypeScript decorators with BunyJS. - emitDecoratorMetadata: Enable the
emitDecoratorMetadata
compiler option in yourtsconfig.json
to emit design-type metadata for decorators.
- experimentalDecorators: Enable the
- Event-driven architecture: Familiarity with event-driven programming concepts, such as lifecycle events and event coordination, will help you grasp BunyJS’s event-centric approach to managing module interactions.
- Inversion of Control (IoC): Understanding the IoC principle is critical. It allows BunyJS to manage dependencies using a centralized container, enabling modularity and flexibility in your applications.
- Dependency Injection (DI): Knowledge of DI patterns is key to understanding how BunyJS promotes loose coupling by dynamically resolving and injecting dependencies into your components through its IoC container.