Create a project similar to CuteEditor. Release a test version dll

Source: Internet
Author: User
We decided to complete an open-source project named WordEditor.
Completed in three steps, The first step is to use an existing Editor To achieve a similar implementation.. Currently, one implementation of Cuteeditor has been completed, and more than 80% of CE functions are available.

The reason for Imitating CE is that its interface is the coolest, and its source code is obfuscated. Similar implementations are more interesting.

However, it is a mistake to select CE as the blueprint. In addition to the cool interface, his server-side code is very bad. On the one hand, to achieve better obfuscation, a large number of internal classes are used, and on the other hand, many strange methods are used to implement controls. Complicated a lot of simple problems.

RadEditor is another editor I just saw in the past two days. Its interface is cool and the server code is also good. His server implementation is very similar to my idea, and it is quite in line with normal people's ideas. It can be said that complicated problems are simplified. The first phase is complete.

Today, I saw a report saying: "From the video, the Japanese stealth fighter is actually a flip of the F-22, the entire shape is almost identical, equipped with two engines with Vector thrust, although no weapons, however, all weapons seem to be built in. In this view, the Japanese stealth fighter in order to "less detours", almost "full reference" the design of F-22 ideas ."

Similarly, in order to complete WordEditor, a little bit of implementation from the original perspective is far better than a relatively mature project as the blueprint, first modeled upon his implementation, and then reconstructed according to his own ideas.

You can:

1. Make up for your own shortcomings, such as the Javascript in the project.

2. At the beginning, the project reached a relatively high level.

3. Learn from its advantages and avoid its defects.

Step 2: refactor the server code (estimated two to three weeks).

Because CE's server implementation is not in line with the normal idea, it is very different from what I think. At this stage, part of the implementation of the previous stage will be rewritten according to my ideas, such as resource management and Gzip.

After reconstruction, the source code is published.

Step 3: Move the control to AjaxPlatform.

This step is the most critical step. After this step is completed, this control is the real start.

First, move the server-side code to Ajax. You can use the base class of asp.net ajax to save the ing code between server attributes and scripts. The Ajax platform also enhances the scalability and Stability of the control.

Second, rewrite the client script. This step is a headache because I am not good at js. However, there are many ready-made reference steps, and it should not be too difficult.

If you want to join us, contact me and learn together.AjaxI think learning by developing controls is also a good way to learn and write. Familiar with requirementsAjax.Msn: hao_ding@eyou.com

 

Deployment method. Because the CuteEditor configuration file is used, you only need to perform the following two steps:

1. Replace CuteEditor. dll with WordEditor. dll.

2. Replace the Dialog folder with the new Dialog in the attachment.

For more information, see cuteeditor documentation.
Download Code:
Http://www.cnblogs.com/files/bluewater/cuteeditor.rar
:

About Cuteeditor:

The implementation on his server side is quite strange, so is his client. The following uses a simple toolbarbutton as an example:



Below is Freetextbox



The following is RadEditor.



Of course, CuteEditor has many advantages, such as event processing methods. In short, CE's implementation methods and uniqueness.
Overview of this project

Http://www.cnblogs.com/bluewater/archive/2007/09/06/884990.html

Comparison of several editors

Http://www.cnblogs.com/bluewater/archive/2007/09/06/885001.html

Cuteeditor6 cracking

Http://www.cnblogs.com/bluewater/archive/2007/09/06/885006.html

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.