A hot-pluggable web framework based on ASP--theory

Source: Internet
Author: User

There are already netizens in the garden talking about. NET hot-Plug web framework implementation, my method differs from it. Here is recorded, interested netizens can see.

The reason and difficulty of designing the framework

The reason for designing this framework is that I want to build a web app like wordpresss that makes it easy to enable, disable plugins and themes. WordPress is a popular blog app. By using WordPress, a novice can quickly build a blog or website, with a variety of their own needs of the plugin-from SEO, social media account login to the background management application plug-in, and with good-looking theme, only a few steps, you can have a fashionable and closely follow the trend of the site.

Asp. NET there are already plug-in programs. Orachard, DotNet Nuke is one of the better examples, but I want to be able to build a web app that supports online editing plugins, themes that can be fully implemented with an ASP. Rendering engine or only simple HTML and JavaScript.

Asp. NET itself does already have the concept of theme, but its implementation method is too stiff, to flexible performance of different pages or there are some difficulties.

To implement an application like WordPress, First of all, there are plug-ins and themes that support the full ASP, only the specific template language and HTML are always too restrictive, secondly, the plug-ins and themes should be able to integrate seamlessly, can be independent of each other and can rely on each other, switch plug-ins and themes do not affect the final page of normal rendering; Finally, like WordPress, provides Centralized plug-ins and theme servers, all plugins and themes can be upgraded with one click.

The main problem in implementing such a program is

1. Plug-in implementation and integration-plug-in implementation to be as free as possible, all types of requests can be processed, the rendering of the request results, can be arbitrary between the plug-in and the plug-in and the Web application between the data communication

2. How to manage plugins-how to load and enable plugins without affecting the current web app, plugin publishing and upgrades

3. theming--The theme page is fully implemented with ASP, theme management

4. Other--configuration support, multi-language support, dynamic compilation support, source code management, security, performance

Head a bit big, to say something seems a bit more, put, slowly more. The final goal is a WordPress-like one. NET implementation.

The road long its repair far XI, I will go up and down and quest.

A hot-pluggable web framework based on ASP--theory

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.