I'm looking quickly in /libraries/phpxmlrpc/xmlrpc.php and I see
that's not so simple to make the JSON equivalent...
I will start looking for a library implementing JSON RPC in PHP. It'll
be easier to adapt it for importing as library in joomla 1.5 than
doing all by myself...
As you, for me the time is the problem. So I'll follow the fastest way
toward a solution. Maybe I'll start by sending my JSON object from the
client to the server via a POST only and let the php code located at
the indicated URL to handle the requste and compose the response... I
know that's not the best but if this php implementation of JSON RPC
is too heavy...
BY the way, did you have a strong motivation to go to Joomla 1.6? I
did some custiomizations on Joomla 1.5 and it becomes hard to migrate
because I will have to solve lots of problems. Then , in a general
manner, I don't care about being up-to-date with respect to the latest
Joomla version. What is opinion?
Kind regards,
panda
On Apr 12, 10:57 pm, Phillip Verheyden <
pverhey...@gmail.com> wrote:
> Yeah after researching it quite a bit, it looks like RPC is the way to go
> with this one. I think if you wanted to do JSON-RPC you need to add that
> library in and then maybe a root folder called /jsonrpc that serves as the
> front-end. If you look at /xmlrpc/index.php then that has all the hooks for
> the xmlrpc library.
>
> I think the main reason I'm going to use RPC is because there are more
> examples out there for me to use of it tying in to Joomla and it will
> require slightly less work on my end. It's not my preferred choice because
> those requests/responses are pretty verbose. It might be different for your
> JSON implementation though. I'm actually looking to move to JSON anyway, so
> I'm interested to see what you come up with in adding that to Joomla.
>
> The other reason I decided to go with RPC is because I saw that somebody
> wrote a plugin to drop that library into 1.6, since now you can manage those
> just like any other component (I'll link to it later; the bookmark is on
> another computer and I haven't set up FF sync). Once again, in the realm of
> all scenarios being equal, the one that requires me to do less work is the
> better one :)
>
> Let me know what you find.
>
> Thanks,
> Phillip
>
> >
www.example.com/xmlrpcandyouhave the "Web Services" option
> > > enabled, then that's the entry point
> > > for all of your RPC calls (which you can write plugins to handle). So
> > where
> > > should I start looking (and hacking) to make it to where you can
> > visithttp://
www.example.com/jsonrpcandit hits whatever JSON-RPC library I