I am new to Derby Js. How and where to create routes to controllers. 2- How to create Foo, Bar controllers in 'controller' folder and Foo, Bar models in 'model' folder and how to call the models in controllers.

Thanks in advance

有帮助吗?

解决方案

You probably came from Ruby or another similar MVC framework. Thing a little bit different in Derby. I advice you to:
1. Read tutorials and FAQ: https://github.com/vmakhaev/derby-docs
2. Make an app with 'derby new myapp' and play with it
3. Take a look at examples: https://github.com/codeparty/derby-examples

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top