For anyone who wants real-time riding information, a dedicated device like Garmin 510 is the best choice. You can also load routes into them, and export or upload your rides after you are done riding to a bevy of websites or desktop apps of your choice for analysis.
If you don't need to look at the info while riding, or don't ride very long, then a Strava or MyMyRide app on a smartphone would be fine.