So, I've read some documentation, worked through the tutorials and I'm ready to start my first SilverStripe project!
I'd like to put this out to the community and see how others would approach it, I don't expect code snippets or anything but high level 'start here' help would be good. I'm new to SilverStripe but I'm comfortable with PHP and have used Drupal extensively.
What I'm trying to achieve:
I'm developing a website for a someone that runs a shuttlebus service to and from their accommodation (and other points) at scheduled times. I'd like to be able to give visitors to the site a 'journey planner' to help them plan their bus/flight connections.
A user would select a Start Point from a dropdown, then an End Point from a dropdown, click submit and matching departure and arrival times would be displayed (or a message stating no matching journeys were found).
So far I've got two data objects -
1) Start Point
Fields - name, description, departure times (e.g 10am, 1pm, 4pm)
2) End Point
Fields - name, description, arrival times (e.g. 11am, 2pm, 4pm)
Relationships
- A Start Point will always have an End Point.
- Any given Start Point can have multiple different End Points. e.g. I can start at Point A and travel to Point B, or I can travel from Point A to Point C or even Point B to Point C.
I'm doing this in SilverStripe (rather than a standalone JavaScript widget) as I'd like it to be easy for the end user to add/remove Start and End Points as they like.
In Drupal I'd probably create a Start/End Point content type in CCK, then use nodereference to create the linkages and some sort of View to display the results.
Hope that makes sense. Thanks in advance for any tips!