No, you don't need to migrate your site (although, after using Python and Django you might just want to...). An API should return responses that are generic in format, so any type of client (PHP, C++, Obj-C, etc.) can consume them (without knowing or needing to know what the API is written in).
To get started, check out: 1) Django Rest Framework http://django-rest-framework.org/ 2) TastyPie http://django-tastypie.readthedocs.org/en/latest/ JDB On Tue, Dec 17, 2013 at 2:14 PM, Tyler Meche <tmech...@gmail.com> wrote: > Hey! > > I have recently created a website, using PHP. No framework or anything > else was used, just code. > > Now, I need to make an API for this website. It was suggested that I use > Django as a framework. I was hoping to just be able to make an API in > Python, using Django, without having to move my site that was already > created into the Django framework and redo it in Python. > > Is it possible for me to have my site sitting by itself, and the API for > the site in Django? Or do I need to have my site and the API all in Django? > > I am not the most experienced web developer, and I have not used Django > before. I apologize in advance if this is a dumb question. > > Thank you in advance for any help that can be given! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/7c0e2071-a6d9-431c-a357-da9f55987227%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPMFOb5oFmSJEPRriUwv70ovUTqVm%3D4-uBkAzKQTO66yw-UFyQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.