Skadi MVC Web Framework D language on top of Vibe.d
Still in a early stage.
brew install dub
brew install libevent
brew install mongodb
git clone https://github.com/Faianca/Skadi.d.git
cd Skadi.d
dub
At the source/config folder you have a few config files.
- Configure Port
- To register a new bundle
enum Namespace[] namespaces = [
Namespace("PostBundle", [
Controller("PostController", "/")
]),
];
Application/PostBundle/Controller/PostController.d with a prefix route match "/"
enum Namespace[] namespaces = [
Namespace("ApiBundle", [
Controller("PostController", "/api/post"),
Controller("UserController", "/api/user")
]),
];
Application/ApiBundle/Controller/PostController.d with a prefix route match "/api/post"
Application/ApiBundle/Controller/UserController.d with a prefix route match "/api/user"
- To register new services
To inject them
@Inject {
public MongoService mongoService;
public TestService testService;
}
At the moment working actively on a form builder for Diet templates.
- Event Dispatcher
- Model | ORM | ODM
- Better router
- Vendor strategy
- Logger
- Api Helper