Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I write functions to interact with the REST api in PHP and use them in theme code.

Lets say you have a page for location based doctor search. When the search form in this page is submitted, wordpress makes API calls to django backend where real search happens and a list of doctors is returned to wordpress. Wordpress then genereates html and send it to the browser.

Similar process for dislaying a specific doctor details.

The CRUD and other application logic for doctor data is handled in Django. And with rest API you can then create a web based UI or a mobile application.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: