Download presentation
Presentation is loading. Please wait.
Published byJulia Boyd Modified over 9 years ago
1
Enterprise.NET 1 CA - presentation HENDRI FRANYOHT082210N KRISHNAMURTHY SAMANTH YADAVHT082239L CAI XIANGHT082182A KHAING MYAT THWEHT082208L AUNG MOEHT082184B SHAIKALAWDEEN FARIDUL HUKHT082188X USHA RANI KONUDULAHT082183N Team 07
2
Introduction SingAir Online Ticketing System (SOTS) is a web based internet booking system with the following features : Registered Users Search Flights Self Register for booking Flight Booking and Cancellation Track booking SingAir Staffs Manage Flight schedules Manage Airports User Administration Track customer booking Reporting
3
Global Use-case Diagram
4
Booking step 1 - Search Flight
5
Booking step 2 - Selecting Flight
6
Login to Continue Booking or Register if not yet a member
7
Register for membership
8
Continue after log in Continue after log in Booking step 3 – Auto Fill in Passenger Details
9
Booking step 4 - Seat Selections
10
Booking step 5 - Make Payment
11
Booking step 6 - Booking confirmed
12
Booking step 7 - Print Booking Info
13
Track My Booking
14
Booking Cancellation
15
Admin Features
16
Manage Airport using MVC (By Admin)
17
Manage Airport using MVC Continue (By Admin)
18
Manage Flight Schedule (By Admin)
19
Track Customer Bookings (By Admin)
20
Reporting (By Admin)
21
Guiding principles Layered architecture User Interface, Business Logic and Data handling. DAL – Data Access Layer All Data handling must be done in this layer Implement the DAO Pattern BLL – Business Logic Layer All Business Logic must be in this layer Implement the Façade for BLL and the Presentation Layer need to interact with Façade only. Implement the Factory Pattern to get specific Business Entity PL – Presentation Layer All User Interface must be in this layer WebForm UI will adopt the PageController Pattern UI with minimal rendering control and all the transaction related logic must be in the PageController Core Common Functionalities
22
Architectural Diagram Client Browsers Web Forms and MVC Presentation Layer (Singair.PL) Business Logic Layer (Singair.BLL) Data Access Layer (Singair.DAL) Core (Constants, Common Functionalities) (Singair.Core) Page Controller/Controller Business Facade DAO Factory
23
Features Technology FeaturesLocationDescription Master PageSite.MasterAll Pages use it CSSSite.css, CalendarControl.css, jquery-ui-1.8.1.custom.css All Pages use it Site NavigationRegister.aspx, Login.aspx, ChangePassword.aspx, ForgotPassword.aspx All Pages use it Membership APIManageFlightSchedule.aspx,Sea rchFlight.aspx,Reports.aspx UserControls: PasswordRecovery, Login, ChangePassword, CreateUserWizard GridView, ListView ControlSearchFlight.aspx, Register.aspxSearch Result, Create/Edit/Delete Record Javascript CalendarSearchFlight.aspx, Register.aspxDepart / Return Date, DOB
24
Features (cont…) Technology FeaturesLocationDescription CachingBaseForm.aspx.cs InitCities() XML File as Datasourcecountries.xml, Register.aspxBind country list to a dropdownlist control dynamically User ControlPassengerInfo.ascx, PassengerDetails.aspx Used in a Repeater control MVCManage AirportsMVC, WebForms into single project AJAXSeatSelection.aspx QuerystringTrackBooking.aspxUsed to pass booking id JQueryRegister.aspxTo create a javascript calendar control Http SessionSearchFlight.aspx, PassengerDetails.aspx Keep the value for multi-pages task
25
Features (cont…) Technology FeaturesLocationDescription View StateBaseForm.aspx.cs InitCities() ConcurrencySeatSelection.aspxHandles concurrency in seat booking. Entity FrameworkDAL ProjectAll use cases except Reports. Data AnnotationDAL ModelMVC Airport Typed Data SetDAL projectReports TransactionscopeBLL projectCreateBooking, Cancel Booking
26
Sequence diagram for BookFlight To be displayed from Rational Rose
27
Integration of MVC with ASP.NET Application Add references to existing ASP.NET application System.Web.Routing,System.Web.Abstractions,System.Web.Mvc Enable ASP.NET MVC in ASP.NET – web.config Routing Configuration – Global.asax public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.IgnoreRoute("{resource}.aspx/{*pathInfo}"); routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Airport", action = "Index", id = UrlParameter.Optional } // Parameter defaults ); } protected void Application_Start() { RegisterRoutes(RouteTable.Routes); }
28
Ending with Demo of SingAir Ticketing System
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.