I'm thinking how and when a DCI context can be used in a Web application. I'm considering this high-level use case:
- User enters city, arrival, departure, room type and clicks "Search".
- System displays a list of hotels
- User clicks on a Hotel logo to read its details
- System displays hotel details
- User clicks "Book now"
- System displays payment form
- User enter customer details, billing information and clicks "Submit".
- System validates billing information and displays a booking confirmation.
This is very high-level and surely needs to be broken down. The first steps (1-2, 3-4, 5-6) feels like simple resource requests that could be handled with some search- and REST-architecture. So my first question is, is there a need for a DCI-context in those cases, isn't plain MVC enough? Of course a "Hotel" data entity could play a role, but would you consider it feasible, especially if it's the only actor?
The last step is where I see that DCI could be very useful, for now there is work to do in a procedural fashion. (Creating a Customer, adding a Booking to the Hotel, sending confirmation mail...)
What are your thoughts on this? Am I on the right track?