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

2 leg/segment route

 
Shabbir Kothawala
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one doubt. If you are travelling from Milwaukee -> Orlando and let say your flight consist of 2 leg/segment i.e from Milwaukee -> Chicago and then from Chicago -> Oralando then how you will handle this in search result scenario

1) Combine 2 leg as one selection for the user
2) Let user customize his route by selecting any flight from Milwaukee -> Chicago and then from Chicago -> Orlando

Also this will require more then a normal VO design patter as return value to the client.. as your result can be combination of multiple flights leg. What design pattern is best suited for this scenario?
I think of Value Object Assembler but just thinking how then it will be rendered on the presentation side

Thanks,
Shabbir
 
Shabbir Kothawala
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys can you please help me as leg/segment is confusing me a lot and whenever I start I again come back to questions related to leg/segment

Thanks,
Shabbir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic