I have used django for few projects and used heroku to deploy. I have been looking into front-end frameworks such as Ember, Angular and was confused as to how it will integrate with a django project. Reading some Docs, it appears i need to have developed a REST api for my app using the backend framework in order for Javascript framework to communicate with the database. In this case the backend mostly works as a thin layer that provides access to the database. But what if I use something like parse and their Javascript API, would I even need a Backend Framework like Django?
1
There are 1 best solutions below
Related Questions in ANGULARJS
- Angular Show All When No Filter Is Supplied
- Using pagination on a table in AngularJS
- State with different subviews
- Getting and passing MVC Model data to AngularJS controller
- Implementing prerender.io middleware in sails.js
- Token based authorization in nodejs/ExpressJs and Angular(Single Page Application)
- AngularJS, Google App Engine and URLrewrite
- send data from table to another page into forms
- How to write tests for classes with inheritance
- angularJS sending OPTIONS instead of POST
- Receiving POST from external application in AngularJS
- Metaprogramming AngularJS Filters
- Reload List after Closing Modal
- Why is my angularjs site not completely crawlable?
- Why is separation of JavaScript and HTML a good practice?
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in EMBER.JS
- Handlebars or ember blocking href to external url
- If I use renderTemplate how to refresh route in ember?
- Calling controller action from action in component
- How to save select state in url with Ember.js?
- Ember.js REST Auth Headers
- Ember.js: select state not saved in URL when reload page
- Ember select prompt value is displayed though selection property is not null
- Direction-aware transition with Ember Liquid Fire's {{liquid-with}} helper
- Ember Deprecation: lookupFactory was called on a registry
- How to create a modal confirmation dialog before delete with ember-cli
- Inserting external parameter in map function with ember
- Setting controller property from inside a component
- Dynamically change link-to routeName
- How to do the Synchronous call in the Ember js
- Ember navigates to a show route, GETs the wrong URL (/tools instead of /tools/1)
Related Questions in FRONTEND
- Jquery Resize: how to check if a screen has been resized at any point
- In javaScript during a while loop how do you make the program stop to get user input?
- Nesting flex box
- Efficiently toggle visibility on multiple images
- Link remains :hover'ed when opened from JS
- Load UI app in memory without opening browser
- Can I have css of a <span> change when <span> can't fit in screen width?
- How does JS front-end framework (ember, Angular etc.) work with back-end frameworks(such as Django , Rails etc.)?
- Levels of abstraction on AngularJS Architecture
- Force all options of a select list to appear as expanded on click
- Front-end JavaScript program
- SVG as icon font alternative
- Export data from JSON to excel by preserving data type
- Could two projects use same database?
- What does it mean Bootstrap is compiled?
Related Questions in JAVASCRIPT-FRAMEWORK
- How does JS front-end framework (ember, Angular etc.) work with back-end frameworks(such as Django , Rails etc.)?
- Progressive Web App Authenticate to API
- Can i know about any pending state transition in react before performing an operation?
- RevealJs like rotation in ImpressJs
- Ember - retrieve selected menu item and load a template accordingly
- Ember.js Get Model in View
- IDE for yeoman framework
- Backbone.js change event not firing
- Ext js Updating the total count of a paging toolbar on the fly
- Javascript: How to put a simple delay in between execution of javascript code?
- mootools: I want to implement architecture similar to Big pipe in Facebook
- javascript: Which is the powerful javascript compressor
- What is the danger in including the same JavaScript library twice?
- javascript: Which is the powerful Javascript - Framework to fulfill my needs
- Mootools: How to stop browser from freezing when Request is sent
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
How frameworks like Django will work with frameworks like Angular or Ember depends a lot on what you want to do with it and what your view on architecture is in general, so it's hard to give a one true answer. But in general no, you don't need one, but you still might want one.
You don't need one because as you surmised frameworks like this want a REST API (although it doesn't have to be specifically REST-like that is definitely the most common way of doing it), so you wouldn't be using Django templating or anything like that.
But one of the good part of using these frameworks, and the part that makes the question impossibly to answer, is that they don't care about the backend!
Why does this matter?
When backend and frontend is properly separated you get a great deal more flexibility on both ends. As long as they work with the API you can build them however you see fit. If you find Djangos ORM nice to work with you can use it to create the API. If you feel like using something super lightweight like Flask you can do that. If you want to host a Java app on AWS you can do that, etc, etc.
The key is that you can let your backend needs determine how you build the backend, and your frontend needs determine how you build the frontend. That's why the question can't be answered. You strictly speaking don't need Django or any smilar framework but depending on what the backend is going to do you might want some of the features from them, like the ORM or the general structure.
So look at what your backend needs to do in order to serve the API and choose based on that.