First version should only support JSON. Later on, if people will want it we can also add support for XML.
2012/3/24 Ilgiz Islamgulov <[email protected]> > I agree. Twisted is looking easier for end user. > Should server respond to client requests in a variety of formats? I > suggest flatland <http://discorporate.us/projects/flatland/docs/tip/> > as validation library. > > > 24 марта 2012 г. 14:29 пользователь Tomaž Muraus <[email protected]>написал: > > I'm fine with not supporting Python 3 for now. In any case, I'm pretty >> sure Twisted will introduce support for Python 3 in the near future. >> >> Using Celery or some kind of a worker based system would make the whole >> project more complex and it would be harder to deploy. I would prefer to >> avoid that and have a single "binary" which is easy to deploy and run. >> >> >> 2012/3/24 Ilgiz Islamgulov <[email protected]> >> >>> Twisted doesn't support Python 3, Django 1.5 will support Python 3. To >>> run blocking code we can use Celery or something like it. >>> As for me creating REST with easier with Django+Tastypie. >>> >>> 24 марта 2012 г. 10:54 пользователь Tomaž Muraus <[email protected]>написал: >>> >>> Supporting Windows for this project is not a big priority, so I would be >>>> OK with using a framework which doesn't support it. >>>> >>>> Personally I would probably choose Twisted, because it already supports >>>> running blocking code in a thread (threads.deferToThread) and we need to do >>>> that, because all of the Libcloud is blocking and not async. I don't think >>>> Tornado has a similar construct which makes running a blocking function in >>>> a thread pool easily, but I might be wrong. >>>> >>>> - Tomaz >>>> >>>> >>>> 2012/3/23 Ilgiz Islamgulov <[email protected]> >>>> >>>>> I added a comment to the REST interface task. >>>>> >>>>> As for me first of all we need to choose framework. >>>>> >>>>> Tornado may be a better choice than Twisted and Gevent for async code. >>>>> Twisted has grown big, complex and it doesn't support Python 3. >>>>> I think Gevent is not good choice because monkey patching standard >>>>> library is something weird for me. >>>>> Tornado has disadvantages too, Tornado doesn't run on Windows >>>>> unfortunately. (Is it required to support Windows ?) >>>>> >>>>> Also Django+Tastypie is an interesting solution. Tastypie already >>>>> support a lot of features. Last month i visited Python conference, here >>>>> one of speakers told us about REST API. They use Tastypie to create >>>>> richest >>>>> APIs at oDesk corp. >>>>> >>>>> What do you think? >>>>> Thanks. >>>>> >>>>> >>>>> 23 марта 2012 г. 5:35 пользователь Tomaž Muraus <[email protected]>написал: >>>>> >>>>> Hey Ilgiz, >>>>>> >>>>>> We already have multiple students interested working on the CLI task, >>>>>> but we have no-one for the "REST interface" task yet. It sounds like you >>>>>> would be a great fit for this task. >>>>>> >>>>>> Ideally, like you have said we could share a lot of the code which >>>>>> parses the docstrings, etc. between the "CLI tool" and "REST interface" >>>>>> project. This means you will also need to spend a lot of time >>>>>> collaborating >>>>>> with other student which will work on the "CLI tool" project. >>>>>> >>>>>> Official GSoC 2012 student applications will open in a few days, >>>>>> which also means we need to start working on the official proposal soon. >>>>>> >>>>>> For now, please register on our ticket tracker ( >>>>>> https://issues.apache.org/jira/browse/LIBCLOUD) and add a comment to >>>>>> the REST interface task ( >>>>>> https://issues.apache.org/jira/browse/LIBCLOUD-159) which says >>>>>> something like "I'm interested working on this task and I provided more >>>>>> details in my email to [email protected]." >>>>>> >>>>>> Another thing I would like you to do now is to start thinking about >>>>>> how you would implement the project and which framework you would like to >>>>>> use (Twisted, Tornado, ...). >>>>>> >>>>>> Thanks, >>>>>> Tomaz >>>>>> >>>>>> >>>>>> 2012/3/22 Ilgiz Islamgulov <[email protected]> >>>>>> >>>>>>> Hello. >>>>>>> >>>>>>> I'm python programmer and fourth year university student from >>>>>>> Russia. Next year I'll write my degree work. I decided to write my >>>>>>> degree >>>>>>> work about clouds, because I found them very interest and think them >>>>>>> have >>>>>>> great future. Yesterday I was looking for python libraries for working >>>>>>> with clouds and found libcloud. Today then I was revising libcloud and I >>>>>>> found GSoC tickets. As for me it's posible to implement CLI and REST >>>>>>> interface with minimum code dublication using magic of Python. Maybe >>>>>>> it's >>>>>>> foolish idea, but I wonder to help your project. If you will find this >>>>>>> idea >>>>>>> interesting, please answer me. >>>>>>> >>>>>>> >>>>>>> Some things about me: >>>>>>> My name is Ilgiz Islamgulov. I'm a CS student of Ufa State Aviation >>>>>>> Technical University. Also I'm workinng in Institute of Computer >>>>>>> Science, here I've written some helpful application for our cluster, >>>>>>> such >>>>>>> as cluster jobs scheduler and сlient-server application for the delivery >>>>>>> and monitoring tasks on the cluster and many other apps. I' m working >>>>>>> with >>>>>>> Rackspace cloud and was working with Heruko, AppEngine. >>>>>>> >>>>>>> I'm sorry for my bad english writing. >>>>>>> -- >>>>>>> Best Regards, >>>>>>> Ilgiz Islamgulov >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> С уважением, >>>>> Илгиз Исламгулов >>>>> >>>> >>>> >>> >>> >>> -- >>> С уважением, >>> Илгиз Исламгулов >>> >> >> > > > -- > С уважением, > Илгиз Исламгулов >
