Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Is it possible to use Django with an API as its back-end? [RSS Feed]

#1 June 8, 2010 05:13:51

Douglas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Is it possible to use Django with an API as its back-end?


Hello fellow Django enthusiasts! I'm a new Django user, and have been
experimenting with 1.2 for the last few weeks. Thus far, I love it!
I love that it has thus far been so simple for me to learn, that the
documentation is actually readable and simply written, and that the
set up was sooo fast and painless.

As an interesting stroke of good fortune, it turns out that my
employer is currently evaluating new technology stacks as we plan the
complete rewrite of our current site. The site does ~16m uniques a
month, and we are looking to break the big features of our site into
stand-alone apps that utilize our new homegrown API (rather than
interacting with a database directly). I've been charged with
evaluating Django as a potential solution, but I'm having some trouble
tracking down information about the following two concerns:

1) Is it possible to run Django's models on our API, rather than
having its models interact with the database via the ORM (thus
replicating data as seen here:http://www.webmonkey.com/2010/02/Integrate_Web_APIs_into_Your_Django_Site)
2) What kind of performance should we expect (Django 1.2/Apache/MySQL
versus something like Zend Framework/Apache/MySQL)?

Any information, or nudges in the the right directions would be much
appreciated!

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 8, 2010 09:00:09

Erik R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Is it possible to use Django with an API as its back-end?


Hi Douglas,

Douglas Graves wrote:
> 1) Is it possible to run Django's models on our API, rather than
> having its models interact with the database via the ORM (thus
> replicating data as seen here:
>http://www.webmonkey.com/2010/02/Integrate_Web_APIs_into_Your_Django_Site)

I would suggest to have a look at:http://code.welldev.org/django-roa/wiki/Homecheers,
Erik Romijn

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 June 16, 2010 21:50:45

Douglas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Is it possible to use Django with an API as its back-end?


Erik, thanks so much for pointing me to django-roa. It looks really
cool, particularly because of its ability to handle so many different
types of data storage solutions (eg - nosql, multiple dbs, etc). I
also randomly stumbled across django-pipes, which seems to work really
well for running Django's models off of an api.

As for #2, can anyone point me toward a benchmark comparison of Django
1.2 and other similar Python, PHP, Java, etc frameworks? Most of the
benchmark comparisons that I've found are from a few years ago, and
use older versions of Django. Honestly, even if it was just a
benchmark for Django 1.2, it would be really helpful.

Thanks everyone, I love how friendly the Django community has been
thus far!

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Is it possible to use Django with an API as its back-end? [RSS Feed]

Board footer

Moderator control

Enjoy the 15th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support