Navi. softbench webmvc4 Operation Manual (including EasyUI component source code) and easyui custom components
Read navigation
Navi. softbench webform Operation Manual
Http://www.cnblogs.com/xiyang1011/p/4049711.html
Navi. softdeskwinform Operation Manual
Http://www.cnblogs.com/xiyang1011/p/3972118.html
Navi. Component. workflow development manual (including examples)
Http://www.cnblogs.com/xiyang1011/p/3820038.html
Navi. Component. DataWindow development manual (including examples)
Http://www.cnblogs.com/xiyang1011/p/3818261.html
Navi. softwarwince User Manual
Http://www.cnblogs.com/xiyang1011/p/3807823.html
1 Overview 1.1 application scenarios
With the rapid development of the Internet, there are more and more Internet software. Web application software has sprung up and developed rapidly. BS-Based ERP, MIS, CRM and other products are also very common, such software includes some common functions, such as database operations, log management, and permission management.
This framework refers to solving these problems and removing and implementing common functions, so that more energy is put into the business logic during the development process.
1.2 object-oriented
Net program developer
1.3 Development Environment
Solution |
Development Environment |
Description |
NaviSoft20 |
VS2010 or later |
There is only one solution for the entire framework. Net class library including one, that is, Net4.0 |
1.4 framework features
L secondary encapsulation of EasyUI components to avoid JS code writing at the front end and reduce the chance of errors
Shows the encapsulated component source code.(This component source code is provided at the end of the article)
L classic three-tier architecture, easy to use and easy to get started
L supports the ORM and ADO. Net methods for database operations.
N supports multiple databases, including SQLServer, Oracle, SQLite, and Access. You can operate multiple databases simultaneously in the project.
N adopts the EntityFramework framework. Lightweight ORM framework, which is original from Microsoft and trustworthy.
L The front end adopts the JQuery EasyUI control. JavaScript syntax, which can be modified at will and is flexible and convenient.
L the main interface currently only supports one navigation menu, that is, the accordion style
L built-in common components
N chart Components
The FusionChart chart. WebForm and WebMVC can be used to provide operation help classes for this component.
Ø highCharts charts. WebForm and WebMVC can be used to provide operation help classes for this component.
N message component (implemented in the background, not displayed on the foreground)
The message types include Email, SMS, and IM instant messages.
Ø mail sending and receiving functions based on Aspose. NetWork Components
Ø SMS service, which can send text messages and MMS messages (contact the supplier)
Ø IM instant message, pure database mode, without Socket (not implemented currently)
N Office Components
Export data to Excel, Word, CSV, Txt, etc.
Data Import: supports importing data from Excel, Txt, and other files
Perform operations on CSV, Excel, PDF, PDM (Power Designer), Txt, Word, and other documents
Ø online preview. the Office document can be converted to a Pdf file, and then displayed on the Web page through the FlashPlaer component. document preview. you can preview common files. including Excel, Word, and Visio files (not implemented currently)
N permission component
Contains three layers: Organization (also called Department), role, and user
The permission component is used to query only the relationships between the three parameters. For example, to query the list of roles owned by all users under a role.
Ø data addition, deletion, and modification functions are implemented in other functional modules of the framework and are not provided in this component
N print component
Embedded Lodap-based printing, supporting WebForm and WebMVC Printing
N WebService Components
Built-in ADO. Net basic methods, such as executing SQL statements, obtaining single row and column data, and obtaining table data
Built-in file download function for automatically updating Components
2 function list (some modules) 2.1 Basic code 2.1.1Db Data Dictionary
Description
L displays the list of Db tables and detailed information of table columns in the current database.
2.2 Development Platform 2.2.1 function module
Description
L The top part is the data retrieval area, which provides functional module retrieval.
L The middle part is the toolbar, which provides addition, deletion, and modification for functional modules
N drop-down menu controls are strongly encapsulated
N Label strong encapsulation (all taken from object class custom attributes)
N AccessPower access permission
When a user opens the framework homepage, the left navigation menu is configured according to the permission. The access permission is the identifier of the function module in the function permission.
2.3 System Management 2.3.1 System Options
Description
L The top part is the data retrieval area, which provides retrieval of System Options.
L The middle part is the toolbar, which provides addition, deletion, and modification of System Options.
N cannot be deleted if it is an initial System Option
2.4 permission management 2.4.1 user
Description
L The top part is the data retrieval area, which provides the retrieval function.
L The central part is the toolbar for adding, deleting, and modifying functional systems.
N provides the password initialization function. Note: At present, multi-user password Initialization is not supported.
3 solution (some projects) 3.1QH.Utility.EasyUI Project
Description
L Base
N General enumeration, Entity classes, and help methods used by all classes in the project
L Form
N encapsulation of various editing controls, such as ValidateBox, DateBox, and NumberBox
L GridAndTree
L Interface Class
3.3QH.Exampl.WebForm.MVC4 Project
Description
L Content loads js reference files. This framework references easyUI front-end components, artDialog dialogs, and json. js parsing class libraries.
L Controllers is a Controller-layer File
Views is a View-layer file that stores foreground page files.
4 source code parsing 4.1 parsing 1. easyUIHelper. js class Encapsulation
4.2 parsing 2. UIListHelper. js class Encapsulation
4.3 parsing 3. formUIHelper. js class Encapsulation
4.4 parsing 4. AuthorList page class
L the bottom part is the UI control.
L The top part is where the code on each page is different. The same part of the code is encapsulated into easyUIHelper. js and UIListHelper. js classes. Modify the top part of all pages.
4.5 resolution 5. ManagePlatController
L The codes of different modules are basically the same
5FAQ1. COM component reference
The project references several COM components, including the PDF document preview component, Office document preview component, and video play component. the framework itself has provided the installer in the \ packages \ Tools \ folder (the storm audio and video installer is not provided)
EasyUI component:
Http://pan.baidu.com/s/1c0cWZTY