Python & Django

55 views
Skip to first unread message

FreeAgent

unread,
Oct 4, 2008, 2:52:35 PM10/4/08
to Panda
Hi there,

I'm a newcomer to Panda and what I've read so far looks impressive.

I'm wondering: would it be feasible to use the Django web-framework,
instead of Ruby-on-Rails (and Merb)?

I've read that Panda has a REST interface, so could I use the same AMI
and make calls to its REST interface from Python?

How much would I lose by following the above route? And how much work
would it involve?

(I'm reluctant to rebuild Panda from scratch if I can avoid doing so.
And I'd like to use the same AMI provided by the Panda project, if
possible.)

Ciao,

Kevin.

Martyn Loughran

unread,
Oct 4, 2008, 4:05:23 PM10/4/08
to panda...@googlegroups.com
Kevin,

Absolutely feasible. There should be no difference at all in
complexity to integrate panda with django as opposed to ruby. It's
just that the tutorial hasn't been written yet (so you'd make yourself
extremely popular if you contributed one!)

I'd take a look at http://pandastream.com/docs/api and if you're
interested in making a python library you might like to take a look at
what the ruby one does (http://github.com/newbamboo/panda_gem/tree/d6b7149a160da74f5d7ea273e7c35684db394258/lib/panda/video.rb
). Having said that it's really only a trivial wrapper around 3 http
calls - create a new video, show details for 1 video, and show details
for all videos - so you could easily manage without it.

The AMI can be used unchanged.

Let us know how you get on!

Martyn

Reply all
Reply to author
Forward
0 new messages