[Records of various problems encountered in the project process] Learning-Summary of open-source projects learned since work-discuznt

Source: Internet
Author: User

The previous article recorded the dynamic software code generation tool. This article is for the BBS forum on B/S-discuznt, which is required by this year's project. The customer needs to integrate discuznt on the B2C website to implement one-stop services. I also encountered some problems related to the integration of discuznt. I have also recorded some problems. You can refer to this article.Article:

[Discuznt] Integrate the small bugs found in the discuznt forum and a simple personal solution.

 

Discuznt

Discuznt should be considered as the best. Net open source BBS forum in China at present (non-open source should not have the same discuznt). It is born out of discuz! PHP version. and open-source, and the entire Forum meets the needs of domestic users, with the ability to customize sections, Forum blogs, shopping malls, and strong compatibility (can be integrated with many mainstream commercial projects), openSource codeAnd mutual access APIs, websites:

 

For discuznt, my positioning is still dynamic and soft.CodeJust like a generator, you can understand how it is implemented internally and what things can be learned. Compared with dynamic software, which only serves developers, discuznt has a wider audience. As it is positioned as a BBS forum, it has a strong interactive function and needs to be used. net, which can be used for reference, the following lists the places I think discuznt is very good and worth learning. (If you want to know more about discuznt, you can go to the dashboard blog to view the article about discuznt: Click here to enter ):

 

1,Plug-in mechanismAs a highly interactive website application, a forum is composed of many modules. Users can freely choose the functions they need, such as mall, blog, and email, the development teams of discuznt are ready, but it will be difficult for users or operators of a forum to expand on this basis. discuznt introduces the plug-in mechanism, developers who want to expand can learn about the operation of the plug-in mechanism for targeted development.

 

2,Open and easy-to-use APIsBecause discuznt is a forum and an indispensable part of Web applications, many websites need to include this part, it is too difficult and time-consuming for website developers to build a mature forum that meets the needs of domestic users. Therefore, a mature and useful forum is required, discuznt is born for this. discuznt can exist independently or as part of a website. However, the reality is that different websites are developed by different companies, discuznt is developed by a company. In order to integrate discuznt into various websites, discuznt provides a discuztoolkit and API document that can be used by other website developers, developers of other websites do not need to know how discuznt is implemented internally. They only need to know how discuztoolkit is used.

(If you need to integrate discuznt, you can take a closer look at the samples attached to discuztoolkit and discuztoolkit)

 

3,Static and personalized pagesBefore reading the source code of discuznt, I never thought that static pages can do this (please forgive me for my ignorance ), in my previous cognitive scope, static pages are always generated, and visitors directly access these static pages. Although this method is fast, it is too dynamic, if you want to interact with the server, you need a large number of JS scripts or nested IFRAME on the page. In addition, it is difficult to directly generate static la s for page styles and personalization, discuznt solves this problem well. It adopts the template page method. The artist can create template pages based on the design, you only need to reserve placeholders where the content needs to be filled, while the background only needs to select the template page created by the artist to generate the corresponding page, however, the generated page is not a purely static page. It Concatenates the static page by concatenating strings. The data part is obtained from the database and then directly response. write is output to a specific page, which ensures efficiency and solves the problem of personalization.

 

The following are some of my knowledge points and I think it is a good learning example.

4,Configuration FileIn the process of development, I often encounter a problem, that is, too many configuration information is difficult to manage. The solution of discuznt has benefited me a lot. If you are interested, please read this article: discuz! Configuration File class for NT [discuz. config]

 

5,Address RewritingIn web development, address rewriting is nothing new. There are also many solutions for address rewriting, but discuznt should be a good learning example, if you need it, you can learn its internal source code.

 

6,Online user acquisition, cache design, web project installation, etc..

 

In other words, if you think this article is useful or valuable, move the cursor over [recommendation] and click it for me. Thank you very much!

 

Records of various problems encountered during the project process

Editor:

FCKeditor related knowledge and various common usage Problems

FCKeditor custom upload path Configuration

Use FCKeditor to generate static paging html

Chart:

Tips on mschart

Good chart selection on ASP.net-funsioncharts

Orm:

Some minor issues with using nhib.pdf to configure object entities

About Nhibernate query Encapsulation

Deployment:

Problems related to project deployment-IIS

The tangled problems during project deployment-sqlserver

Tools:

. Net tool library frequently used for development

Learning:

Summarize open-source projects that have been learned since work-dynamic software code generation tools

Summary of open-source projects learned since work-discuznt

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.