CN109460217A - Backstage management system framework of ticketing website - Google Patents
Backstage management system framework of ticketing website Download PDFInfo
- Publication number
- CN109460217A CN109460217A CN201811368441.1A CN201811368441A CN109460217A CN 109460217 A CN109460217 A CN 109460217A CN 201811368441 A CN201811368441 A CN 201811368441A CN 109460217 A CN109460217 A CN 109460217A
- Authority
- CN
- China
- Prior art keywords
- layer
- framework
- interface
- business logic
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 3
- 230000002688 persistence Effects 0.000 claims description 3
- 230000004044 response Effects 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 abstract description 2
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a backstage management system framework of a ticketing website, which adopts a four-layer framework and comprises a presentation layer, a control layer, a business logic layer and a data access layer. The invention is characterized in that: the system has the advantages of simple interface, simple and convenient operation, high response speed of application programs, strong service and data processing capacity, simplification and rationalization of complex service logic, convenience for a user to input, inquire, edit, count and download various information, effective management of a large amount of data and guarantee of accuracy, consistency and integrity of the data.
Description
Technical field
The present invention relates to management systems, and in particular to a kind of ticket reselling website background management system framework.
Background technique
Existing aviation, railway, transit network ticket sale system mostly use big three-tier architecture, the data access layer of this framework and
Business Logic Shortcomings are in the same page since method defines and execute code, and operation layer is being pass on from Web layers
Content when also want process content, need to write a large amount of codes, be also when going to data access layer in this way, be unfavorable for access not
Same database increases development amount, and is unfavorable for safeguarding, layering is not detailed enough, is easy to pull one hair and move the whole body, and one
The variation of module influences whether that other modules change, system upgrade or difficult in maintenance, increased costs.
Summary of the invention
Problem that the purpose of the present invention is to overcome the above shortcomings provides a kind of ticket reselling website background management system framework.
Present invention technical solution used for the above purpose is: ticket reselling website background management system framework uses
Four layer architectures, including presentation layer, control layer, Business Logic, data access layer, the presentation layer are realized using ExtJS frame
Interface display, the control layer receive user in the various requests of boundary layer and pass on to next layer of progress business logic processing,
And last processing result is returned into presentation layer, the Business Logic BLL is by realizing at method defined in IBLL interface
Reason system various businesses logic when need to call database, then creates class call method by factory mode DALFactory and accesses
Interface IDAL, then interface is instantiated by data access layer DAL, realize the operation to database, the data access layer incorporates
Nhibernate frame realizes data persistence, and by all deployment of components in a kind of towards tangent plane programming
In spring.NET frame, it is managed, safeguards, executes.
Presentation layer is in client, and control layer, Business Logic, data access layer are in server end.
Medium of the Model as data interaction is used between each layer.
The invention has the characteristics that system interface is succinct, easy to operate, application response speed is fast, at business and data
Reason ability is strong, can simplify complicated service logic, rationalize, user can easily to various information carry out typing, inquiry,
Editor, statistics and downloading, system a large amount of data can effectively be managed and be guaranteed the accuracy of data, consistency with completely
Property.
Specific embodiment
The present invention is a kind of ticket reselling website background management system framework, using four layer architectures, including presentation layer, control layer,
Business Logic, data access layer, presentation layer are in client, and control layer, Business Logic, data access layer are in service
Device end, uses medium of the Model as data interaction between each layer, the presentation layer using ExtJS frame realization interface display,
The control layer receives user in the various requests of boundary layer and passs on to next layer of progress business logic processing, and will be last
Processing result returns to presentation layer, and the Business Logic BLL is various by realizing method processing system defined in IBLL interface
Service logic, when need to call database, then by factory mode DALFactory creation class call method access interface IDAL, then
Interface is instantiated by data access layer DAL, realizes the operation to database, the data access layer incorporates Nhibernate frame
Frame realizes data persistence, and by all deployment of components in a kind of spring.NET frame towards tangent plane programming, carries out
Management, executes maintenance.
It shows bed boundary integral layout and designs the ExtJS frame based on JavaScript, system interface realizes that selection is common
Border layout, interface is divided into five parts east, south, west, north, center, in its items specify make
It is that its daughter element specifies specific location with region parameter, wherein the region center must use, and the region center can be certainly
The remaining space in the dynamic other regions of filling, ExtJS is also very practical to the design of list, and basic verification mode such as phone number is
No is sky, character, number etc., has the prompting mode of hommization, list uses parallel arrangement, sets layout attribute to
Column, form controls are divided into 5 column, specify in the items of formpanel, columnWidth is arranged in each column, specify
The percentage of overall width shared by the column, then the input control in the itemsi of each column, each control is specified by xtype
Then type is arranged the configuration items such as allowbank, xtype, facilitates and complete data detection, if setting allowbank attribute is
False just will appear miscue letter then frame will be displayed in red when mouse removes the control when mouse moves on control
Breath, this prompting mode user are easier to receive, and the user experience is improved, when realizing system presentation layer using ExtJS frame, adopts
Data submission is carried out with following two ways: 1. being submitted using list, it does not need to obtain form controls contents value one by one, but
Disposably the value of all value i.e. the entire form is submitted into background server together, improves response speed, 2. pass through
Ajax technology submits data to server, and the parameter that need to be submitted is placed in params with the format of name:value, realizes net
Page asynchronous refresh, Business Logic is the core in entire Web system, be located at controller under data access layer it
On, in general, controller calls service logic interface layer, the methods of deletion, preservation, update are defined in service logic interface layer,
Business Logic inherits IBLL base class, and realizes method therein, completes the processing of every complicated business, and ticket reselling website business is patrolled
It collects layer and mainly realizes returned ticket business processing, message reply, statistical classification and report generation etc., in addition, integrating spring.NET
The effect of frame is mainly reflected in the management to Business Logic and provides integrated support to Nhibernete, is held by loC
Device is grouped together the various components of dispersion, and controller is coupled with service logic interface layer, and controller receives
The dependence of spring.NETloC container is injected, and is avoided controller from actively passing through the business logic components that new obtains its needs, is made
Controller and business logic components loose coupling, business logic components depend on DAL, are responsible for by spring.NET container by DAL group
Part is injected into business logic components, the loose coupling of realization business logic components and DAL inter-module, in system, spring.NET
It is responsible for managing and assemble all Object, such as DAL class, service logic class, controller class using DI, between each layer object
Dependence is injected by the dependence of spring.NET to be realized, spring.NET is injected using setter method, that is, is existed
BLL object needed for being created in Controller controller class, and setter/getter method, creation are added for the object
The work of Object example is no longer completed by caller, but carries out unified pipe by realization class of the spring.NET container to each layer
Reason, reduces the degree of coupling between each component, improves the reusability of code, and data access layer DAL is responsible for handing over database
Mutually, it is located under Business Logic, as BLL data access interface layer IDAL, class is created by factory mode DALfactory
Call method, then method defined in IDAL is realized as DAL, the operation of database, IDAL interface layer introduces
Nhibernate object/relational mapping tool, data are transmitted in the form of object, without paying close attention to underlying database
It is SQLserver or Oracle or other types of database, completes Nhibernate configuration, establishes the work such as mapped file
Afterwards, it reuses spring.NET to integrate Nhibernate, HibernateTemplate is arranged by configuration file and is used
SessionFactory, so that it may use function find(), sace(), delete(), saveOrUpdate() etc. carry out operand
According to library, this makes developer simpler using Nhibernate in spring.NET.
There are one define in the process of development: in the case of relatively simple for single table handling service logic, using
The handling function of Nhibernate carrys out operating database;And when logic is relative complex, affairs are more, then using database
Storing process solves, and advantage of this is that only need to be in database update storing process when project logic changes
Can, do not have to update code logic.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art within the technical scope of the present disclosure, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811368441.1A CN109460217A (en) | 2018-11-16 | 2018-11-16 | Backstage management system framework of ticketing website |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811368441.1A CN109460217A (en) | 2018-11-16 | 2018-11-16 | Backstage management system framework of ticketing website |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109460217A true CN109460217A (en) | 2019-03-12 |
Family
ID=65610739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811368441.1A Withdrawn CN109460217A (en) | 2018-11-16 | 2018-11-16 | Backstage management system framework of ticketing website |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460217A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113722119A (en) * | 2021-07-29 | 2021-11-30 | 沐坤科技有限公司 | Novel system for calling windows function at front end |
CN114338339A (en) * | 2021-11-24 | 2022-04-12 | 华电电力科学研究院有限公司 | Digital power plant integration system and integration method |
-
2018
- 2018-11-16 CN CN201811368441.1A patent/CN109460217A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113722119A (en) * | 2021-07-29 | 2021-11-30 | 沐坤科技有限公司 | Novel system for calling windows function at front end |
CN113722119B (en) * | 2021-07-29 | 2024-12-20 | 沐坤科技有限公司 | A system for calling windows functions from the front end |
CN114338339A (en) * | 2021-11-24 | 2022-04-12 | 华电电力科学研究院有限公司 | Digital power plant integration system and integration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110989983B (en) | Zero-coding application software rapid construction system | |
CN104573115B (en) | Support the realization method and system of the integrated interface of multi-type database operation | |
CN110443010A (en) | One kind permission visual configuration control method, device, terminal and storage medium in information system | |
US8577837B2 (en) | Method and system for generic extraction of business object data | |
US9146955B2 (en) | In-memory, columnar database multidimensional analytical view integration | |
CN100578509C (en) | A method for implementing data persistence | |
US8176083B2 (en) | Generic data object mapping agent | |
CN112307122B (en) | Data lake-based data management system and method | |
CN112667598B (en) | Data model rapid construction system based on business demand change | |
CN105930460A (en) | Multi-algorithm-integrated big data analysis middleware platform | |
US12321335B2 (en) | Registering additional type systems using a hub data model for data processing | |
CN102710793A (en) | Network printing system based on cloud computing and data storage method thereof | |
CN105303326A (en) | Product full-life-cycle information system based on resource meta-model | |
CN109960709B (en) | Database driver processing method, device, equipment and storage medium | |
CN113094039B (en) | Automatic code generation system based on database table | |
CN106951231A (en) | A kind of computer software development approach and device | |
CN113626016A (en) | Front-end and back-end separated reusable component based on Vue + Element UI + Koa2 | |
WO2023151239A1 (en) | Micro-service creation method and related device | |
CN115658658B (en) | A data sharing method, device and storage medium based on batch processing in enterprise data center | |
CN115277817A (en) | A method for process service orchestration and construction of API gateway to realize visual data processing | |
CN114168117A (en) | A designer-based low-code development tool and storage device for Xinchuang | |
CN106469223A (en) | A kind of compatibility space of ArcGIS and the unified control method of attribute data and system | |
CN109460217A (en) | Backstage management system framework of ticketing website | |
CN107368377A (en) | Network request processing method and processing device in a kind of Android application programs | |
CN117851375A (en) | Metadata model optimization method and computing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190312 |
|
WW01 | Invention patent application withdrawn after publication |