|
|
|
|
|
by ChikkaChiChi
4115 days ago
|
|
If you live in one framework and always will, then I see your point. But if you want to have the ability to code out native solutions, use other tools where other tools may be more appropriate, or discipline your projects to be a little less biased, then asking PHP to parse JSON is not a huge buy. That's how we've done it here and the modularization it has provided us has been incredible. PHP's json_encode and json_decode are also quite fast. |
|
I'm not saying using JSON as an envelope won't work - it is clearly working for you - just that I wouldn't start there, and I can't see that you couldn't work with the request object directly.