I worked with discourse about 10 months and created some plugin for this. but I have still some questions that I didn’t find the answers during these 10 months and searching in web. So I decided to ask them here Because I see many discourse and rails expert here.
my questions:
1-What is the relation between emberjs, handlebars and html.erb files?When we saw a page,(for example main page)which code is loaded?
2-Who exactly handle the discourse Front-End? I know MVC and I know there is a view that controlled by controller but I don’t know What is the view in discourse? (Are they just in app/views
?)
3-how to create a plugin to update itself after sometimes without refreshing the page? When I receive a like, a new notification will appear near my avatar after a few seconds without refreshing the page. What should I do to create a plugin to update it self after a few seconds and of course I need it not to slow the page.
4-To develop good front-end plugin (that can make any change in rendered pages), Which programming language should I know(except CSS )?(My guess is EmberJS for this question)