Excellent community software discuz! NT version of the tutorial

Source: Internet
Author: User
Tags execution garbage collection html page implement insert interface new features forum software
Tutorials | community

  Inherit discuz! advantage. NET Forum Mountain masterpiece

As a Comsenz company to open up the "net" field of the masterpiece, has been greatly anticipated. In this we especially to the vast number of user friends to provide "the first intimate Contact" series of articles for you to briefly analyze this new forum products.

Speaking of discuz!. NT, you have to mention the same as Comsenz under another one of the leading domestic community forum software market authoritative product discuz!. discuz! With six years of development history, the global user over 300,000. Its code quality, operational efficiency, load capacity, security level, function and the ability to control the tightness of the user has a good reputation.

discuz! NT borrowed from the rich development experience of discuz!, and inherited the good pedigree of discuz!. Now let's take a look at discuz! NT inherits the discuz! What are the leading advantages of PHP?

Performance:

One of the traditional advantages of discuz! series products is the excellent load capacity, can easily cope with such as laggards, 55bbs, BT Home and other large forums of large-scale visits, million people online, relaxed and comfortable.

discuz! NT well inherits the high load characteristics of discuz!. Product development at the beginning will be modeled after the discuz! in the database design used in the table strategy, to avoid the post table too large caused by the slow retrieval, while referencing the discuz! successful caching strategy, greatly enhance the server load capacity, and discuz! the same as the use of multithreading asynchronous processing of mail and short message mass , which improves the efficiency of transmitting the forum information. I should say, discuz!. NT is born to be a "Hercules", is a high-performance forum program.

Function:

discuz! the majority of webmaster care functions, discuz! NT is directly inherited or referenced by reference. Specifically as follows:

1, discuz! NT provides a rich logical structure (branch, loop), concise and flexible syntax, with the same as the discuz! template scheme. Beginners only need to understand simple HTML and CSS, you can customize the template style. At the same time, especially for the advanced user to provide a powerful template design mechanism, hundred change style, are out of your hands.

2, the discuz! of the powerful advertising management system, discuz! NT first version has head banner, tail banner, page text, post, float, couplet, six kinds of advertising layout mode, and support code, text, pictures, flash four kinds of content forms. This greatly facilitates the webmaster publishing and management ads, so that the amount of traffic into real income.

3, discuz! Based on the traditional plate classification strategy of discuz!, NT has realized the infinite class plate classification for the first time by using its own characteristics, which greatly facilitates the division content of the stationmaster, the infinite level of the sub version, the reduction of page area and the clear presentation of multi-level content.

4, discuz! NT also implemented a pseudo static URL, so that the virtual host users can also be used normally, thus greatly improve the search engine included.

5, discuz! NT also has a strong integration strategy settings, webmaster can customize the integral formula, easy to complete complex integration logic.

6, discuz! NT also adopted the web2.0 div+css layout, so that the amount of page code less, better structure, so that the search engine friendliness, and facilitate SEO (Search engine optimization).

7, like discuz!, discuz! NT also provides a "background Direct database backup" function, so that owners can easily back up.

Believe that these rich and powerful functions, can be very good to meet the people. NET Forum's needs.

Safety:

Forum Security has been the majority of the owners concerned about the most important, discuz! NT is the discuz! security mechanism, and combined. NET platform of its own excellent characteristics to improve, so that the vast number of ASP, ASP. NET users can use the same ease. Like discuz!. NT added the founder of the Forum set up, set up the founder, the background management operation of the most threatening settings limit for the founder of the talent executable, to avoid some man-made security risks.

It is worth mentioning that the discuz! NT not only in the defense mechanism and the concept of vision, in detail also carried out a number of unique processing. If it provides excellent anti-refresh mechanism, can effectively resist spam information, safeguard the security of Forum information.

User experience:

