Navi.Soft20.WebForm Operating Manual

Source: Internet
Author: User

1 Overview 1.1 Application Scenarios

With the rapid development of the Internet, Internet software has become more and more, Web applications such as springing up, the development is quite rapid, BS mode of ERP,MIS,CRM and other products are now very common, such software includes some common features, such as: With database operations, log management, rights management, etc.

This framework refers to solving these problems and extracting and implementing common functionality. Enables more focus on business logic in the development process

1.2 Object-oriented

NET program Developers

1.3 Development environment

Solution Solutions

Development environment

Describe

NaviSoft20

VS2010 or above

The entire framework has only one solution. NET class library contains 2 kinds. Net4.0 and Net4.5, respectively.

1.4 Framework Features

L Classic three-layer architecture, easy to get started

L Operation database supports ORM and ADO two ways. Flexible

n supports multiple databases, including sqlserver,oracle,sqlite,access, and can operate multiple databases concurrently in the project

N adopts entityframework framework. Lightweight ORM Framework, Microsoft original, trustworthy

L front-End with fineui controls. No CSS, no JavaScript, imitation WinForm development mode, easy to use

The main interface supports two kinds of navigation menus, namely Outlookbar,tree

L built-in various common components

N Chart Components

Øfusionchart charts. WebForm and WEBMVC can be used to provide an operational help class for the component

Øhighcharts charts. WebForm and WEBMVC can be used to provide an operational help class for the component

N Database Operations Components

Ø includes database operations on Sqlserver,oracle,sqlite and Mysql,oledb (not currently implemented). Accessible as an interface for easy switching

Ø support SQL statement Access, support stored procedure access

Ø Insert,update,delete and SELECT statements for database tables can be generated in batches

N Log components (implemented in the background, no page display at the front desk)

Ø log types include: Login log, operation log, DB table column value change log, Exception Log, database operation (record Insert,update,delete statement)

Ø log storage media including data and txt text files

N Message components (implemented in the background, no page display in the foreground)

Ø message types include email messages, SMS messages, IM instant messages

Ø e-mail messaging function based on aspose.network components

Øsms service to send text messages and MMS (need to contact the supplier)

Øim Instant Messaging, pure database mode, not socket (currently not implemented)

N Office Components

Ø data export. Can be exported to excel,word,csv,txt etc.

Ø data import, support import from Excel,txt and other files

Ø operation of CSV,EXCEL,PDF,PDM (Power Designer), Txt,word and other documents

Ø Online Preview. Office documents can be converted to PDF and displayed in a Web page via the Flashplaer component. Document Preview. Supports previews of frequently used files. Including: Excel,word,visio files

N Permission Components

Ø includes three layer structure: Organization (also called department), role, user

Ø a permission component that provides only the relationships between queries. Find all users under a role. List of roles owned by a user

Ø Data deletion and modification function, implemented in other function modules of the framework, no longer available in this component

N Print Components

Ø embedded LODAP-based component printing, supports WebForm and WEBMVC two scene printing

N Report Components

Ø based on Fastreport components, currently supports WebForm and WinForm, two application scenarios

N WebService components

Ø built-in ADO basic method, such as Execute SQL statement, get single row column data, get table data, etc.

Ø built-in file download function for automatic update of component usage

N Implementing IOC functionality

Ø based on AUTOFAC

2 Function List 2.1 Base Code 2.1.1 Auxiliary encoding

Describe

L tree Control on the left, showing the secondary encoding type. You can add, modify, and delete the top toolbar. Note: Deleting the encoding type simultaneously, the encoding itself is deleted synchronously

L The top of the right is the search area, providing common search conditions

L Grid Control supports paging

2.1.2Db Data Dictionary

Describe

L Top provides database type selection and connection string entry

Select the database type and connection string and click the Load button to load the database structure into the list of DB objects on the left. Also, select the row, and the corresponding DB object content will be displayed on the right

2.2 Development Platform 2.2.1 function system

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

2.2.2 Function Module

Describe

The top part is the data retrieval area, which provides the retrieval of the function module.

L The middle part is the tool bar, provides the function module's additions and deletions to change

N Open Mode

Execute: Open External file

Show: Non-modal open, load to frame

Showdialog: Modal Open

Shownotinframe: Non-modal open, not dependent on frame

N Access rights

When the user opens the Frame home page, the left navigation menu is configured according to permissions. Access is the identifier of this feature module in function permissions

2.2.3 Coding Rules

Describe

The top is a data retrieval area that provides retrieval of the encoding rules

L The middle part is the tool bar, provides the function module's additions and deletions to change

N Prefix type: Includes constants and variables. The variable takes this entity class, a property value

N Year format: includes both 4-bit (2014) and 2-bit (14) formats

N-month format: Includes month capitalization (January with 01) and month lowercase (January with 1, not padded)

N-day Geon: Including day caps (1th with 01) and day lowercase (1th numbers are 1, not filled)

2.3 System Management 2.3.1 system options

Describe

The top is a data retrieval area that provides retrieval of system options

The middle section is a toolbar that provides additions and deletions to the system options.

n If the system initial option is not allowed to delete

2.4 Authority Management 2.4.1 Organization

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

