Question whether to use Angular for single page faceted search application?

28 views
Skip to first unread message

Paul Bormans

unread,
Jul 6, 2015, 5:06:13 PM7/6/15
to ang...@googlegroups.com
I've spend some time now in setting up a faceted search website using django with haystack/Elasticsearch. Now for the frontend i developed a js lib that observes filers (checkboxes/selects) then posts for updates (results, new facet counts, etc...) and the js lib makes those changes. Now mainly the js part i don't like; it's fragile and also i don't have tests in place for the frontend. Now i started reading about frontend framework and i wonder if i should be using a framework such as Angular i though to post this question to ask the experts ;)
Would angular be a fit with django in the backend?
Thanks for any tips,
Paul

Sander Elias

unread,
Jul 7, 2015, 1:25:11 AM7/7/15
to ang...@googlegroups.com
Hi Paul,

You can put tests on any JS file, but you have to do it yourself. Angular helps you with this, mostly by forcing you to use their injector, which is great for testing.
Angular is backend agnostic, so it's a great fit for any backend. 

Regards
Sander
Reply all
Reply to author
Forward
0 new messages