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

The core idea of domain-driven design

There are many software development methodologies around, all with pros and cons but all also have a core idea, which is to be applied and understood to get the methodology right. For a domain-driven design, the core lies in the realization that since we are not the experts in the domain the software is placed in, we need to gather input from other people who are experts. This realization means that we need to optimize our development process to gather and incorporate this input.

So, what does this mean for JavaScript? When thinking about a browser application to expose a certain functionality to a consumer, we need to think about many things, for example:

  • How does the user expect the application to behave in the browser?
  • How does the business workflow work?
  • What does the user know about the workflow?

These three questions already involve three different types of experts: a person skilled in user experience can help with the first query, a business domain expert can address the second query, and a third person can research the target audience and provide input on the last query. Bringing all of this together is the goal we are trying to achieve.

While the different types of people matter, the core idea is that the process of getting them involved is always the same. We provide a common way to talk about the process and establish a quick feedback loop for them to review. In JavaScript, this can be easier than in most other languages due to the nature of it being run in a browser, readily available to be modified and prototyped with; an advantage Java Enterprise Applications can only dream of. We can work closely with the user experience designer adjusting the expected interface and at the same time change the workflow dynamically to suit our business needs, first on the frontend in the browser and later moving the knowledge out of the prototype to the backend, if necessary.

主站蜘蛛池模板: 科技| 保山市| 灵石县| 沾化县| 荣昌县| 垫江县| 临武县| 宁阳县| 万载县| 永修县| 田林县| 仙桃市| 龙井市| 石林| 修文县| 吉水县| 乡宁县| 湟中县| 远安县| 临洮县| 临颍县| 彭阳县| 安福县| 平江县| 新河县| 色达县| 满洲里市| 张家界市| 宁南县| 报价| 高州市| 大石桥市| 宝山区| 内黄县| 麻江县| 绥江县| 湘乡市| 乳山市| 浮山县| 宁河县| 库车县|