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
Djangocon Sprints
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
  4 messages - Collapse 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
 
Paul Carduner  
View profile  
 More options Sep 11 2009, 10:06 pm
From: Paul Carduner <paulcardu...@gmail.com>
Date: Fri, 11 Sep 2009 19:06:49 -0700
Local: Fri, Sep 11 2009 10:06 pm
Subject: Djangocon Sprints
I heard others and spoke myself about doing some work on piston during
the djangocon sprints.  I haven't gotten around to anything piston
related yet, but I'm hoping to do a bit tonight and more tomorrow.

Anything in particular I can contribute too?  What hg repositories are
good to follow on bitbucket?

I was thinking about working on and/or learning about configurable
logging and form validation and documentation.  I see there is support
for form validation but I don't understand from the docs how they
work.

Also a quick question: why read/create/update/delete instead of
GET/POST/PUT/DELETE or get/post/put/delete (a la app engine)?

--
Paul Carduner
http://www.carduner.net

 
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.
jespern  
View profile  
 More options Sep 12 2009, 10:46 am
From: jespern <jno...@gmail.com>
Date: Sat, 12 Sep 2009 07:46:38 -0700 (PDT)
Local: Sat, Sep 12 2009 10:46 am
Subject: Re: Djangocon Sprints
On Sep 12, 5:06 am, Paul Carduner <paulcardu...@gmail.com> wrote:

> I heard others and spoke myself about doing some work on piston during
> the djangocon sprints.  I haven't gotten around to anything piston
> related yet, but I'm hoping to do a bit tonight and more tomorrow.

Hah, very cool that someone is sprinting on it :-)

> Anything in particular I can contribute too?  What hg repositories are
> good to follow on bitbucket?

The canonical repo is jespern/django-piston, and there's a list of
forks/queues in the "descendants" tab. The joestump fork has seen a
lot of action lately, and I've just merged it in. It needs testing!

> I was thinking about working on and/or learning about configurable
> logging and form validation and documentation.  I see there is support
> for form validation but I don't understand from the docs how they
> work.

They work in the way that you can decorate a method with @validate
(FormThingie) and it will throw a validation error and never execute
your handler if it fails. It would be nice if you wouldn't have to the
validation twice though, you can look into that, if you want. Possibly/
preferably by adding the form to the kwargs of the function, so you
can access it inside the view.

Logging would be nice, and I've also spoken to Adam (I believe you met
him) about some other stuff you guys can work on. You should talk to
him. Otherwise, I think improving the documentation would be a great
idea.

> Also a quick question: why read/create/update/delete instead of
> GET/POST/PUT/DELETE or get/post/put/delete (a la app engine)?

Semantics, really. It's GET/POST etc. on the protocol layer, but if
you follow CRUD semantics, it's CREATE/READ/UPDATE/DELETE, which it's
called in piston :-)

I'm on #bitbucket on irc.freenode.net, so if you don't want to wait
for my slow email replies, come bug me there.

Jesper


 
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.
Adam Lowry  
View profile  
 More options Sep 12 2009, 12:18 pm
From: Adam Lowry <a...@therobots.org>
Date: Sat, 12 Sep 2009 09:18:17 -0700 (PDT)
Local: Sat, Sep 12 2009 12:18 pm
Subject: Re: Djangocon Sprints
On Sep 12, 7:46 am, jespern <jno...@gmail.com> wrote:

> Logging would be nice, and I've also spoken to Adam (I believe you met
> him) about some other stuff you guys can work on. You should talk to
> him. Otherwise, I think improving the documentation would be a great
> idea.

I didn't have as much time as I thought to work on it; I only worked
up a quick version of using HTTP Accept header to determine emitters.
I've got more real work to do today, but I'll try to get some more
piston work done.

The big task Jesper had mentioned on IRC was #57, implementing 412
Precondition Failed. I doubt I'll take a crack at myself.
http://bitbucket.org/jespern/django-piston/issue/57/implement-412-pre...

> > Also a quick question: why read/create/update/delete instead of
> > GET/POST/PUT/DELETE or get/post/put/delete (a la app engine)?

> Semantics, really. It's GET/POST etc. on the protocol layer, but if
> you follow CRUD semantics, it's CREATE/READ/UPDATE/DELETE, which it's
> called in piston :-)

This was the very first thing I overrode when I started to use
piston :) . My APIs don't map exactly to CRUD, so I just subclassed
and used a GET/POST/PUT/DELETE mapping.

Adam


 
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.
Paul Carduner  
View profile  
 More options Sep 12 2009, 1:08 pm
From: Paul Carduner <paulcardu...@gmail.com>
Date: Sat, 12 Sep 2009 10:08:20 -0700
Local: Sat, Sep 12 2009 1:08 pm
Subject: Re: Djangocon Sprints
I just got to the sprint place.  Anyone who wants to join me, I'm the
guy with the black shirt and a macbook pro :).  But seriously, it says
"Python Paul" on the back of my shirt so come find me.

--
Paul Carduner
http://www.carduner.net

 
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 »