Discuz! has more than 6 years of experience in the user experience, and these experiences have been fully applied to the discuz! NT Development and software settings, so discuz! NT users can have exceptionally good usage experiences. Meanwhile, discuz! NT itself added a number of personalized design features: such as no refresh quick reply, replies more convenient; such as Flickr-style theme picture attachment thumbnail, so that users can browse the title of the article easily preview to the subject of the picture.

In short, discuz! The NT team actively draws on the rich experience of discuz! in the development process, absorbs the essence, and on its foundation fully excavates the powerful characteristics of the ASP.net platform to innovate, whether it is performance, function, Security or user experience and other aspects of the implementation of the 1.0 version can reach a high level, greatly beyond the domestic similar. NET forum software products, become a high-profile masterpiece.

  Free open source code and users grow together

Many users are discuz! The question of whether NT is open source has been hotly debated, and many people want the authorities to open up new products. Now we once again give a clear answer to the friend who cares about the open source question: discuz! NT will be in the official version after the free open source code, and will gradually release the source code supporting documentation and two development model, to help users to add their own personalized functions according to their preferences. The authorities will also publish new versions of new features based on user feedback, consolidation, and development.

Follow the global trend in the open source front-end

Open source sharing is the trend of the entire software industry today, and many of the world's leading companies (such as IBM, SUN) are beginning to support and implement open source projects. As a pioneer in this field, Comsenz has been advocating and promoting the open source movement in the country, itself is taking the practical action to walk in the front end of the domestic open source. discuz! products are completely free and open source, not only vigorously promote the popularity of PHP at home, the company itself has found an open source business model.

The success of discuz! products has strengthened our confidence in open source, discuz! NT so will also be completely open source. In discuz! NT all the developer's joint efforts, discuz! NT's Open source work is now in hot preparation. Developed for two times users and. NET technology learners prepared supporting documentation and user expectations of the highest two development template documents, has basically entered the follow-up finishing phase. discuz! NT official version of the perfect, all this will accompany the source code for you to provide free.

Users to participate in the development of products more secure and stable

More users are seeing discuz! NT source code, there will be more users to work with us to fix the discuz! Nt. discuz! NT Open source will let us more quickly reflect the needs of users, thus more rapid improvement of products, always walk in the forefront of similar products. In terms of security, open source software is being used and developed around the world, so it is more timely to understand the vulnerabilities of products and to repair and enhance, standing at the forefront of security.

Set aside more technical interfaces to facilitate resource integration

discuz! of Open source NT will reserve more technical interface, increase the degree of freedom of software, so that users can easily debug the platform for their own interface, and other web programs to work together to facilitate the integration between resources, reduce operating costs.

Excellent architecture unique mechanism to provide learning model

discuz! NT is a number of senior. NET Programmer's painstaking work, condensed the people's thinking sparks. discuz! NT Research and development team leader famous programmer Snowman (original Snowman forum author) is not only a cutting-edge programmer, but also an experienced product architect, he in this discuz! NT Development has created a very distinctive "fuzzy mechanism" and "dual caching mechanism", which will be part of the source code after the opening. NET technology enthusiasts to provide a learning model.

Anyway, discuz! NT as Comsenz in the. NET field push the new products, will implement the company's long-term idea of open source, with an open mind to welcome the broad masses of users together to improve and grow together to meet the future.

Let knowledge and technology to better share and spread, so that more friends can give full play to creativity, Comsenz is willing to continue to create a free space for you to develop.

  Adapting ASP.net platform to replace ASP forum software

With the rapid pace of Internet technology, the so-called Changjiang, Microsoft published many years ago, the ASP (Active Server Page), is now faced by Microsoft's push asp.net instead of the dilemma. In fact, since WINDOWS2003 began, the system with the IIS6 has been opened by default ASP.net and prohibit ASP, this proves that Microsoft has stopped the development of ASP, and instead vigorously develop and promote asp.net.

Comsenz is starting discuz! NT when abandoned ASP and direct selection of asp.net, it is in order to adapt to the mainstream of the development of Windows platform technology, in order to provide users with the most cutting-edge forum software technology applications, to ensure that the future has a broader space for development

