Asp.net MVC 3 Develop an enterprise website system following the functions of the blog garden-Overall Design

Source: Internet
Author: User

The proposal to use Asp.net mvc3 to develop an enterprise website system has been enthusiastically encouraged by many garden friends. It also gives me more confidence and determination to hope to complete this simple system.

The first two indexes:Asp.net MVC 3 develop a simple enterprise website systemAsp.net MVC 3 simple enterprise system development-Database

The sparrow is small and dirty. As a small enterprise website, we cannot be an exception. In the previous article, we talked about the database design stage that this website should have. According to engineering theory, what we should do is the overall design.

Well, let's talk about the overall design of this simple website.

First, determine the specific functions and the Implemented interfaces.

1.Logon and User Registration. To be honest, users do not need to be registered on Enterprise websites. However, because we follow the pattern of the blog garden, we come every day, so the user login and registration functions are also added.

Of course, as long as user functions are involved, permission management should also be a necessity.

2. User permission management component. It is much easier to process this web form in MVC. You can register the global filter feature to complete this function.

3. ClickCATEGORY list display.

For this function, of course, I think the first choice is the classic partialview in MVC.

4.Blog list Function. This blog is based on AJAX asynchronous submission. Of course, this involves refreshing and improving user experience. We cannot lag behind either. The Ajax + JSON processing method is still used. Of course, paging is a problem. To use the paging component, I can think of mvcpager. I don't know if you have other components or more effective paging methods.

5. blog details page. This should be the simplest of all the content to be implemented, at least I personally think so. Don't despise me

6. blog comment page. UseKindeditorOnline Editor for users to make comments. My initial idea was to make the comment display page in the form of paitialview and submit it using Ajax. However, in this way, my mind is always strange, but I cannot find a better solution. If you have any good solutions, please tell me and let my brain know.

7.SearchFunction. Similar to the searching and viewing function of the blog garden, this is of course the porting version of the great Lucene in the framework I listed earlier-mongoe.net. In order to achieve better and more efficient searchLucene. NetArticleI basically read it once, but I found that all the versions used are 2.3, and now the latest version is 3.0, So I decisively downloaded the latest version from the official website. I am going to study version 3.0, however, there are no relevant documents. If you have any good comprehensive information. Please tell me.

There is also, of course, the use of ipve.net 3.0 is required, but the Chinese word segmentation, the use of DanielPangu(Very domineering name) Word Segmentation Version 2.3.

Of course, there is another one that has to be mentioned, that isProgramAutomation. The porting version of quartz is quartz.net. We will use lucene.net to create indexes on a regular basis. After all, machines are much more punctual than humans.

8. After talking about the front-end, there is also a very important background management. The front-end and back-end work is not tiring. Easyui is used in the background. Of course there are many other jquery-based frameworks. I am stupid and can only use easy.

9.Performance Optimization. I often hear from my boss that it is very simple to build a website. There are a lot of websites on the Internet, but there are not many requirements. Among them, performance is a factor. Performance optimization is important for hardware, but it is more cost-effective for software.

Of course we have to use a variety of free performance optimization tools, and cache is the first choice,MemcachedThat's my choice. Why don't I use memcached without built-in caching? I can only say that I use this in my company, and this is highly scalable, with weak built-in cache functions, poor scalability, and inflexible.

10. After the performance is finished, of course there is no perfect person, and the program will also go wrong. Now is the time for log export. Another is log4net, a transplanted version of log4. Logs can be recorded in text, database, and other storage media.

11. You may have said, why didn't you see any other frameworks that you have mentioned? Didn't you dare to use them because they didn't! In fact, this is really possible, but I am a stubborn tumbler, boasting. IOC (dependency injection), nhib.pdf (Entity Framework), and npoi.net are not included in the scope of functions to be implemented, which only reduces our maintenanceCodeTo reduce the probability of errors. But they are more complex and worth studying. At least I think so.

Npoi.net is a component used to operate Excel. It can perform 360-degree operations on Excel. It is used to import data. After all, the data in the new system is empty, and it looks comfortable to import some data.

Well, I was going to talk about the overall design. I didn't expect to talk so much nonsense. Well, there is still a long way to go!

The road is still far away, and comrades still have to work hard ~~~~

No, so many words, exhausted, watch TV first

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.