Making restrpc binding input handler smarter

View: New views
2 Messages — Rating Filter:   Alert me  

Making restrpc binding input handler smarter

by Tom-237 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


We will be making the input handler smarter by making it match names
of arguments sent in the querystring against method arguments. By
doing this the binding will be able to:

- produce errors when invalid arguments are sent.
- recognize when arguments are sent in different order then defined in
the method arguments and put the correct argument in the correct place.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Making restrpc binding input handler smarter

by Simon Laws :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On 22 Nov, 09:13, Tom <msc...@...> wrote:
> We will be making the input handler smarter by making it match names
> of arguments sent in the querystring against method arguments. By
> doing this the binding will be able to:
>
> - produce errors when invalid arguments are sent.
> - recognize when arguments are sent in different order then defined in
> the method arguments and put the correct argument in the correct place.

Parameter processing is really dumb at the moment so this all sounds
good to me.

Regards

Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price!