4 ms·
This is great advice! What do you think about routing? angular has it's own router, so can Go have. What to choose?
by thewhitetulip 10y ago
This is great advice! What do you think about routing? angular has it's own router, so can Go have. What to choose?
- dfsegoat 10y agoI can only tell you what I know from experience: We use angular as an MVW for front-end We use django + django-rest-framework for back-end. It's important to understand that "routing" in angular is a bit "synthetic" - it's not actually requesting much from the server after index.html loads (it only changes address etc as part of the routing). So the routing is totally separate on the front-end, assuming you are using a back-end to provide the data.
- DCoder 10y agoYou don't choose between those two routers, they are not replacements for each other. At the risk of stating the obvious, the Angular router handles routing for the Angular frontend, the Go router handles routing for the Go backend (the initial page load, the AJAX calls made from Angular to get data...).
- thewhitetulip 10y agoThanks!