Correct, but the basics are pretty much the same.  Think of a post request 
to be analogous to a form submit.  Code-wise on the server doesn't change 
too much, and django-rest-framework helps a great deal with that.

The difficult part is to do this client-side.  There are three primary 
frameworks in JS to do this: angular, react and vue, and each have a 
vibrant community around them and excellent documentation. However, just 
like with django and python, its best to know javascript before you start 
with a framework.

Couple things to get famiiar with:


   - API - Know how to build a REST API and the usages of the HTTP 
   methods.  
   - API - Return correct error codes with incorrect requests, don't just 
   tag a 200 and expect the client to parse the error message
   - JS - Get comfortable with promises and how they handle 
   asynchronicity.  They're everywhere and you need to know them.
   - JS - ES6 makes things alot easier.  Use it, and be familiar with using 
   babel and polyfills to extend support to older browsers that may not have 
   the JS features you're using.


-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b699ccc0-0e39-4e21-856e-d7c14e86d79b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to