Should I use nhibernate for a fairly small project?

Let me say that I know NOTHING about nhibernate other than its for databases. I am doing a fairly small project, should I learn nhibernate?

I have 4 questions

Does nhibernate use redundant level in a small project? What should I NOT use nhibernate? if i have a big project should i use nhibernate if it has very complex tables? What about simple table schemas?

+3
source share
3 answers

nhibernate is a very flexible system and can be used with simple or more complex databases. The real question comes down to the fact that your project is more likely if it's large or small, and how much time you want to spend on creating a good design. If your site simply pulls a table from the database, listing it on a web page for viewing and editing. nhibernate is more killed, you just don't need to create the business objects that it will create. On the other hand, if the business / domain objects are the central point of your project, you can use nhibernate.

+6
source

Why not start using nhibernate in a small project? This is a good way to study it without additional complication and stress in studying it in a large project.

+6

Of course, you do not need to learn nhibernate, but this may be a little redundant for a small project. A small project is a great opportunity to learn nhibernate, but if you are in a hurry to do it, you probably would be better off without it now.

+5
source

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


All Articles