How would the 'Model' in a Rails-type webapp be implemented in a functional programming language?

前端 未结 2 972
别那么骄傲
别那么骄傲 2021-02-08 05:42

In MVC web development frameworks such as Ruby on Rails, Django, and CakePHP, HTTP requests are routed to controllers, which fetch objects which are usually persisted to a backe

2条回答
  •  渐次进展
    2021-02-08 06:16

    Have a look at the Conjure web application framework for an example of how one might implement an MVC framework in a functional programming language. Conjure uses clj-record for the model layer, which has support for associations and validations.

提交回复
热议问题