Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Google Maps service tutorial #1403
Part of issue #1374
This is our services tutorial page. features the following
I took an outside in approach, starting with the display and going back to the actual interfacing with the 3rd party api. I also start sections with tests.
@toddjordan lots of good stuff here
Have you thought about building a more simple version of the component without the service and bringing in the service to improve it after? I think it might be easier to focus on understanding how the service is helpful if you've already already got the basic version of the component working. It would also let you more gradually step into some of the tests before needing to create and inject the mock service.
@HeroicEric Thank you for reviewing. I'm making updates based on your changes. RE: starting with a simpler component, I could create a component that just shows an image of a map based on location and then swap that impl out with the maps service. I like the idea and will consider it. It'll be a matter of still keeping the tutorial section relatively short.
4 times, most recently
Apr 26, 2016
@toddjordan I took you at your word ;-) You've got some great material here, appreciate you putting this up so we can work on it. I need to take one more pass at this to look through the final section, but just ran out of time on this end. Will be back later this week :-)