jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 8
Total Residents: 490
Online Now: 0
Hypergriders online: 0

jOpenSim and XmlRpc

5 years 7 months ago #3172 by foto50
xmlrpc is more or less the heart of jOpenSim since it lets it communicate with OpenSimulator.

As you might know, jOpenSim comes with its own xmlrpc class (originally from Edd Dumbill) but is quite "outdated" ... I adopted it in time a little, but the base is from 2002 (!). The reason for it that time was, that at birth of jOpenSim still a lot of php4 was arround which had no reliable xmlrpc implementation.

Even now with php7 (currently I develop with 7.2.5) the xmlrpc extension is not enabled by default.

Facing Joomla4, either this class would need a complete rewrite or I change jOpenSim to require the php7 xmlrpc extension to be enabled. Modifying the existing class is imho more work than creating a new one.

Does anyone know an up2date xmlrpc class that does NOT rely on the php extension? Or should jOpenSim raise its requirements to it?

Let me know your thoughts

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

5 years 7 months ago #3173 by djphil
What you say make me think to Aurora WebUI-API .
It's something like that you think?

Please Log in or Create an account to join the conversation.

5 years 7 months ago #3174 by foto50
Hi djphil

Not really ... that's a different approach from C# side. I'ld rather keep the xmlrpc on the C# module sides, but handle these requests on php side different.

Please Log in or Create an account to join the conversation.

5 years 7 months ago - 5 years 7 months ago #3175 by djphil
Ok okay.:silly:
Some people use node.js to communicate with the simulator

Please Log in or Create an account to join the conversation.

1 year 5 months ago - 1 year 5 months ago #3873 by MTeegardin
Does this help?
pecl.php.net/package/xmlrpc

There are also some alternatives on this site:
php.watch/versions/8.0/xmlrpc

M~

Please Log in or Create an account to join the conversation.

1 year 5 months ago #3874 by foto50
Hi MTeegardin

I found the pecl solution already, but this would require too much specific environment from user side ... and I would like to avoid this ;)

I also found some library alternatives (unfortunately most totally outdated), but not those in your 2nd link. Thanks for this hint, I'll check this asap :)

Greetz
FoTo50
The following user(s) said Thank You: MTeegardin

Please Log in or Create an account to join the conversation.

1 year 5 months ago #3875 by MTeegardin
You are welcome. I hope some of that info is useful!

Please Log in or Create an account to join the conversation.

1 year 4 weeks ago #3891 by MTeegardin
I found this, Foto50, not sure if it helps??
github.com/MTSGJ/flotsam_XmlRpcGroup/tree/main
The following user(s) said Thank You: foto50

Please Log in or Create an account to join the conversation.

1 year 3 weeks ago #3892 by MTeegardin
Or, more recently updated? Here: github.com/gggeek/phpxmlrpc
The following user(s) said Thank You: foto50

Please Log in or Create an account to join the conversation.

1 year 3 weeks ago #3893 by foto50
Hi MTeegardin

Thanks, specially the last one looks pretty promising :) as far as I can understand their license ( github.com/gggeek/phpxmlrpc/blob/HEAD/license.txt ) it should be possible to use.

The other one also seems to be usable in that direction, allthough their wiki is "a little hard" to follow for me :lol:

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds