parrot 0.0.2 copy "parrot: ^0.0.2" to clipboard
parrot: ^0.0.2 copied to clipboard

Parrot is a progressive Dart framework for building efficient, reliable and scalable server-side applications.

🦜 Parrot

A progressive Dart framework for building efficient, reliable and scalable server-side applications.

pub package License

What is Parrot? #

Parrot is a Dart framework for building server-side applications. It is designed to be modular and maintainable.

In the Parrot core container, we use the DIP (Dependency Inversion Principle) design and agree on the way modules are composed.

NOTE: Parrot uses dart:mirrors to parse annotations and put the processed results into a container.

Getting Started #

Create a simple module:

import 'package:parrot/parrot.dart';

@Injectable()
class SimpleService {
  void say() {
    print('Hello, 🦜 Parrot!');
  }
}

@Module(
  providers: [SimpleService],
)
class SimpleModule {}

Next, create an application module:

import 'package:parrot/parrot.dart';

@Module(
  dependencies: [SimpleModule],
)
class AppModule {}

Finally, create an application:

import 'package:parrot/parrot.dart';

void main() async {
  final app = await ParrotApplication.create(AppModule);
  final SimpleService simple = app.resolve(SimpleService);

  simple.say(); // Hello, 🦜 Parrot!
}

Documentation #

Read the documentation for more information.

Examples #

For more examples please visit 👉 examples

1
likes
0
pub points
0%
popularity

Publisher

verified publisherodroe.com

Parrot is a progressive Dart framework for building efficient, reliable and scalable server-side applications.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on parrot