Write your own C # framework from scratch (26)--Summary

Source: Internet
Author: User

Always wanted to write a summary, but it is too busy, so drag and drop, drag to the present, but also, with this period of precipitation, found that they have a small progress. Ha ha......

Originally want to framework development of related development steps, documents, code, functions, deployment, etc. are simply said, this series of articles, after this period of deep learning, found this series of articles is too superficial, a lot of things are not talked about, also did not say understand. So after some time is free, will continue to explain in theory how to design a framework (also is to set a goal for themselves, Gaga pressure), with the previous code to understand, and then learn the theory that we are more likely to accept.

Summary

Learning such as riding, behind, when the ability to achieve a certain degree, able to cope with a variety of job needs, will be in a comfortable state, do not think enterprising, because the constant learning will disrupt this state, so that they are not so comfortable. Want to progress, want higher income, can only use a variety of external pressure to force themselves forward.

Will write this series of articles, the original idea is to brush the blog Park rankings, want to in the garden blog ranking can go to the top 3,000, you can and friends around the famous (haha ... Everyone didn't think of it); The second goal is to make a summary of their 10 years of work and record it, so as not to forget some of the knowledge points, Sunline is to give themselves to increase the pressure, there is pressure to power, so set a goal to speak loudly, tell the world's people, and then to prove that they are not blowing cowhide, Can only go all out to achieve this goal.

From the 1th to the 25th chapter "website Deployment", before and after spent three months, has been struggling to check the information, writing code and writing articles, because the writing has been not very good, many times want to express some things do not know what the text suitable, sometimes to use some of the proper noun when the wrong reference, also have to query a large number of articles More time is the accumulation of their own knowledge is insufficient, set a title after not know where to write ... The accumulation of such a bit, unknowingly completed the previous chapters. In the process of writing a very good friend to give a very valuable advice, here to express our loyal thanks, thank you for your strong support.

For the rapid development Framework introduced in this series, a lot of friends have been applied to the actual project, I personally have a special sense of accomplishment, hehe ... Of course it is good or not, used to know ... Hey......

This series is aimed at the development of small and medium-sized projects, from pre-preparation, document writing, functional module design, model, application technology, to specific project implementation, database design and creation, coding, function implementation, and explain some of the core modules of the function and use, and finally on the test and site deployment is simply said. See friends should know, 25 chapters, most of the content is around, not too deep, on the one hand, the level is limited, their knowledge accumulation and precipitation is not enough. On the other hand, the company project is also relatively tight, idle time is too little, has been busy.

For the SubSonic3.0 version orm, there are some shortcomings in the development, but because of the source code in, most can be directly resolved, before the discovery does not support Oracle database, some time ago a friend found the official Oracle bottom T4 template, I believe that familiar friends should be able to solve this problem on the basis of this Of Subsonic This ORM framework has been abandoned to many people, this aspect of the technical article is also really less, hope to like its friends all together to maintain it, after all, personal time and ability is limited, there are some features to repair it really takes time.

Of course, it brings us the convenience is also very obvious, the number of coding and development speed of the promotion will no longer repeat, as long as the design of the logical layer template, with the Redis cache, design a good database structure, for high-concurrency large and medium-sized web site is fully enough. Before the development of an e-commerce type of Web site, using a normal computer for stress testing, 1K concurrency is no problem, and the rational use of temporary tables, historical tables and summary tables, the large volume of records is also small case. In addition, for the development of CS type Software, it is very convenient to invoke it in practical application.

Code Bug Modification

Since the project in this series is one side of the coding side of the blog, some of the features of my actual work with the use of a larger difference, basically is the implementation of the code to where and then the chapter published to where, not tested in the production environment, so there are a lot of bugs in the previous chapters published, Let many friends have a headache, hehe.

This time through their own in the actual project (an outsourced e-commerce network project) application and some friends feedback, the data layer, the logic layer template and the module has been optimized and modified, to solve the landing anomaly and the logic layer calls some empty anomalies, At the same time the UI layer of the Fineui upgrade to 4.1.4 the latest version, you download, please compare the code update to their own project (originally wanted to share the source in the github.com management, can get a half-day also do not know how to do, e-text is too bad really headache AH).

In addition, we would like to focus on the point that if you do not want to upgrade to FineUI4.1.4, you can not update the DLL folder in the Fineui.dll,ui layer of files and do not change, and want to upgrade friends, the following content needs to be synchronized changes.

The main impact of this Fineui upgrade is the list page, which is not affected by the edit page.

List page of the CS file, the List control property binding function Grid1_prerowdatabound, the original call method is canceled, need to do the following processing

Modified to:

The ASPX page also has two places to note, one is the list if too many columns, the browser display does not want to appear in the horizontal scroll bar, you need to add the table label <f:Grid> height label (such as: height= "400px"), plus <f:window> The plain= "false" attribute is canceled and needs to be deleted manually.

Well, don't say too much nonsense, the latest code below

Write your own CSharp framework solution from scratch 20141113.rar

Copyright Notice:

This article by Allempty original and published in the blog Park, welcome reprint, without my consent must retain this paragraph statement, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility . If you have any questions, you can contact me by [email protected] , thank you very much.

Published this part of the content, as long as the Lord and everyone together to learn common progress, interested friends can gaga Q Group: 327360708, we discuss together.

For more information, please note the blog:http://www.cnblogs.com/EmptyFS/

Write your own C # framework from scratch (26)--Summary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.