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.

Libraries

fallstrick_mvc