{"action":"created","issue":{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/665","labels_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/665/comments","events_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/665/events","html_url":"https://github.com/monarch-initiative/monarch-app/issues/665","id":59741529,"number":665,"title":"Develop and implement module strategy","user":{"login":"harryhoch","id":174707,"avatar_url":"https://avatars.githubusercontent.com/u/174707?v=3","gravatar_id":"","url":"https://api.github.com/users/harryhoch","html_url":"https://github.com/harryhoch","followers_url":"https://api.github.com/users/harryhoch/followers","following_url":"https://api.github.com/users/harryhoch/following{/other_user}","gists_url":"https://api.github.com/users/harryhoch/gists{/gist_id}","starred_url":"https://api.github.com/users/harryhoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryhoch/subscriptions","organizations_url":"https://api.github.com/users/harryhoch/orgs","repos_url":"https://api.github.com/users/harryhoch/repos","events_url":"https://api.github.com/users/harryhoch/events{/privacy}","received_events_url":"https://api.github.com/users/harryhoch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/labels/infrastructure","name":"infrastructure","color":"5319e7"},{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/labels/phenogrid","name":"phenogrid","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"harryhoch","id":174707,"avatar_url":"https://avatars.githubusercontent.com/u/174707?v=3","gravatar_id":"","url":"https://api.github.com/users/harryhoch","html_url":"https://github.com/harryhoch","followers_url":"https://api.github.com/users/harryhoch/followers","following_url":"https://api.github.com/users/harryhoch/following{/other_user}","gists_url":"https://api.github.com/users/harryhoch/gists{/gist_id}","starred_url":"https://api.github.com/users/harryhoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryhoch/subscriptions","organizations_url":"https://api.github.com/users/harryhoch/orgs","repos_url":"https://api.github.com/users/harryhoch/repos","events_url":"https://api.github.com/users/harryhoch/events{/privacy}","received_events_url":"https://api.github.com/users/harryhoch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/milestones/10","html_url":"https://github.com/monarch-initiative/monarch-app/milestones/2015-05","labels_url":"https://api.github.com/repos/monarch-initiative/monarch-app/milestones/10/labels","id":1002891,"number":10,"title":"2015-05","description":"","creator":{"login":"nlwashington","id":5124411,"avatar_url":"https://avatars.githubusercontent.com/u/5124411?v=3","gravatar_id":"","url":"https://api.github.com/users/nlwashington","html_url":"https://github.com/nlwashington","followers_url":"https://api.github.com/users/nlwashington/followers","following_url":"https://api.github.com/users/nlwashington/following{/other_user}","gists_url":"https://api.github.com/users/nlwashington/gists{/gist_id}","starred_url":"https://api.github.com/users/nlwashington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlwashington/subscriptions","organizations_url":"https://api.github.com/users/nlwashington/orgs","repos_url":"https://api.github.com/users/nlwashington/repos","events_url":"https://api.github.com/users/nlwashington/events{/privacy}","received_events_url":"https://api.github.com/users/nlwashington/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":5,"state":"open","created_at":"2015-03-02T22:00:11Z","updated_at":"2015-05-19T19:12:11Z","due_on":"2015-05-15T07:00:00Z","closed_at":null},"comments":22,"created_at":"2015-03-04T02:30:00Z","updated_at":"2015-06-24T01:21:55Z","closed_at":null,"body":"Phenogrid and presumably other widgets will be part of monarch-app, but will also be used as standalone components by third parties.   As a result, inclusion of the phenogrid code in the monarch-app repository is non-optimal. \r\n\r\nWe need a strategy for including components like phenogrid  \"by reference\". Monarch-app should simply get the required code when needed.  Possible approaches for managing this include:\r\n\r\n1. ad-hoc scripts: already implemented for phenogrid. Advantages - flexibility. Disadvantages - may not play well with some environments. These scripts posed a problem for deployment on tartini.\r\n\r\n2. Git submodules  - http://www.git-scm.com/book/en/v2/Git-Tools-Submodules. Pros - integrate well with the git ecosystem. Cons - I personally have not used them. Some comments on the web hint at possible challenges.\r\n\r\n3. npm/bower, or other configuration manager -. Pros - widely used. Cons - more focused on node.js so not directly applicable. \r\n\r\nThoughts? Other alternatives? "},"comment":{"url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/comments/114691458","html_url":"https://github.com/monarch-initiative/monarch-app/issues/665#issuecomment-114691458","issue_url":"https://api.github.com/repos/monarch-initiative/monarch-app/issues/665","id":114691458,"user":{"login":"kltm","id":2687900,"avatar_url":"https://avatars.githubusercontent.com/u/2687900?v=3","gravatar_id":"","url":"https://api.github.com/users/kltm","html_url":"https://github.com/kltm","followers_url":"https://api.github.com/users/kltm/followers","following_url":"https://api.github.com/users/kltm/following{/other_user}","gists_url":"https://api.github.com/users/kltm/gists{/gist_id}","starred_url":"https://api.github.com/users/kltm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kltm/subscriptions","organizations_url":"https://api.github.com/users/kltm/orgs","repos_url":"https://api.github.com/users/kltm/repos","events_url":"https://api.github.com/users/kltm/events{/privacy}","received_events_url":"https://api.github.com/users/kltm/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:21:54Z","updated_at":"2015-06-24T01:21:54Z","body":"As a side note for more long term migration, it looks like the ringo dependencies are all usable from npm\r\n\r\n```\r\nstick\r\ncommon-utils/objects\r\nbuffer\r\nbase64-js\r\nieee754\r\nis-array\r\n```\r\n"}}