mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
11 KiB
JSON
1 line
11 KiB
JSON
[{"user_id": 22386, "stars": [{"date_created": 1301511830.051115, "user_id": 21209}], "topic_id": 16265, "date_created": 1301501449.1051581, "message": "what libraries are people using to handle REST/Ajax requests in Django? We are currently using django-piston but since it hasn't moved in 7 months and bitbucket is using a RC version we are looking at new libraries that are favorites of the community.", "group_id": 81, "id": 482684}, {"user_id": 7376, "stars": [{"date_created": 1301502069.339756, "user_id": 1167}, {"date_created": 1302955948.565465, "user_id": 13912}], "topic_id": 16265, "date_created": 1301501929.7736239, "message": "Here's another project. https://github.com/benoitc/dj-webmachine", "group_id": 81, "id": 482743}, {"user_id": 7376, "stars": [], "topic_id": 16265, "date_created": 1301501974.2181261, "message": "Docs: http://benoitc.github.com/dj-webmachine/index.html", "group_id": 81, "id": 482748}, {"user_id": 308, "stars": [{"date_created": 1301502159.5558479, "user_id": 13325}, {"date_created": 1301509050.400491, "user_id": 927}, {"date_created": 1301510605.7971139, "user_id": 209}, {"date_created": 1301511831.4232299, "user_id": 21209}, {"date_created": 1301512780.764149, "user_id": 22109}, {"date_created": 1301520704.280333, "user_id": 592}, {"date_created": 1301866305.804662, "user_id": 5145}, {"date_created": 1301953832.8661621, "user_id": 13524}, {"date_created": 1304575084.057018, "user_id": 21184}, {"date_created": 1304852831.3381441, "user_id": 13300}, {"date_created": 1308120440.484961, "user_id": 11592}, {"date_created": 1314619633.498404, "user_id": 5234}], "topic_id": 16265, "date_created": 1301501782.5256779, "message": "I would check out tastypie --> https://github.com/toastdriven/django-tastypie", "group_id": 81, "id": 482735}, {"user_id": 13340, "stars": [{"date_created": 1302005213.76282, "user_id": 19737}], "topic_id": 16265, "date_created": 1301502452.684634, "message": "I had pretty good experience with TastyPie when building http://valentunes.es. can't say. the same for django-piston.", "group_id": 81, "id": 482815}, {"user_id": 25337, "stars": [], "topic_id": 16265, "date_created": 1301505286.952642, "message": "Yeah, I've used piston on all my projects needing a API so far, and you always end up needing to do maor surgery. Will be giving tastypie a spin next time.", "group_id": 81, "id": 483189}, {"user_id": 25337, "stars": [], "topic_id": 16265, "date_created": 1301505317.4304409, "message": "s/maor/major/ :)", "group_id": 81, "id": 483195}, {"user_id": 1398, "stars": [{"date_created": 1301778191.7378531, "user_id": 26925}, {"date_created": 1301926851.13218, "user_id": 1963}], "topic_id": 16265, "date_created": 1301509479.9766581, "message": "I've used both django-piston and django-tastypie. With piston I ran into a number of issues that in tastypie were trivial to overcome. However, now that @jespern isn't doing the bitbucket thing himself I'm looking forward to seeing some great work on piston soon. :)", "group_id": 81, "id": 483710}, {"user_id": 25106, "stars": [{"date_created": 1301953294.9876111, "user_id": 22774}, {"date_created": 1302005235.707155, "user_id": 19737}, {"date_created": 1302145223.7696209, "user_id": 27106}], "topic_id": 16265, "date_created": 1301508695.1500189, "message": "I just read the article linked at the bottom of the django-tastypie README, and thought it was very insightful. This is probably old news to many of you, but I'd never seen it before, and it was a good read: http://jacobian.org/writing/rest-worst-practices/", "group_id": 81, "id": 483600}, {"user_id": 25106, "stars": [], "topic_id": 16265, "date_created": 1301508941.904182, "message": "I especially think that resource vs. model is an important distinction, despite how attractive it looks at first to simply map models directly to URLs", "group_id": 81, "id": 483631}, {"user_id": 25337, "stars": [{"date_created": 1301534080.142252, "user_id": 141}, {"date_created": 1301552197.9302011, "user_id": 205}, {"date_created": 1301778189.672446, "user_id": 26925}], "topic_id": 16265, "date_created": 1301518782.2339661, "message": "Piston gets a bit of a knock these days - but despite its problems, the fact does remain that it *has* got me successfully through a number of REST API projects! So I don't want to be too down on it.", "group_id": 81, "id": 485125}, {"user_id": 18316, "stars": [{"date_created": 1301866308.481179, "user_id": 5145}, {"date_created": 1301868222.3082409, "user_id": 4937}, {"date_created": 1301953287.767241, "user_id": 22774}, {"date_created": 1304516349.685729, "user_id": 13326}], "topic_id": 16265, "date_created": 1301854957.082231, "message": "This: bitbucket.org/tomchristie/django-rest-framework/ is coming along really rather nicely at the moment", "group_id": 81, "id": 515821}, {"user_id": 1398, "stars": [], "topic_id": 16265, "date_created": 1301855420.9151821, "message": "Thanks for reminding me @tomchristie! I've been meaning to review your project. :)", "group_id": 81, "id": 515876}, {"user_id": 2207, "stars": [], "topic_id": 16265, "date_created": 1301896864.7359641, "message": "What types of issues are you guys running into with Piston? I've been very happy with it, wondering if I'm missing something.", "group_id": 81, "id": 520980}, {"user_id": 18316, "stars": [{"date_created": 1302061172.0997579, "user_id": 15292}], "topic_id": 16265, "date_created": 1302005562.77422, "message": "@pydanny coolio, gimma shout anytime if you want to ask anything about it - would be great to get your thoughts. It's pretty solid, but there's a fair amount of ongoing work, and a few edges in the process of a little polishing.", "group_id": 81, "id": 540074}, {"user_id": 18316, "stars": [], "topic_id": 16265, "date_created": 1302005637.1652451, "message": "Really hoping my talk submissions for it at DjangoCon.eu and EuroPython are gonna get accepted.", "group_id": 81, "id": 540078}, {"user_id": 13340, "stars": [], "topic_id": 16265, "date_created": 1304524413.585973, "message": "@tomchristie my talk on creating a backend API for mobile apps was accepted for both DjangoCon.eu and EuroPython. We using TastyPie right now but I'd be interested in hearing more about your Django REST Framework.", "group_id": 81, "id": 914679}, {"user_id": 18316, "stars": [], "topic_id": 16265, "date_created": 1304586327.5420649, "message": "@natea Coolio - checked out the summary and looks like a good 'un. I've got the EuroPython talk - Thurs pm, tho it's looking like the DjangoCon.eu one will have to be a lightning talk.", "group_id": 81, "id": 926673}, {"user_id": 25337, "stars": [], "topic_id": 16265, "date_created": 1304751267.926429, "message": "@natea Looking forward to it!", "group_id": 81, "id": 949224}, {"user_id": 1127, "stars": [{"date_created": 1304813512.867348, "user_id": 31675}, {"date_created": 1304829451.430927, "user_id": 1}, {"date_created": 1304914505.4367039, "user_id": 22183}, {"date_created": 1307729696.1985321, "user_id": 12716}, {"date_created": 1308765892.9207671, "user_id": 21166}], "topic_id": 16265, "date_created": 1304753791.170506, "message": "Frameworks for APIs are a bit overrated IMO. While we did spend time building one in house for Disqus, it's not very difficult. Start by creating a basic Controller (a function or callable which maps paths based on certain conditions) to a set of predefined registered endpoints. Take that, and build out simple param transformers, and response transformers, and start writing code. Piston IMO definitely overcomplicates things, and while Tastypie offers some of the same advantages Piston does, I feel like the effort required to get an API going is worth counteracting the time lost of using a framework that's going to present limitations if you need to expand on that API in the long run", "group_id": 81, "id": 949397}, {"user_id": 1, "stars": [], "topic_id": 16265, "date_created": 1304829494.8117089, "message": "I agree, APIs are so simple anyway, I don't really see the need for a framework. Then again, I haven't really done much with OAuth or anything more complex like that.", "group_id": 81, "id": 956573}, {"user_id": 23352, "stars": [], "topic_id": 16265, "date_created": 1307709607.7719021, "message": "Does anyone have recommendations for this use case: Site A needs a form-based interface for data from site B (both are Django sites)?This seems to be one of the goals of http://code.welldev.org/django-roa but the project isn't active. With django-roa I could use ModelForms and the admin interface on site A for remote data on site B. Does any of the other projects mentioned provide this, or are there other projects for integrating forms and the admin to remote data?", "group_id": 81, "id": 1360271}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107611.972276, "message": "piston has a number of problems. It does a bit to much in terms of handling serialization of data types (I generally can't use it anyway). It suppresses errors so tracebacks don't show when running tests. It's default errors are plain text. It's @validate decorator is unusable and supporting it causes piston to catch TypeErrors.", "group_id": 81, "id": 1397239}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107391.2121861, "message": "Personally I want a framework like thing since it can handle multiple outputs (JSON, XML) using the accept header, do proper error handling and respond with JSON, XML even with 500 errors (though this could, and probably should, be done at the proxy, web server level).", "group_id": 81, "id": 1397217}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107432.937129, "message": "Also handling PUT requests in Django", "group_id": 81, "id": 1397220}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107491.6607931, "message": "Tasty Pie's need to define the urls for me is annoying and I don't like the DSL, metaclassish approach to Resource objects.", "group_id": 81, "id": 1397225}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107447.4406519, "message": "However, the existing frameworks leave me wanting.", "group_id": 81, "id": 1397222}, {"user_id": 4383, "stars": [], "topic_id": 16265, "date_created": 1308107681.4159901, "message": "But in general I find that being able to declare the urls myself and the ability to hook and override some of the painful parts makes piston the easier of two evils to use for me.", "group_id": 81, "id": 1397244}, {"user_id": 18316, "stars": [{"date_created": 1311173253.1685729, "user_id": 37199}], "topic_id": 16265, "date_created": 1308120281.723803, "message": "@ianmlewis I know I've evangelised about this here before, but http://django-rest-framework.org really is worth a good look at. It's maturing pretty nicely now. (0.2.x releases in the last week or two are a big improvement)", "group_id": 81, "id": 1398382}, {"user_id": 38348, "stars": [], "topic_id": 16265, "date_created": 1311102421.3858449, "message": "Does anyone know if Tastypie will allow you to put versioning and other parameters in the Accept header rather than in the URL?", "group_id": 81, "id": 1674457}] |