Writing it.... It may change but not too much.

On Oct 12, 7:40 pm, ~redShadow~ <redsha...@hackzine.org> wrote:
> On Wed, 2011-10-12 at 17:25 -0700, Massimo Di Pierro wrote:
> > [..cut..]
>
> I've already seen this example somewhere (is it in the book?) but it
> looks like the whole REST-server thing is quite undocumented and not
> advertised as it should.. is that just experimental and might change in
> the future? Or, is it just undocumented?
>
> > patterns = [
> >             "/friends[person]",
> >             "/friend/{person.name.startswith}",
> >             "/friend/{person.name}/:field",
> >             "/friend/{person.name}/pets[pet.owner]",
> >             "/friend/{person.name}/pet[pet.owner]/{pet.name}",
> >             "/friend/{person.name}/pet[pet.owner]/{pet.name}/:field"
> >             ]
> >         parser = db.parse_as_rest(patterns,args,vars)
>
> This patterns auto-parsing mechanism looks cool, but I didn't understand
> the exact behavior of different patterns. Quick explanation of how these
> work?
>
> --
> Samuele ~redShadow~ Santi
> ----------------------------------------------------------------
>      redshadow[at]hackzine.org - redshadowhack[at]gmail.com
>
>   Blog:http://hackzine.org
>
>   GPG Key signature:
>        050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933
> ----------------------------------------------------------------
> /me recommends:
>     Squadra Informatica -http://www.squadrainformatica.com
> ----------------------------------------------------------------
>  - Proud ThinkPad T-Series owner
>  - Registered Linux-User: #440008
>       * GENTOO User since 1199142000 (2008-01-01)
>       * former DEBIAN SID user
> ----------------------------------------------------------------
>       "Software is like sex: it's better when it's free!"
>                               -- Linus Torvalds
>
>  signature.asc
> < 1KViewDownload

Reply via email to