Home > Net >  Want to practice BBS program way of thinking for help!
Want to practice BBS program way of thinking for help!

Time:05-14

I am a sophomore, a major is.net direction, recently taught himself MVC5, prepared by MVC5 write a BBS, try deployment project, but the building Lord I existing MVC5 data online learning ability temporarily can't understand, there are a few questions want to ask you, also hope you give me some advice more
Boostrap + 1. The front page I plan to use Ajax to complete
2. The backend to use MVC5 + EF6 framework, is my biggest question that the study of MVC5 textbook only by ef framework for database connection, and then introduces the MVC of M, V, C does not realize the actual project development steps (project without three layer structures), the original poster before learning to Asp.Net using the simple three layers, no Modal layer, is encapsulated in DAL a DBHelper class, to complete the operation of the database connection, but recent study of online information are involved in the Asp + EF6 three-layer framework has a factory pattern, and there's a IDAL and IBLL these two concepts is not very understand,
Said is a mess, as a whole is to write a BBS program through MVC5, whether must use EF framework, if you do not use, should be how to use other ways, three layers of MVC5
Building, factory pattern and IDAl IBL understanding of structure layer, or should have to learn some what technology, none of them have been posted, the original poster is 50 points, hope everybody can help me point the idea

CodePudding user response:

EF is just to let you write code operation database faster, just in order to improve the speed of development, actually running performance does not improve, can use ado.net without EF, namely oneself write SQL statements to manipulate the database, IDAL and IBLL is interface, in order to standardize the corresponding class, you want to simple point, also saves the two

CodePudding user response:

Why am I the first idea is to make you young in language,,, especially write web,
  • Related