Specifically, the ASP.net platform is chosen because it has the following advantages:

Compiling the execution language makes your forum faster

Compared to ASP and other translation execution script language, ASP. NET is compile execution, its brand-new idea "Code-behind page" makes HTML page be driven by the programmed instruction of oneself compile, this means discuz! NT generated Web pages will run faster than the ASP products have a very big improvement.

Support a variety of development languages forum features richer

Unlike the ASP, asp.net widely supports the current almost all popular programming languages, including VB.net, C #, J #, C + +, Java, Python and more than 20 kinds of computer languages. With so much language support, plus discuz! NT advocate the open source policy, you can use their familiar development language to add their favorite personalized features, barrier-free rich forum functions.

Asp. NET innate advantages to make the forum more secure

Asp. NET to achieve the separation of the code and the content of the page, compared with the ASP less loopholes, so discuz! NT is inherently highly secure. Furthermore, ASP.net is based on managed code and garbage collection, so that our developers do not have to focus on memory control, and thus have more energy to devote to the discuz! NT security to strengthen, let her become your assured security products.

Compatible with a variety of browsers and devices to improve the user experience

Asp. NET for different browsers and devices to provide excellent support, users regardless of what browsers and devices can easily navigate with discuz! NT program to establish a forum to prevent "inaccessible" or "content disorder" and other situations.

IDC is widely compatible to facilitate your cost-free upgrades

Since Windows Server 2003, the system has taken the. NET Framework 1.1, and the default is to open asp.net to prohibit ASP, according to the survey shows that the current domestic 80% IDC service providers provide support for ASP.net virtual hosting services, and most of them are at the same time supporting ASP, that is, if you are using the ASP forum, you can not need to spend any space costs can be upgraded to ASP.net platform based on discuz! Nt.

In short, ASP. NET platform has arrived, and the discuz! based on ASP.net platform NT, will greatly impact and gradually replace the ASP forum software.

  Powerful and innovative detail designed to be more intimate

discuz! NT inherits the traditional advantages of discuz! products, and on this basis fully excavates the special potential of ASP.net platform, and makes a more perfect design. discuz! NT v1.0 In addition to have a perfect interface settings, browse, reply, post, background permission settings, integration settings, such as forum software should have all the basic functions, but also added a number of functional innovation and intimate settings, so that people's eyes a bright. Here's a brief introduction to some of the features:

WEB2.0 specification + Infinite class plate category Browse more quickly show clearer

discuz! NT for the first time to achieve the infinite class plate classification, convenient content division, unlimited level of the sub-version, reduce the page area, clear display multi-level content. The use of advanced div+css layout in line with Web2.0 norms, so that less page code, better structure, so as to speed up the page access speed, improve the search engine friendliness, convenient SEO (search engine optimization).

In detail, such as close to the user's "only see the Landlord" function, you can screen unwanted posts, so that you hit the point. Like a theme directly to see the attachment thumbnail function, as long as the mouse to move to the topic of the title, you can display the subject of the appendix picture thumbnail, especially suitable for some photography, design class, such as often published pictures of the forum.

In particular, it is worth mentioning: discuz! NT for the future of the Internet world, in the foreground, backstage design are directly using the best compatibility of UTF8 coding, database storage forum information using Unicode type, so as to ensure that many languages, characters at the same time storage and display can be normal, to avoid the user suffered from garbled.

  

Topic attachment Thumbnail Preview

Background pseudo-static URL feature makes complex addresses simple

discuz! The pseudo static URL rewrite feature in NT background, which converts complex addresses with parameter information to a simple address in a custom asp.net-level URL format. Converted to a simple URL after the page, not only to facilitate user access, but also to facilitate the search engine included. Before the virtual host user can not use this feature only look at the sigh, now as long as the use of discuz! NT, you can easily have this "privilege".

Plate, grouped double control let webmaster easily set permissions

