Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flight & Segment

 
Venkat Kiran
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am confused on the Flight aspect & Segement aspect. Let us assume that i searched for a round trip from LONDON TO HYDERABAD . There may not be a direct flight to hyderabad and the it can be over 2 legs i.e. london to mumbai is one leg and mumbai to hyd to another leg. I am confused how the system determines the actual destination i.e how the system determines that flights are there upto mumbai and then we need to change from mumbai to catch another. This it can have n possible combinations i.e. london-mumbai- mumbai-hyderabad or london-delhi, delhi-hyderabad.
Any thoughts are highly appreciated.

Cheers
KALYAN
 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Venkat Kiran:
... how the system determines the actual destination i.e how the system determines that flights are there upto mumbai and then we need to change from mumbai to catch another.


This kind of routing otimization is complex, but is common to computer board layout, logistics etc. The only thing an architect needs to know about that is that there are specialists for that. Why should he think about these implementation details? He just has to provide all segments as the possible flight changing points in his Business Domain Model.

Or didn't I understand you right?

Thomas
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i in the same problem, i think that this is true, as an architect we focus on the architectural problem, not in the implementations problems, like find flight in a graph.
But i have a lot of problems to undertand the concepts of segments and flys
For example, supouse i want to travel betwen Bunos Aires -> Moscu
Probably the combinatios are
Buenos Aires -> Paris -> Moscu
or
Buenos Aires -> Madrid -> Roma -> Moscu
so when the user enter the source and destinations the system responds with ... ???
the problem: for each of the segments probably there is a lot of flights, for example betwen Madrid and Roma there is a lot of flyigts and the user mas pic up only one. So i dont know how to represent that in my model, wich information is displayed to the user ?
The system presents only the flights, or the user must firts determinte wich connections wants and then the flights inside this connections (or segments)
 
tony clare
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my understanding:
Itinarary -> Order
Segment -> Line Item
Flight -> Product
Equipment/Seat -> Inventory
 
tony clare
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, how about booking multiple people tickets in an itinerary ?
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tony thanks a lot !!
this synonimouys clarify me a lot of things.
So i try to separate the model i two parts:
- the user activity model : all the class for the user itinerary, flights puchased, seats reserved, etc ..
if you think an itineray like and order, the detail of the order are the segmetns (which correspond or contains a fligth of the company), and the inventory is the detail of the item (or segment) ...

- the company activity model: all the fligths of the compant, citys where are fligths, planes, seats in the planes (equipament), etc, flight betwen two cities.

and now i have the problem to integrate those models ... is necesary to make all the company model ? .. how to model all the flights betwen to cities ? a "segment" (not the segment of the user activity model) can contain all the fligths betwen two cities .. ? but have the same problem to solve... how the user interact with all of this objets, because betwen two cities may be there a lot of flights, and the user must pick if he want to fligths directly (if there available) or he wants to flights with combinations .... �?
 
tony clare
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think about to design a FlightCatalog bean interface with a method SearchFlight, which return a list of Flights for next reservation.
Run a sample on www.orbitz.com.
 
Gayatri Sharma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have a question here. When the customer enters departure city,dep time,dep date and type of journey where should the search retrieve the results from ,whether it is from from the airport entiy which is having a relationship with flight entity or from Flight enity itself.
i am also confused about the relationship between equipment and seats.
 
tony clare
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't spent much time on business domain class design and focus on your system design can be scalable for other reservation businesses car, hotel, library, movie, train,.......
JUST explain your understanding in the document section like Domain Class Design Analysis.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic