Update of sunflower Gantt chart in the last two weeks (06.30-07.13)-on-demand read and other important updates for Performance Optimization

Source: Internet
Author: User
We have been working hard! During the last weekend, Gantt chart was undergoing a major transformation, so we were unable to launch a Development Process version for you to preview. Therefore, we did not release a new version, the corresponding development and update records were not released. This time, we found that there were many updates within two weeks. Therefore, we only introduced important updates.
The version we provided is very close to the final version of beta2, which will be officially launched next week, this week, we mainly adjust the interface and the browser compatibility (currently, the online version should only support IE6 and Firefox), while IE7 and opera are also the browsers that beta2 is expected to support.
The major updates in the last two weeks are as follows:
1. the data access layer is completely separated from the Gantt chart interface, so that the data access layer can be regarded as an independent component. in the future, the sfdata class will be used to manipulate all data, which is no longer attached to Gantt charts. users can even use only data components (of course, this is of little significance currently ).
2. various data sources are allowed. The original data is only developed for the XML file of the project, while sfdata now uses a "data adapter" adapter mode, which allows various types of data to be accepted, although we currently only support one type.
3. Performance Optimization" Read as needed ", After the last performance optimization" Create on demand "Later, many users experienced performance improvement. They could only operate around 100 tasks ," Create on demand "After the operation, we can operate the data of 1000 tasks. Then we find that the performance bottleneck of Gantt chart has been transferred to the reading of data files. Therefore, we have further done this" Read as needed "Optimization, this time, further enable Gantt Chart to support operations Gantt Chart of 10 thousand of tasks And the initialization time is quite fast. (try the Gantt chart Running Performance of 1 W tasks). If you think the experience is slow, it is more likely that the reason is:
A. the network speed is too slow. You can learn the XML download time and Gantt Chart initialization time when loading this page by using the title of this example after the webpage is loaded. I just conducted an online test, the result is as follows: total Ms 13058/XML loading MS: 12408/Gantt Chart initialization MS: 650, which indicates that Gantt Chart initialization has almost no effect on the page initialization performance.
B. if you drag the scroll bar slowly, this is indeed a Gantt chart, because at this time, gantt charts need to read data from XML files until you drag the data (the smaller the drag range, the faster the response), which is unavoidable for the moment, however, if you drag a Gantt chart to this position next time or from the bottom up, you will find that the response speed is still very fast, because the data only needs to be read once.
4. Further optimize the display of Gantt bars. Now you can customize the style of the progress bar for custom tasks. (However, no examples are provided online to preview this function)
5. Add, modify, and delete tasks in the new data structure and modify the xml dom synchronously.
6. Provide Upgrade and downgrade Function
7. Allow Press ctrl or shift on the keyboard to select multiple tasks. And allows you to delete, upgrade, or downgrade multiple tasks.
8. Allowed In Directly modify task attributes on the table And revoke the original "task information" function. We decided not to provide this function because it was regarded as a "chicken fault, when needed, you can capture the events released by the Gantt chart and display them by yourself.
9. You can select multiple tasks to enable the "link task" or "unlink" function between tasks.
10. You can drag a task bar vertically to another task bar to create a link between two tasks (this function is not perfect yet. Please try it)

Now, please goSunflower Gantt ChartTry the improvements after this optimization!
We will continue to work hard to provide you with a perfect Gantt Chart component!

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.