Fractal Ideas

Blog

June 14, 2018 8 min read

Making React and Django play well together - the “single page app” model

This is the third part of my discussion of the trade-offs involved in choosing an architecture for integrating React with Django.

I’m focusing on the alternative between two models:

  • The “single page app” model: a standalone JavaScript frontend makes API requests to a backend running on another domain;
  • The “hybrid app” model: the same backend serves HTML pages embedding JavaScript components and API requests.

After the “hybrid app” ...

Read more  →

May 10, 2018 11 min read

Making React and Django play well together - the “hybrid app” model

Last month I discussed the trade-offs involved in choosing an architecture for integrating React with Django.

I described an alternative between two models:

  • The “single page app” model: a standalone JavaScript frontend makes API requests to a backend running on another domain.
  • The “hybrid app” model: the same backend serves HTML pages embedding JavaScript components and API requests.

I promised that I would describe how to implement each model ...

Read more  →

April 12, 2018 9 min read

Making React and Django play well together

Building a frontend with React and create-react-app and the corresponding backend with Django is a popular combination.1

Indeed, even though the Node.js ecosystem is growing rapidly, JavaScript backend frameworks still have to catch up with Django or Ruby on Rails in terms of features, quality and stability. Python provides a more convenient ecosystem for integrating with many third-party systems.

React and Django are great choices in their respective spaces. Both also ...

Read more  →

django (3) react (3)