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

Source: Internet
Author: User

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

I always wanted to write a summary, but it was too busy, so I 've been dragging on and dragging on until now. However, with the accumulation of time, I found that I have made a small improvement. Haha ......

I have briefly talked about the development steps, documents, code, functions, and deployment of the original idea framework development. I have written this series of articles, I found that this series of articles are still too superficial, and many things have not been mentioned, and it is not explained. So after a while, I will continue to explain how to design a framework from the theoretical perspective (or set a goal for myself and add pressure), with the previous code, I believe that it is easier for you to learn the theory.

 

Summary

Learning is like sailing against the water. If you do not enter, you will leave. When your abilities reach a certain level and you can cope with various work needs, you will be in a comfortable state. If you do not keep learning, you will disrupt this state, make yourself uncomfortable. If you want to improve and increase your income, you can only use various external pressures to push yourself forward.

I will write this series of articles. My first thought was to refresh the blog garden rankings. I want to enter the top three thousand in the garden's blog rankings. I can show off with my friends (Haha... the second goal is to summarize and record your work over the past decade, so as not to forget some knowledge points; the third reason is to increase stress on yourself and be motivated by stress. Therefore, after setting a goal, let us say it out loud, tell people around the world, and then prove that we are not a good player, we can only make every effort to achieve this goal.

It took more than three months from the first article to the second chapter "website deployment" and had been struggling to query information, write code, and write articles. Since the article has never been very good, many times I want to express some things without knowing what words are appropriate. Sometimes I have to query a large number of articles if I want to use some special terms for reference errors, in more cases, I have not accumulated enough knowledge. I don't know where to start after I set a title ...... in this way, the previous chapter is completed without knowing it. During the compilation process, some friends gave me very valuable suggestions. I would like to express my sincere thanks and thank you for your support.

Many of my friends have applied the quick development framework introduced in this series to actual projects. I personally have a sense of accomplishment ...... of course, it is good or not. I know it only after I have used it ...... hey ......

This series is intended for development of small and medium-sized projects, from the preparation, documentation, functional module design, model, application technology, to specific project implementation, database design and creation, coding, and function implementation, and explained the functions and use of some core modules, and finally briefly talked about testing and website deployment. Friends who have read this article may know that most of the content in the 25 chapters has been mentioned one by one and has not been discussed too deeply. On the one hand, the level is limited, and their knowledge accumulation and accumulation are insufficient. On the other hand, the company's projects are also relatively tight, with too little free time and busy.

There are some defects in the Development of SubSonic3.0 ORM, but most of them can be solved directly because of the source code. It was found that it does not support Oracle databases, some friends found the official Oracle underlying T4 template some time ago. I believe that familiar friends should be able to solve this problem on this basis. The SubSonic ORM framework has been abandoned by many people, and there are indeed fewer technical articles in this regard. I hope that all of my friends who like it can maintain it together. After all, my personal time and capabilities are limited, it takes some time to fix some features.

Of course, the convenience it brings to everyone is also very obvious. The reduction of coding amount and the improvement of development speed will not be repeated. As long as the logic layer template is designed and combined with Redis cache, the database structure is well designed, which is sufficient for large and medium-sized websites with high concurrency. A previously developed e-commerce website uses a normal computer for stress testing. The 1 K concurrency is no problem at all. The temporary tables, history tables, and summary tables can be reasonably used, A large amount of records is also a small case. In addition, the development of CS software is also very convenient to call in practical applications.

 

Code Bug Modification

Because the projects in this series write blogs while coding, some of these functions are quite different from what I actually use in my work, basically, this is where coding is implemented, and then where the chapter is published, which has not been tested and used in the production environment. As a result, many bugs have been released in the previous chapter, which makes many friends have a headache, haha.

During this period, I optimized and modified the data layer, logic layer templates, and modules through my own applications in the actual project (an outsourcing e-commerce network project) and feedback from some friends, solved login exceptions and empty exceptions in calling the logic layer, and upgraded FineUI on the UI Layer to the latest version 4.1.4, after downloading the code, please compare it to your own project (I originally wanted to share and manage the source code in github.com, but I don't know how to do it after a long time, E is really a headache ).

 

In addition, if you do not want to upgrade to FineUI4.1.4, you do not need to update FineUI In the Dll folder. dll and UI-layer files do not need to be changed. If you want to upgrade files, you need to change the following content synchronously.

This FineUI upgrade mainly affects the list page and does not affect the editing page.

In the cs file on the list page, the gridjavasprerowdatabound function of the list control property binding function is canceled in the original call method. The following processing is required:

To:

 

The aspx page also has two areas to note. First, if there are too many columns in the list and the browser does not fully display the horizontal scroll bar, the label is required. <f: add the table Height label (for example, Height = "400px") to Grid>. In addition, <f: window> Removes the plain = "false" attribute and needs to be deleted manually.

 

Okay, I am not talking too much nonsense. The latest code below

Compile a simplified csharpframework solution from scratch: 20141113.rar

 

 

 

Copyright:

This article was originally published by AllEmpty and published in the blog Park. You are welcome to repost it. You must keep this statement without your consent and provide the original article link clearly on the article page,Otherwise, the right to pursue legal liability is reserved.. If you have any questions, you can use1654937@qq.comThank you very much for contacting me.

 

As long as you are interested in learning and making progress together, you can add Q group: 327360708 to this topic.

 

For more information, please refer to blog: http://www.cnblogs.com/EmptyFS/

 

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.