discuz! NT in the user rights settings, fully close to the user experience, absorbing feedback from users, so that webmaster or administrator to facilitate the implementation of complex user rights management. discuz! NT v1.0 version because of the use of advanced user groups and sub-forum permissions of dual control, webmaster can flexibly set different user groups in the use of different rights of the sub plate. In addition, the user group can also set the theme, attachment reading permissions, to facilitate the overall setting of the forum webmaster.

  

User group management features

Rich, easy to edit Template scheme forum Easy "face"

discuz! NT support more than a set of skin templates, the system itself with many excellent template scheme, users can freely choose. This feature provides a logical structure (branching, looping) that enriches template editing, simple and flexible syntax, and allows beginners to customize the style of templates simply by understanding HTML and CSS. In addition, for advanced users We also provide a powerful template design mechanism, the hundred change style, their own master, webmaster can easily to the forum "face".

  

Improve the function of posting to facilitate users to easily edit personalized posts

discuz! The NT v1.0 version of the posting editor supports both "UBB (code mode)" and "WYSIWYG" editing modes to make it easy for users to edit personalized posts. In addition, in the Post editor, from the user experience point of view of the development of automatic graphics and text line function and cover insert attachment function, are richer and improved the user's form of posting.

  

WYSIWYG Editor

  

Convenient upload attachment function

Flexible integration management features easy to "reward"

discuz! N in the background in particular, with flexible integration management functions, owners can easily customize the integration strategy, the realization of flexible user rewards and punishments mechanism, coupled with the humanized wizard function, even if the rookie can easily be "reward".

  

Ajax Technology Experience Pleasure response

discuz! NT v1.0 uses the latest AJAX technology to support No refresh quick response, allowing you to have a chat room-like pleasure experience.

Anyway, discuz! NT either the front user experience, or the background webmaster management, have excellent performance. More functions to you to experience and explore, but also welcome the majority of users to give us more suggestions for improvement, we will be more efforts to continuously improve the product.

  Excellent architecture facilitates web site integration and two times development

Taking into account the user's actual application requirements and future-oriented software development concepts, discuz! In the beginning of design and development, NT built an excellent architecture, which greatly improved the scalability, extensibility and reusability of software. In addition to the structure of the discuz! NT's own structure is more clear and easier to maintain, but also for users to carry out two times to develop and improve the personalized forum to provide a great convenience.

discuz! NT uses the following four-tier structure, let us briefly introduce:

(i) Display layer

The display layer can be designed and modified by the user to display the final Web page interface and forum data. It is particularly worth mentioning that the discuz! NT in the foreground did not choose the most asp.net program used by the control mode, but also to implement a convenient and easy to use the template mechanism. This template mechanism enables a webmaster to make a template with HTML (or XHTML) and then by discuz! The NT template conversion feature translates to a asp.net page program (aspx) file, which has two benefits:

1 improved ease of use: ASP.net ascx files are difficult for people who have not learned asp.net or have no knowledge of their development patterns, and discuz! NT template mechanism allows users to simply understand HTML can make ASP.net forum interface, webmaster can easily and freely design and modify the interface.

2 Improve performance: In general, the foreground program does not use control mode, while using the discuz! NT template conversion capabilities, performance will be significantly improved. such as discuz! The NT template conversion function does not need data binding, does not need to judge the data source and the transformation data type, does not use the page control, avoids uses the ViewState, thus greatly enhances the page performance. In addition, control patterns tend to be full-featured, and when you only need a subset of the functionality, a lot of useless code can drag down page performance.

Even more striking is the discuz! The NT display layer is highly flexible, enabling the definition of imported namespaces and inserting C # code in the template so that the display layer can easily insert data from other assemblies.

(ii) page data processing layer

discuz! The NT page data processing layer is mainly responsible for the data input and output processing of the Web page, including checking the validation of user data submission and the data source needed for the page program. This layer to achieve the main needs of the forum, completed the front page of the functional process, such as the user posts, the page data processing layer first judge the user rights, and then verify the user submitted data is legitimate, and finally call the corresponding business object encapsulation class method, the user's data is actually stored.

