Body:
This is a project that the customer requested to use extjs/vs2008 SQL Server 2005. It is also a long time that he hasn't looked at new technologies and some frameworks;
The preliminary design is to prepare to use extjs + httphandle to provide JSON + Google's josnserialization + LINQ to SQL, which can basically meet the needs of applications (not to check too much information at the beginning, I don't know if it is not supported by Microsoft in the later stage );
However, the customer is a technical drive Technician (like new technologies) and does not have much experience in design. However, they still know what to do with the new technology. Therefore, they need to use the WCF Service and Entity Framework, there is no way to spend two days researching and testing. I feel very practical. Let's talk about my ideas based on my understanding.
Client JS framework
The extjs heavyweight framework is very powerful and highly scalable. It integrates many features of Java SWT. It should not be said too much, but it is large and not suitable for Internet website development, however, it is very suitable for internal enterprise management systems;
Jquery's Lightweight Framework is highly scalable, but it is not as ready-to-use support library as extjs, and is suitable for Internet development;
Front end (font end)
Asp.net MVC
Integrated with the advantages of Castle monorail, and added graphical design support.. Net seamless integration. Mr has been used for a long time. Some time ago, when the beta version came out, we did some technical tests. It feels very useful, but it is still not very mature, we believe that the release version will have mature template languages and support.
WCF Service
WCF is clear to everyone. Many of the technical foundations of. Net 3.5 use Ajax-enabled WCF Service of WCF Service to provide JSON data, which does not require much encoding and is too convenient;
Entity Framework
ORMapping basically integrates the characteristics of Nhibernate, but it is far better than Nhibernate in friendliness and graphic interfaces. The definition on CSDL is more flexible and intuitive;
I can use the entity Query Language (like T-SQL) and LINQ to entity (query based and function-based). The biggest benefit is that I feel that I am generating and executing SQL statements, with support for the property change event, his SQL only searches for the specified field at the time of selection, so that the data volume is small. During update and insertion, only the database fields corresponding to the attributes modified in the object are updated;
I did some simple technical tests based on my previous project experience, and did not perform performance tests. I did not do much in-depth work. I just provided a project technical framework;
Category: C #. net
Release date: