if you don't have extensive pre-existing php (legacy) code I would say do it
all in django.

even if you wrote some already in php you will save more time by throwing it
away and reimplementing in django then you will trying to make them co-exist
or by trying to use a legacy db schema.

if you have to write the facebook part in php, then just do that part.  let
django build and manage the database schema.

I have one client with a large site developed in php and running since
2001.  its drudgery having to go back and do new stuff on it now. :(    even
though it was a pretty clever framework at the time and I ported some django
and rails stuff to it over the years.




On Tue, Feb 17, 2009 at 4:14 PM, garagefan <monkeygar...@gmail.com> wrote:

>
> The easiest solution i can consider is having php request a url from
> the django project that would return a dynamically created xml file
> that you could then parse via php, set variables from, display, etc.



php, even php5 has pretty poor xml support.  json would work better






>
> You could theoretically run the site in django, and the admin and all
> that goodness, but control display via php.
>
> I'm not really sure that its worth it though. I'm not a php developer,
> but there's got to be a php framework that is as simple to use as
> django as far as database work and an auto admin section is
> concerned... if not, i suppose it would be worth the hassle.
>
>
> On Feb 16, 8:13 am, TimSSP <tim.clar...@gmail.com> wrote:
> > HI,
> >
> > I'm looking into using Django to redevelop a website to handle dynamic
> > content and some social app functions. I am interested in knowing
> > whether django can work alongside php, we built a modest database to
> > work on news articles in php and are considering using facebook's api
> > for an application in the near future.
> >
> > I'm wondering whether the facebook would be able to use django on its
> > frontend or whether it would have to be php coded into that part of
> > the site. Any help / advice would be a great help, thanks
> >
> > Best wishes
> >
> > Tim
> >
> > email: tim.clar...@gmail.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to