[go: up one dir, main page]

CN109460217A - Backstage management system framework of ticketing website - Google Patents

Backstage management system framework of ticketing website Download PDF

Info

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
Application number
CN201811368441.1A
Other languages
Chinese (zh)
Inventor
张艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Saituo Information Technology Co ltd
Original Assignee
Saituo Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Saituo Information Technology Co ltd filed Critical Saituo Information Technology Co ltd
Priority to CN201811368441.1A priority Critical patent/CN109460217A/en
Publication of CN109460217A publication Critical patent/CN109460217A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-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

Ticket reselling website background management system framework
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)

1.售票网站后台管理系统构架,其特征在于:采用四层架构,包括表现层、控制层、业务逻辑层、数据访问层,所述表现层采用ExtJS框架实现界面显示,所述控制层接收用户在界面层的各种请求并转达至下一层进行业务逻辑处理,并将最后的处理结果返至表现层,所述业务逻辑层BLL通过实现IBLL接口所定义的方法处理系统各种业务逻辑,需调用数据库时,再通过工厂模式DALFactory创建类调用方法访问接口IDAL,再由数据访问层DAL实例化接口,实现对数据库的操作,所述数据访问层融入Nhibernate框架,实现数据持久化,并将所有的组件部署于一种面向切面编程的spring.NET框架中,进行管理、维护、执行。1. ticketing website backstage management system framework, it is characterized in that: adopt four-layer framework, comprise presentation layer, control layer, business logic layer, data access layer, described presentation layer adopts ExtJS framework to realize interface display, described control layer receives user Various requests in the interface layer are forwarded to the next layer for business logic processing, and the final processing result is returned to the presentation layer. The business logic layer BLL processes various business logics of the system by implementing the methods defined by the IBLL interface. When the database needs to be called, the class calling method access interface IDAL is created through the factory mode DALFactory, and then the interface is instantiated by the data access layer DAL to realize the operation of the database. The data access layer is integrated into the Nhibernate framework to realize data persistence and All components are deployed in an aspect-oriented spring.NET framework for management, maintenance, and execution. 2.如权利要求1所述的售票网站后台管理系统构架,其特征在于:表现层处于客户端,控制层、业务逻辑层、数据访问层均处于服务器端。2. The architecture of the ticketing website background management system according to claim 1, wherein the presentation layer is on the client side, and the control layer, the business logic layer and the data access layer are all on the server side. 3.如权利要求1所述的售票网站后台管理系统构架,其特征在于:各层之间采用Model作为数据交互的媒介。3. The architecture of the backstage management system of the ticketing website according to claim 1, characterized in that: Model is used as the medium of data interaction between each layer.
CN201811368441.1A 2018-11-16 2018-11-16 Backstage management system framework of ticketing website Withdrawn CN109460217A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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