官术网_书友最值得收藏!

Summary

In this chapter, you have seen that it is possible to create the skeleton of an application by simply defining the domain model. Scaffolding allows you to generate a basic application from the domain classes. Defining constraints to check the validity of the domain model is simple and concise, and best of all the constraints are encapsulated within your domain model. This makes it simpler to understand the domain model by giving extra context when working with the domain.

Constraints also allow some control over the default scaffold application, which means that it is possible to get enough mileage out of scaffolding to make it a feasible option for the first iteration of a rudimentary user interface.

In the next chapter, you will implement the first user goal for the application by allowing users to post messages.

主站蜘蛛池模板: 页游| 建瓯市| 阿巴嘎旗| 都昌县| 佳木斯市| 都兰县| 金昌市| 谢通门县| 化州市| 宁陵县| 睢宁县| 潞西市| 中西区| 荆门市| 阿勒泰市| 武定县| 黄平县| 南和县| 宿松县| 察哈| 巴东县| 河曲县| 巴东县| 安康市| 大洼县| 专栏| 三穗县| 河间市| 启东市| 拜城县| 沐川县| 怀化市| 井冈山市| 克东县| 仲巴县| 锡林郭勒盟| 张北县| 桂平市| 雷波县| 定远县| 泾川县|