Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
GSoC 2007 Status Update: Django REST interface
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andreas Stuhlmüller  
View profile  
 More options Jun 1 2007, 12:46 pm
From: "Andreas Stuhlmüller" <stuhlmuel...@gmail.com>
Date: Fri, 1 Jun 2007 18:46:24 +0200
Local: Fri, Jun 1 2007 12:46 pm
Subject: GSoC 2007 Status Update: Django REST interface
This is the first weekly status update for my Summer of Code project,
a generic REST interface for Django. If you haven't seen it, take a
look at http://code.google.com/p/django-rest-interface/.

This week, I have started checking in code. I am always happy about
feedback. Add a few lines to your (non-production!) urls.py [1], make
your models available in XML or JSON format and tell me what works for
you and what doesn't.

Compared to my timetable, I have managed to start a few things I
planned to get done next week or the week after (create/update/delete
operations, basic url patterns generator) and I have yet to add the
option to format output with templates, something I wanted to get done
by today.

Besides templates, I am going to work on error handling, pagination,
the option to limit the model fields exposed by the API, a
_load_put_and_files equivalent to _load_post_and_files and the
inclusion of resource urls in serialized output until next Friday.

Regards,
Andreas

[1] Like this: http://django-rest-interface.googlecode.com/svn/trunk/django_restapi_...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Amit Upadhyay  
View profile  
 More options Jun 1 2007, 6:13 pm
From: "Amit Upadhyay" <upadh...@gmail.com>
Date: Sat, 2 Jun 2007 03:43:17 +0530
Local: Fri, Jun 1 2007 6:13 pm
Subject: Re: GSoC 2007 Status Update: Django REST interface

On 6/1/07, Andreas Stuhlmüller <stuhlmuel...@gmail.com> wrote:

> This week, I have started checking in code. I am always happy about
> feedback. Add a few lines to your (non-production!) urls.py [1], make
> your models available in XML or JSON format and tell me what works for
> you and what doesn't.

I contributed patch for http://code.djangoproject.com/ticket/547, and tho
did not object much when it was closed in favor of
http://code.djangoproject.com/ticket/115, but I feel both your approach and
#115 are wrong.

Django is a web development framework, and not model development. REST
(XMLRPC/SOAP) API are created to expose webservices, which by definition
could be anything, not just models. CRUD is myopic world view. Have you seen
the API's that Flickr/Delicious/FaceBook exposes? *None* of them are
(strictly) CRUD related. What should you make easy is making any python
function available through REST, and that function can in turn implement
CRUD if you want. I am not against CRUD api, but thats a very small, and in
my opinion unused subset of what REST etc would be used for.

Developers, please relook at 547, and compare it with 115. 547 is closed by
jacob saying " This is a subset of
#115<http://code.djangoproject.com/ticket/115>."
which I feel is not the case, as #115 is "Models CRUD via web services".

Related bug: http://code.djangoproject.com/ticket/552

--
Amit Upadhyay
Vakow! http://www.vakow.com
+91-9820-295-512


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:56 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:56:18 -0400
Local: Fri, Jun 1 2007 4:56 pm
Subject: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:56 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:56:44 -0400
Local: Fri, Jun 1 2007 4:56 pm
Subject: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:57 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:57:13 -0400
Local: Fri, Jun 1 2007 4:57 pm
Subject: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:57 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:57:32 -0400
Local: Fri, Jun 1 2007 4:57 pm
Subject: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:57 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:57:54 -0400
Local: Fri, Jun 1 2007 4:57 pm
Subject: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:58 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:58:19 -0400
Local: Fri, Jun 1 2007 4:58 pm
Subject: Re: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:58 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:58:40 -0400
Local: Fri, Jun 1 2007 4:58 pm
Subject: Re: Re: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:58 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:58:56 -0400
Local: Fri, Jun 1 2007 4:58 pm
Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:59 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:59:12 -0400
Local: Fri, Jun 1 2007 4:59 pm
Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cur...@tradingblox.com  
View profile  
 More options Jun 1 2007, 4:59 pm
From: cur...@tradingblox.com
Date: 1 Jun 2007 16:59:34 -0400
Local: Fri, Jun 1 2007 4:59 pm
Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: GSoC 2007 Status Update: Django REST interface
This email address is no longer in service. Please use curtis_fa...@yahoo.com.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Stuhlmüller  
View profile  
 More options Jun 1 2007, 6:59 pm
From: "Andreas Stuhlmüller" <stuhlmuel...@gmail.com>
Date: Sat, 2 Jun 2007 00:59:24 +0200
Local: Fri, Jun 1 2007 6:59 pm
Subject: Re: GSoC 2007 Status Update: Django REST interface
On 6/2/07, Amit Upadhyay <upadh...@gmail.com> wrote:

> Django is a web development framework, and not model development. REST
> (XMLRPC/SOAP) API are created to expose webservices, which by definition
> could be anything, not just models. CRUD is myopic world view.

Thanks for your comment!

You are right in saying that making models CRUD-accessible is just a
small part of what should be possible with the REST API. That's why my
proposal includes two parts: Easily configured CRUD method access
patterns for models on the one hand and resources that don't
correspond 1:1 to models on the other hand. I will take a closer look
at the tickets you opened when I get to the second half of my
proposal, but note that what I am working on is not XMLRPC or SOAP.

Regards,
Andreas

On 6/2/07, Amit Upadhyay <upadh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »