Files
2012-02-21 01:15:00 -05:00

1 line
6.8 KiB
JSON

[{"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007415.898108, "message": "iirc", "group_id": 81, "id": 432326}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007870.3184409, "message": "I almost wish he called it dammit instead", "group_id": 81, "id": 432414}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007474.6288731, "message": "but then the full JST is downloaded with every request. what about packaging it in gzipped static assets?", "group_id": 81, "id": 432340}, {"user_id": 4491, "stars": [{"date_created": 1301007597.722199, "user_id": 1}], "topic_id": 15077, "date_created": 1301007554.983664, "message": "it seems all the django static asset packagers are aging. i don't think any of them will turn images into data-uris (to minimize requests)", "group_id": 81, "id": 432360}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007231.6757231, "message": "Is there a good solution for making JavaScript Templates work well in Django? They would need to be part of a static assets package, since they are JS strings that work by interpolating in values using something like Underscore.js's _.template() function.", "group_id": 81, "id": 432276}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007275.3742321, "message": "Some folks use Mustache, some use Resig's micro-templates. But the fact is that these are strings and it would be nice if they are in their own files, so they can be edited like regular JS, but then munged into strings with an asset packager.", "group_id": 81, "id": 432283}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007621.9858921, "message": "I'd definitely like data-uri options for some of my stuff", "group_id": 81, "id": 432369}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007709.986068, "message": "hmm, yeah it definitely seems like jammit is ahead of django's asset managers", "group_id": 81, "id": 432387}, {"user_id": 1126, "stars": [{"date_created": 1301007418.778899, "user_id": 1}], "topic_id": 15077, "date_created": 1301007414.707994, "message": "Underscore's is compatible out of the box", "group_id": 81, "id": 432325}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007840.90149, "message": "s/pot/port/", "group_id": 81, "id": 432410}, {"user_id": 1126, "stars": [{"date_created": 1301007356.3392, "user_id": 1}], "topic_id": 15077, "date_created": 1301007340.756254, "message": "is <script tyoe=\"text/html\" id=\"test\">", "group_id": 81, "id": 432298}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007345.6741481, "message": "type*", "group_id": 81, "id": 432299}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007356.141403, "message": "then you just $('#test').html()", "group_id": 81, "id": 432304}, {"user_id": 1, "stars": [], "topic_id": 15077, "date_created": 1301007375.870826, "message": "You do have to do some trickery to make Django OK with it", "group_id": 81, "id": 432311}, {"user_id": 1, "stars": [{"date_created": 1301013567.300854, "user_id": 177}, {"date_created": 1301052531.9528129, "user_id": 1243}], "topic_id": 15077, "date_created": 1301007376.87922, "message": "https://gist.github.com/629508", "group_id": 81, "id": 432312}, {"user_id": 1, "stars": [], "topic_id": 15077, "date_created": 1301007502.3368299, "message": "@samuelclay That would be awesome", "group_id": 81, "id": 432346}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007402.7087049, "message": "@ericflo yeah, some template languages interfere w/ django", "group_id": 81, "id": 432321}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007559.6937289, "message": "I haven't needed the same JST on multiple pages (yet), but yeah that would definitely be a concern", "group_id": 81, "id": 432361}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007360.9504049, "message": "to get the template code", "group_id": 81, "id": 432306}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007777.972414, "message": "oh, it goes through all the jst files and assigns them to a top-level object, that's neat", "group_id": 81, "id": 432398}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007785.1425159, "message": "as strings", "group_id": 81, "id": 432401}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007330.8104711, "message": "actually, one of the more common ways of doing this", "group_id": 81, "id": 432296}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007325.5193551, "message": "But then it's still a string... and looks like a string.", "group_id": 81, "id": 432294}, {"user_id": 1, "stars": [], "topic_id": 15077, "date_created": 1301007365.1469309, "message": "@pewpewarrows Yeah, that's what I was getting at", "group_id": 81, "id": 432307}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007837.7872169, "message": "there's this django pot of jammit that's promising, but hasn't been worked on in months: https://github.com/marlun/django-djammit", "group_id": 81, "id": 432409}, {"user_id": 4491, "stars": [], "topic_id": 15077, "date_created": 1301007295.3910069, "message": "Rails has Jammit (http://documentcloud.github.com/jammit/#jst) which works very well for this sort of thing.", "group_id": 81, "id": 432287}, {"user_id": 1, "stars": [], "topic_id": 15077, "date_created": 1301007300.393389, "message": "I've heard that a lot of people actually embed it in the source with <script> tags", "group_id": 81, "id": 432289}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301008035.963896, "message": "shouldn't be too much work to include that in your asset manager of choice", "group_id": 81, "id": 432444}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301007595.0028169, "message": "@samuelclay perfect opportunity to contribute then :)", "group_id": 81, "id": 432367}, {"user_id": 1126, "stars": [], "topic_id": 15077, "date_created": 1301008021.9846029, "message": "it looks like he just worked on the JST portion, and that's only a few functions", "group_id": 81, "id": 432442}, {"user_id": 7376, "stars": [], "topic_id": 15077, "date_created": 1301013522.7863569, "message": "@samuelclay you can always load in the template using AJAX if it's served on the same domain. Slap a far future expiration on it and you're golden", "group_id": 81, "id": 433414}, {"user_id": 6431, "stars": [{"date_created": 1301048547.627336, "user_id": 177}, {"date_created": 1301052572.2971139, "user_id": 1243}], "topic_id": 15077, "date_created": 1301024733.3190119, "message": "Django-dev thread on the subject: http://groups.google.com/group/django-developers/browse_thread/thread/e914638d8fe859de/", "group_id": 81, "id": 435084}]