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

A starting point for Dart libraries or applications.

fallstrick_mvc #

language license

Usage #

A simple usage example:

import 'package:fallstrick_mvc/fallstrick_mvc.dart';
import 'package:fallstrick_hosting/fallstrick_hosting.dart';


void main() {
  createWebHostBuilder('localhost', 8080).build().run();
  MVCReflection.doScan();
}

WebHostBuilder createWebHostBuilder(String address, int port) {
  return WebHostBuilder().useHttpListener(address, port).configure((app) {
    app.use(fallStrickMVC);
  });
}

@controller
class HelloController {
  void helloWorld() {
     print('helloworld')
  }
}

We should use this package with fallstrick_routing and fallstrick_hosting

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

fallstrick_hosting

More

Packages that depend on fallstrick_mvc