# Some basic questions about discourse and rails

**URL:** <https://meta.discourse.org/t/some-basic-questions-about-discourse-and-rails/66852>\
**Category:** Development\
**Created:** [26.Июль.2017 13:06:38 UTC](https://meta.discourse.org/t/some-basic-questions-about-discourse-and-rails/66852 "2017-07-26T13:06:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Alavi1412](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alavi1412/32/67721_2.png) [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Post date:** [26.Июль.2017 13:06:38 UTC](https://meta.discourse.org/t/some-basic-questions-about-discourse-and-rails/66852/1 "2017-07-26T13:06:38Z")

</div>

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)

---

_[View the full topic](https://meta.discourse.org/t/some-basic-questions-about-discourse-and-rails/66852)._