L Bottom is data display area, support paging function

L Data Display control supports tree state structure

2.4.2 Role

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

L Bottom is data display area, support paging function

2.4.3 Users

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

N provides initialization password functionality. Note: Multi-user password initialization is not supported at this stage.

2.4.4 User Roles

Describe

L Maintain user and role relationship data

L Select the left role data and the right side shows the list of users owned by this role

2.4.5 User Organization

Describe

L Maintain user and organization relationship data

• Select the organization data on the left and the list of users owned by this organization on the right

2.4.6 function Permissions

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

n new function privileges, support batch new operation

2.4.7 Control permissions

Describe

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

L Bottom is data display area, support paging function

2.4.8 Data Permissions

Describe

Data permissions, refers to the data for permission filtering. Precise to an attribute in an entity class

L top is the data retrieval area, provides the retrieval function

L Central is a tool bar for adding and removing functional systems.

L Bottom is data display area, support paging function

2.4.9 Role Function permissions

Describe

L Maintain role and function permission relationships

L Select the left role ID, the right side belongs to the feature in this role, is selected

2.4.10 Role Control permissions

Describe

L Maintain role and control permission relationships

L Select the role ID on the left and the control permission data in this role ID on the right is selected

2.5 Example Page 2.5.1WebForm Control Example

Describe

L Introduction to WebForm controls, such as values and assignments for CheckBoxList and RadioButtonList controls

L Invoke executable file

L Format Currency column values

2.5.2 Viewing PDF documents

• Support for Office document uploads and online previews

2.5.3 Browsing Visio Documents

Describe

L Preview Visio documents online without installing Visio programs

2.5.4FastReport Component Example 1

Describe

L Display Fastreport.net Component examples

2.5.5FastReport Component Example 2

L Display Fastreport.net Component examples

2.5.6FusionChart Component Example

L Introduction Fusionchart Components use

2.5.7highCharts Component Example

L Introduction Highcharts Components use

2.5.8Lodap Component Example

L Introduction to LODAP component examples

3 Solution 3.1qh.core Project

Describe

L Entire Framework Core class library

n various common operation helper classes. such as Datetime,datatable,xml,file, etc.

N Framework-based operations. such as the DateTimeFormat format string

N DB table entity class, based on domain-driven principles, including entity classes and extended entity classes

N each component interface and implementation factory

UI control interface and common UI control action base class

3.2QH. Utility Project Set

Describe

L This project set is used for encapsulation of various technologies, such as mongodb,memcached, etc. after encapsulation, and then by the component layer

n comprovider project for loading COM components, all of the framework COM components are loaded here, and then referred to by other projects

n EF6 project, is the encapsulation of Microsoft's Entiryframework framework

n Flexpaper project for online preview function in WebForm. This project is to take all kinds of documents, all to the SWF file, for the WebForm project to use

n memcached project, which is the encapsulation of third-party cache controls

N Office projects are actions on Office documents and other common documents. such as: Csv,txt,word,excel,pdf, etc.

3.3qh.component.log Project

Describe

L Boogloger is when the application system is loaded, when various components are created, the record component is created successfully, output to txt text document

L Logservice is the implementation class for the Log component interface

3.4qh.component.message Project

Describe

L Messageservice is the message component interface implementation class

L Formsendemailbill, send mail Document page

L Formsendimbill, send instant Message Document page

L Formsendsmsbill, send SMS Document page

L Emailhelper, common method of mail operation, implemented by static method

3.5qh.component.permission Project

Describe

L Permissionservice is a permission component interface implementation class

3.6QH. Control.webform Project

Describe

L Pagebase is the base class of the WebForm page, built in a variety of common operations. such as obtaining address parameter values, common component encapsulation, etc.

L Helper folder, encapsulating a variety of common operations, static method implementation

3.7QH. Control.WebForm.MVC3 Project

Describe

L Common packages based on MVC3 projects

3.8QH. Control.winform Project

Describe

L Common packages based on WinForm projects

L control folder, store various controls

N Some controls taken from the network, there is a copyright, please contact me!

3.9QH. Kernel Project Set

Describe

L Ef6models project, storing EF6 generated DB table entity class

L Ef6dal Project, store EF6 operation classes that interact with the database, and all classes of all DB tables

L Ef6service Project, for business layer, called by UI page

L Ef6webui and Ef6winui projects, storing UI pages

3.10.QH. Example.webform Project Set

L Scripts folder: Storage used to the JS file, although Fineui is CSS, no JS, but sometimes we still need to self-reliance, to achieve some functions

L Handler folder: Background method for storing the foreground page Ajax mode call

L Views Folder: Store WebForm page, differentiate according to function system

4 Source Parsing 4.1 parsing 1

Service Layer Code

4.2 Parsing 2

form data loading

4.3 Parsing 3

form data saving

4. Resolution 4

WebForm Code Snippet

WinForm Code Snippet

5faq1. COM Component References

The project references several COM components, including the PDF document preview component, the Office Document preview component, and the video playback component. The framework itself has been provided by the installer in the \packages\tools\ folder (Storm AV installer not provided)

Navi.Soft20.WebForm Operating Manual

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.