If the stationmaster wants the user to be able to interact with other programs at the same time in the foreground input and output, then it can be processed on the layer, for example: a phishing fan website wants to be in discuz! NT user profile to increase the fishing rod category options, and stored to the main website user information database, then you can add the fishing rod category in the front of the display layer, and then in the page data processing layer, the call will store the data into the site user information database method, complete storage.

discuz! NT page Data processing layer can access the database, but does not recommend the developer to increase the interaction with the database in this layer, the access of the database in the business object packaging layer described below.

(iii) Business object packaging layer

To the Forum, users, themes, posts, sections, user groups, etc. belong to the scope of business objects, discuz! NT describes business objects as object classes and provides a rich way to implement various operations on these objects. To the Subject object, the encapsulation method of the topic has realized the creation, the modification, the deletion, the update and so on the operation, discuz! Within NT, these methods are used to deal with topics, and developers can also call these methods directly to implement the discuz! NT, without having to manipulate the database yourself.

(iv) Database access layer

The database access layer provides encapsulation of different database access methods, currently discuz! NT has an access and SQL Server database, respectively, for SQL Server users, you can also modify the discuz! NT database stored procedures to efficiently implement a number of specific requirements.

It simply introduces the discuz! NT four-tier structure, in general, Forum is like a hotel, forum visitors are guests, the display layer is the hotel table and lobby, so that guests eat places; The page data processing layer is the waiter, responsible for receiving the guests ' order and the order to the chef; Business Object Packaging layer is the chef, responsible for making dishes and return to the waiter, The database access layer is the purchaser, which is used to purchase the raw materials required by the chef, and the architecture acts as a hotel process or regulation, by perfecting the division and coordination of the members, thus giving the guests a good dining environment and service.

In addition, whether the developer is using C #, vb.net, or any other supported. NET language, you can invoke the public methods in the above four layers directly to implement the discuz! An NT call. With discuz! NT Perfect after the open source, will have more and more developers to participate in development, I believe that under our common efforts, discuz! NT will be more perfect.

  Community-specific desktop client webmaster Management new Benefits

In order to celebrate the company based on the ASP.net platform of community software release the first official version, we also specially prepared a Windows desktop Client tool software, which is currently known as the world's first dedicated to the community webmaster dedicated Community Management client tools, it allows the use of discuz! NT software to build a forum webmaster can more quickly set up and manage their own forum, and can keep abreast of the latest situation of their own forums.

This compact and practical desktop software is developed with viscual C + + and can run under Windows systems without the need for. NET Framework support. After running, it will produce a small icon in the tray area at the far right of the taskbar, and right-click the icon to eject the menu, as shown in:

  

When running the software for the first time, the webmaster will be prompted to discuz! NT Forum address, webmaster can also set some other options, such as pop-up prompts interval time and so on. Set the pop-up prompts, according to the Set time pop-up prompt window, to tell the Webmaster current forum status, as shown:

  

Of course, the webmaster can also select the menu "Pause Prompt" feature to temporarily stop prompt pop-up window.

The message of the information includes the main forum that the webmaster needs at present, including the amount of online, current server CPU occupy etc., such stationmaster does not need to often open the browser to own forum to view, also can understand the newest situation of oneself forum in time, greatly lighten the burden of Webmaster Management forum. As shown in figure:

  

Select "Main Window" from the shortcut menu, or double-click the Tray area icon, you can open the main window, the main window can be a number of webmaster settings and operations.

The left side of the software is a similar common domestic chat tool QQ A scrolling window, select the left of the different functions, the right side of the window that shows the corresponding functional interface, simple and convenient.

  

The function of the client tool will be based on the feedback of the webmaster to do step-by-step improvement and enhancement, I believe it can let more convenient and efficient management of the community to maintain their own forum.



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.