On 7/12/07, Sells, Fred <[EMAIL PROTECTED]> wrote:
>
> So I'm not using many (any?) of the cool features of Apache or django once
> my page is up.  Would be reasonable to bypass Apache (and django) and use
> something like SCGI to just serve XML data?  Or did I just reveal how little
> I truely know about what's going on under the hood.

It doesn't sound like an inherently bad idea to me.

If you read the Django docs, we actually recommend against using
Django to serve media files. This is because media files are static
and easily cached. Sure - you _could_ make Django serve media very
easily, but there are a lot more efficient techniques out there.
Rather than try to make Django ok for every task, we concentrate on
making it excellent at one specific task, and encourage you to use
other tools when your needs don't match Django's sweet spot.

If you find that serving parts of your application using SCGI, parts
using Django, and parts using some other scheme is the best for you
(where best is measured in development time, runtime performance, or
whatever else is significant to you) - go for it.

That said - Django can serve XML data, and if the data that is being
served via XML has been extracted from a database, Django provides a
serialization scheme to query the database and turn it into an XML
response. I don't know enough about Flex to be able to comment on
whether this will meet your needs, but it might be worth having a look
to see if it does.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to