Re: Django and php can they mix?
> 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. If it really is modest it may well be as fast to just redo it in Django. Otherwise you could consider doing it in stages possibly using Django for admin to start: http://jeffcroft.com/blog/2006/jul/14/django-admin-your-php-app/ I'm about to do just this with a large PHP based site. Once admin is done I plan to start adding new site features using Django and potentially phase out the PHP ones if needed. > 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 That question doesn't read very clearly but this may have answers: http://wiki.developers.facebook.com/index.php/PythonPyFacebookTutorial Cheers, Nick --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Django and php can they mix?
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, garagefanwrote: > > 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 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 -~--~~~~--~~--~--~---
Re: Django and php can they mix?
check out www.codeigniter.com, excellent PHP framework V On Feb 17, 10:14 am, garagefanwrote: > 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. > > 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 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 -~--~~~~--~~--~--~---
Re: Django and php can they mix?
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. 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, TimSSPwrote: > 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 -~--~~~~--~~--~--~---
Django and php can they mix?
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 -~--~~~~--~~--~--~---