whazzmaster / fitgem-client

Example client use of the fitgem oauth library to integrate with fitbit.com
MIT License
35 stars 9 forks source link

Update content to show more example code #3

Closed whazzmaster closed 11 years ago

whazzmaster commented 13 years ago

Anywhere that we have examples of features of the API, we should also include code examples to show how the functionality was implemented. This is so folks browsing the fitbitclient.com site don't have to keep going back to github to see the code.

robertcedwards commented 11 years ago

I'm definitely interested in seeing some more code examples for Activities in a Live Data format, much like your Body Measurement & User Info sections. Mostly I'm trying to wrap my head around all the infrastructure with Coffee, Backbone, and Ruby being used. Thanks!

whazzmaster commented 11 years ago

Any particular area you'd prioritize? I'm off of work for April and I could work on this a bit...

whazzmaster commented 11 years ago

Derp- you already said Activities. I'm now working on defining a good set of examples for activities. As far as the architecture, I realize that the interplay between server-rendered ERB templates and Backbone-rendered templates is a bit confusing; my goal was to ease the maintenance work and split the doc-focused content from the live data content while attempting to create a well-architected Rails+Backbone app. I'm not entirely sure I've succeeded, but feedback is welcome!

whazzmaster commented 11 years ago

I just pushed a new release of the site that includes activities live code examples. I'm going to close this issue and create a series of more fine-grained issues to define specific enhancements I'm going to be making.

robertcedwards commented 11 years ago

Nice, thanks! I'll check it out today…