mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
2.8 KiB
JSON
1 line
2.8 KiB
JSON
[{"user_id": 37659, "stars": [], "topic_id": 46541, "date_created": 1318591060.8033111, "message": "Our app pulls in Javascript from the server. We have several servers: local, dev box, QA, staging, production, each with it's own URL. Currently I have to create a separate app for every environment with the correct URL for the server it should hit. Is there a smart way of doing this, so I only have to maintain one app, but it can work on any server?", "group_id": 236, "id": 2345642}, {"user_id": 30494, "stars": [], "topic_id": 46541, "date_created": 1318601088.1536851, "message": "I have the same need ( see https://convore.com/kynetx/use-resource/ )", "group_id": 236, "id": 2346281}, {"user_id": 30462, "stars": [], "topic_id": 46541, "date_created": 1318649343.4754779, "message": "I think we should take a step back and consider how KRL rulesets are loaded into the browser. Suppose the 'server specific' parts were kept in some minimalistic rulesets, apart from your main application. For an application that uses site tags you could load the 'staging' bundle one one page, the 'production' bundle on another. You just have to change the list of rulesets to be loaded by KOBJ. What would have to change on KBX to support this?", "group_id": 236, "id": 2351663}, {"user_id": 30462, "stars": [], "topic_id": 46541, "date_created": 1318649538.1665771, "message": "Here's another alternative. Suppose you had a 'bootloader' ruleset that would figure out your environment (local, dev box, staging, etc) and then load the appropriate 'resource rulesets' before loading the actual application ruleset?", "group_id": 236, "id": 2351676}, {"user_id": 30462, "stars": [], "topic_id": 46541, "date_created": 1318650595.2423649, "message": "btw I just loaded kobj-static.js into jsfiddle.net and clicked 'Tidy'. ... It worked!", "group_id": 236, "id": 2351743}, {"user_id": 30462, "stars": [], "topic_id": 46541, "date_created": 1318651455.1501019, "message": "ok, it worked up to a point.", "group_id": 236, "id": 2351803}, {"user_id": 30462, "stars": [], "topic_id": 46541, "date_created": 1318679914.432709, "message": "Here's a collection of rulesets that explore the bootstrap idea. https://gist.github.com/1289463 -- What do you think?", "group_id": 236, "id": 2353197}, {"user_id": 30494, "stars": [], "topic_id": 46541, "date_created": 1318862340.636472, "message": "Your solution Randall might be the best solution until we get some action in KRL that does things like : use_resource(\"someurl\") with cachebust = true;", "group_id": 236, "id": 2368386}, {"user_id": 30494, "stars": [], "topic_id": 46541, "date_created": 1318863389.770246, "message": "Another terrain to explore are javascript loaders https://spreadsheets.google.com/lv?key=tDdcrv9wNQRCNCRCflWxhYQ but the sandbox has always given me a hard time when i tried to use them", "group_id": 236, "id": 2368511}] |