After the function is modularized, uses like the assembly machine, each module has done the function to do well, and with very good compatibility, then the assembled computer will not be bad.
But the company doesn't seem to think about it, and every project group does its own thing. Project team If you make a function, the back of the use to copy it, and sometimes if there is a previous frame with the "feel Best", functional modularity, so hastily implemented, these ' modular function of the code, So scattered throughout the project ', rapid development, is as soon as possible to achieve the boss wants the function, he no matter how you do, he just results. Every time I think about it, I feel a little sorry. Finally, we emphasize several points, 1. The most important aspect of modularity is self-control at the code level. If only one of the front-end frameworks is modular, you will only call, then in the late development there is always the time of the pit. 2. The stronger the compatibility, the better
-------The Great Dividing line------------------------------------------------------------------------------------------------------------ ----------------------------------------------------
Point of view is a personal point of view, for reference only
First, the annex
1. Function: A. Upload, single file upload, multi-file upload, asynchronous upload, file suffix, size limit
b. Download, download the source file, download the compressed package, download the Chinese file
C. List of attachments, pending upload, uploaded
D. Attachment list paging, true pagination, false pagination
Second, drop-down box
1. Function: A. Selection, single selection, multiple selection
B. Echo
C. autoComplete, each time the AJAX request, or in the already said all the data exist JS in JS to do automatic completion of the prompt
D. Search + SELECT, optimize the unique auto-fill mechanism for point search results
E. The scroll bar of the dropdown option, sometimes dependent on the browser provided, sometimes need to define themselves
F. Browser compatibility issues, here only to discuss Chrome,firefox,opera, and other browser compatibility, do not discuss IE's
G. Drop-down box is not absolute positioning, absolute positioning to consider page scale problem
H. The modularity of the drop-down box is not integrated with all functions but should be diverse
Third, report analysis
1. Function: To be added
Four, timer
1. Function: To be added
If developers have already taken these functions from the complex needs of the implementation of modular, then in the future when the development of the multi-choice, will be a lot easier
If these modular functions can be open source, then you can improve the development efficiency of countless people, programming can change the feeling of the world, I think then you can realize, just like the spring Open source framework changed our way of programming.
Project Testimonials--Modularity of functions