skadi-d ~logger-component
Skadi.d MVC Web Framework D language.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Skadi.d
Skadi MVC Web Framework D language on top of Vibe.d
More documentation to come.
Still in a early stage.
Installation
OS X
brew install dub
brew install libevent
brew install mongodb
Run
git clone https://github.com/Faianca/Skadi.d.git
cd Skadi.d
dub
Config
At the source/config folder you have a few config files.
Config.d
- Configure Port
Namespaces.d
- 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"
Services.d
- To register new services
To inject them
@Inject {
public MongoService mongoService;
public TestService testService;
}
TODO LIST
At the moment working actively on a form builder for Diet templates.
- Event Dispatcher
- Model | ORM | ODM
- Better router
- Vendor strategy
- Logger
- Api Helper
- ~logger-component released 9 years ago
- faianca/skadi.d
- MIT
- Copyright © 2015, faianca
- Authors:
- Dependencies:
- vibe-d
- Versions:
-
0.0.3 2015-Sep-03 ~master 2015-Sep-28 ~logger-component 2015-Sep-10 ~formtest 2015-Sep-18 ~components-form 2015-Sep-07 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
160 downloads total
-
- Score:
- 1.8
- Short URL:
- skadi-d.dub.pm