(cakephp nubee, patience please ;) )

Trying to keep up with cakePHP's RESTful approach,
I can't quite figure out how to build the URL for a query that is a
bit more complex than "get object X", or "get all objects X created
over last week".

For example, let's say I have a Posts table, that it has a has-and-
belongs-to-many connection to a Tags table.

Now, how do I RESTfully, simply, build a URL route that will say:
"Get me all posts added during the last week, that are linked to both
the tag 'Fun' and the tag 'Games'"?


I'm can think of a few not-so-beautiful and not-very-aesthetic ways of
doing it,
but I'm sure there's a more elegant way...

anyone?

thanx,
Omer.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to