Starting a new project - where to start?

I am going to launch my own project, which will be ASP.NET MVC + Fluent NHibernate. I want to use the test approach as much as possible. So where exactly do I start? Database schema? Domain Model? Mapping domain model classes to database?

+3
source share
4 answers

If you have little experience writing tests, it’s easiest to start with a domain model (or at a higher level just below the user interface). When you manage the design of a domain model using TDD, you will know what the database schema should look like. It might be a good idea to postpone the introduction of the database into the system, as processing the database schema migration will add some development overhead. And it will also lead to a better design, because then the domain model will be better separated from the database level.

TDD, ( -) , ( GOOS). , . , (1) , (2) , (3) , . (Focused unit test - , , , , .)

Design for Integrability.

+6

.

+2

/ (, Balsamiq Mocks) , , , , DAO/Repositorys . DAO/Repositories, . Fluent Nhibernate .

, .

+2

S # arp , , :

  • NHibernate
  • FluentNhibernate
  • TDD/DDD Sqlite
  • Mocking

You can also install the arch arch S #. template for Visual Studio IDE.

+1
source

Source: https://habr.com/ru/post/1739541/


All Articles