The Application of Web Development on Rails Framework in EC System
- Author
- PangLing
- Advisor
- LouXinYuan
- School
- Southwest Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 18
- Citations
- 1
Abstract
With the development of web technology and e-commerce in the enterprise applications, e-commerce and our everyday lives more and more closely , is currently in the field of enterprise-class web development , J2EE platform in e-commerce development in the use of more , in order to enterprise-level application development to adapt to the complex needs of a large number of components, and XML configuration files are added to the J2EE platform , the system becomes increasingly large , in the development of e-commerce system, reduce the developer's development speed, while increasing development costs. 2004 Danish programmer David at 37 signals the company developed with the support of the Ruby on Rails ( referred to Rails, or RoR) framework . In Rails framework, rapid feedback cycles , each time interactive control and convention over configuration features that make development easy and fast . Compared with J2EE , Rails has fewer duplicate concise code , taking into account the characteristics of flexibility , the rapid development and deployment of Web applications reflects a strong advantage. This paper describes the relevant characteristics of the Rails framework , the core architecture and key technologies, through the text of the Rails framework and J2EE framework comparison within a certain range reflects the Rails framework in e-commerce systems development and application advantages. In this thesis, by actually developing an online procurement systems of agricultural supplies , practice a Rails framework for Web -based applications . During the development process , Rails framework strict compliance with the MVC design pattern , using agile development methods, while the number of modules within the application of Ajax technology , for the EC system development code has been tested extensively, to a certain extent to ensure the system robustness . EC system for security problems , security risks may have improved the code within a certain range to ensure the security of the system . Taking into account the characteristics of e-commerce , Web site operators added module, statistics and analysis of relevant data , so that EC system operators to quickly position according to Web site operators to adjust policy accordingly , has a certain practical reference value.
Table of contents
Abstract 6-7
Abstract 7-11
Chapter 1 Introduction 11-14
1.1 research background and significance 11-12
1.2 domestic and foreign research status and development trend 12
1.3 topics of significance and full structure 12-14
Chapter 2 RAILS framework Agile Software Development 14-17
2.1 The emergence of agile development methods 14
2.2 AGILE development principles 14-15
2.2.1 teams and interact The importance 14
2.2.2 software and documentation synchronized 14-15
2.2.3 Information exchange and cooperation 15
2.2.4 flexible plan sexual 15
2.3 Agility framework RAILS 15-17
RAILS framework introduced in Chapter 3 17-30
3.1 RUBY language 17
3.2 MVC design pattern in the application of the framework RAILS 17-21
3.2.1 \
3.2.2 Rails in the MVC 19-21
3.3 RAILS framework for AJAX technology support 21-23
3.3.1 Ajax technology 21
3.3.2 Ajax key technology 21-22
3.3.3 Rails Ajax support 22-23
3.4 RAILS core framework introduced 23 -26
3.4.1 Rails code generator 23
3.4.2 ORM technology and ActiveRecord 23-26
3.5 RAILS Framework and J2EE framework comparison 26-30
3.5.1 Rails and J2EE stack compare 26-27
3.5.2 persistence framework 27-28
3.5.3 Front controller 28-29
3.5.4 Actions and models 29
3.5.5 View 29-30
Chapter 4 RAILS framework based on agricultural supplies online procurement systems analysis and design 30-40
4.1 online farming supplies procurement system project application background 30
4.2 online farming supplies procurement system needs analysis 30-32
4.2.1 front interface display system 31-32
4.2.2 Management system 32
4.3 system use case diagram 32 - 40
4.3.1 Front of the functional modules use case diagram 33-36
4.3.2 Background of the functional modules use case diagram 36-40
Chapter 5 System Design and realization 40-87
5.1 development tools and runtime environment 40
5.2 development environment set 40-45
5.2.1 with Rails Rapid development of procedures bracket 40-41
5.2.2 Rails application directory structure 41-42
5.2.3 project environment configuration 42-45
5.3 system databases and model class design 45-49
5.3.1 System database design 45-47
5.3.2 build model classes 47 -48
5.3.3 Data table associated 48-49
5.4 system main modules achieve 49-73
5.4.1 User registration module 49-56
5.4.2 shopping cart module 56-60
5.4.3 Order module 60-64
5.4.4 report query module 64-66
5.4.5 Site Operations Analysis 66-70
5.4.6 Rails extension plug 70-73
5.5 Test 73-80
5.5.1 Rails testing framework 74
5.5.2 project's unit tests 74-78
5.5.3 functional testing project 78-79
5.5.4 Project Integration Test 79-80
5.6 system security 80-83
5.6.1 SQL Injection 81
5.6.2 Cross Site Scripting (CSS / XSS) attacks 81-82
5.6.3 caution GET request 82
5.6.4 Session Hijacking ( session hijacking) 82-83
5.7 system shows 83-85
5.8 System Features 85-87
Chapter 6 Summary and Outlook 87-88
Thanks 88-89
References 89-91
Related dissertations
- Design and Realization of Training Grade Comprehensive Rating System of Nanjing Information Technology Institute
- Research and Application of Classroom Teaching Assessment System in Primary and Middle School
- FAW-VW Audi Dealer Training Management System Realization and Implementation
- Desgin and Implementation of Software Order System Base on SaaS Model
- Design and implementation of AJAX -based online bookstore
- Design and Implementation of Office Automation System Based on Loose Management of Dynamic Business for High-tech Park
- Design and Implementation of Graduation Project System Based on J2EE
- Library Statistical System Desgin and Implementing Based on AJAX and SOAP
- Design and Implementation of Java-Based Web Content Management System (jcms)
- Design and Realization of Banking Service Evaluation System Based on MVA
- Research and Applicance of Ajax Technique in Tibetan/Chinese’s Distance Learning Courses
- Research of Manufacturing Simulation and Workshop Control
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- And the Realization of Hardware Sales Website Design Based on.NET
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Research and Implement of Distributed Crawler System Supporting AJAX
- Research and Implementation on E-commerce Recommendation System
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website