Name: [171] Florian Mayer
Member: 91 months
Authored: 7 videos
Description: I'm a student from Vienna, the federal capital of Austria. Please visit `My Blog <http://segfaulthunter.blogspot.com/>`_ ...

Calling functions on a server using XMLRPC [ID:764] (1/1)

in series: XMLRPC

video tutorial by Florian Mayer, added 06/08

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

XMLRPC is an excellent way to call functions on a remote system. This is very useful for distributed systems, but is also used for other purposes, for example a pastebin where you can post to using Python.

# xmlrpc_server.py

from SimpleXMLRPCServer import SimpleXMLRPCServer
class MyFunctions:
	def hello_world(self):
		return ["Hello", "World"]
	def reversed_string(self, input):
		return input[::-1]

server = SimpleXMLRPCServer(("localhost", 8080))
server.register_function(pow)
server.register_instance(MyFunctions())
server.register_introspection_functions()

server.serve_forever()

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 964 (since July 30th)
  • Plays in last week: 2
  • Published: 75 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

Review of Calling functions on a server using XMLRPC

I really want to see more examples on XMLRPC, I would also want to learn about the use of alternative protocols like SOAP and REST or other XMPP-like features.

Can we get into more advanced deployment of XMLRPC for example, how wordpress use it for remote blogging, or how to construct an open API for our webapp/desktop solution.


Hi Florian. I'll echo the others - this is a great and very clear introduction to using XML-RPC in Python. Great stuff!

Ian.


4. anonymous Mon, 30 Jun 2008 14:07

thats nice too thanks


I completely agree with what Kyran. I've personally never used XMLRPC much but I might in the future so this screencast will definitely come in handy.

Excellent pacing, clear and simple explanations. You should increase the font-size, though, as it makes everything easier to read.

Well done.

Lucas


Really nice work Florian! I've used XMLRPC and it's a lovely little library - amazingly useful in the right context. In a short time, using intelligently selected examples, you give people all they need to get started. The pacing is good - the only comment viz production is that you might have exploited the space better and cranked up the font-size on VIM. Anyway, a very nice screencast.


Video published, thanks for contributing to ShowMeDo


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for Florian

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com