Archive

Posts Tagged ‘Experiment’

On the automation of API writing and XML-RPC serving for Python Django

November 10th, 2009 bodom_lx No comments

While searching for solutions on adopting Django for the server side of our Dynamic Car Pooling system, I found two very interesting projects:

  • WAPI – a framework which abstracts the details involved in publishing an API and translates class methods to API methods, serializing the objects returned when possible. WAPI handles authentication, too, and other advanced functions. It’s an amazing, fully Django compatible system that currently works over ReST (JSON, XML, YAML) but not with XML-RPC. Therefore, I contacted the author to have some information about the status of the project. It would be very interesting in our system, to provide API and XML-RPC services just by using his layer
  • RPC4Django – provides XML-RPC and JSON-RPC support to an existing Django project. It promises a XML-RPC interface by just adding the decorator @rpcmethod to an existing python function. It also fully integrates with Django authentication framework

I’m going to experiment with these two tools. Obviously the first one is the most interesting because of its ability to “export” services in more formats. But the most important protocol for us is missing. Let’s hope it will be added soon!

Related posts

First papers collected and analyzed

October 8th, 2009 bodom_lx 1 comment

While I am waiting for my wiki to be setup, I’m updating here my first week of work. I read lots of papers regarding dynamic car pooling and friends. Most of them are listed on this MIT website and on dynamicridesharing.org. The second site is maintained by Dan Kirshner, the author of three (unlucky) experiments regarding dynamic car pooling.
I actually selected 13 publications for my scope. I’m going to publish the list as soon as I’ve got my wiki. What I’m going to do is to review them, comparing my work with the excellent one done by Hannes Zimmerman and Yann Stempfel (Current Trends in Dynamic Ridesharing, identification of Bottleneck Problems and Propositions of Solutions).

Related posts

BD-incollo 0.1 is out!

September 30th, 2008 bodom_lx 4 comments

As I promised, BD-incollo 0.1 is finished and the source code is available in the project page under the GPL 3 license.
Every MUST requirement has been done and just two MAY requirements could not be developed in just 6 days. But They will surely be in the next releases.
Sourcecode is well commented using xP standards and there are few comments where necessary, but is should be clear. If not, drop me a mail.
I will write a map that describes the source code tree tomorrow!
The conclusions of this experiment are that Django is really a web framework for perfectionists with deadlines! I spent more time playing with templates and CSS than with the whole python coding! It’s a valid alternative to Ruby on Rails, and built on a programming language I really like.
Go and grab the code!

Related posts

BD-theme 0.9 released

September 19th, 2008 bodom_lx No comments

Just released the code for the 0.9 version. Changes from the experiments of 0.8 are listed on the project page, but the most important ones are that the theme is now fully compatible with

  • Internet Explorer 7 and 8
  • Mozilla Firefox 2
  • Mozilla Firefox 3
  • Google Chrome
  • Apple Safari

And there are lots of visual improvements, too. Go to see them on the project page, and grab the code, too!
Obviously, coding for the 1.0 release has just started, and you will see the changes in the theme applied on my blog.

Related posts

BD-theme 0.8. The Experiment

August 21st, 2008 bodom_lx No comments

As I promised more than 2 months ago, I’ve just released the sourcecode of the wordpress theme on my blog. BD-theme 0.8 is a set of experiments that will bring me to the final release, I cannot promise that it will work perfectly on every browser, but it will almost do the job. Meanwhile, I’m working since 7 days to the next release, 0.9, that should bring to the blog a final layout.
UPDATE 2008-08-22: The theme you’re actually seeing in the blog is what will become BD-theme 0.9. I’m testing it.

Related posts

BD-theme’s new look

June 6th, 2008 bodom_lx No comments

As you see, the blog has a brand new theme! the blog’s theme has got a new, fresh look! I decided to bring some new improvements and a change in the layout. Let me experiment with it, fix some bugs and then I will release the source code, as always

Related posts