- Edited
While having a chat with a few people including @dsgnr and @Davis on Gitter I realized that the JavaScript MVC nature of Flarum can be hard for people coming from other forums or WP to understand, in particular when it gets to editing "templates". There is simply no such thing here ?
So I wrote an article on my blog where I try to explain the differences: <https://blog.clarkwinkelmann.com/2016/08/flarum-templating>
Here's a copy of the conclusion:
- The visual interface of Flarum is a JavaScript MVC application powered by Mithril
- It talks to a PHP application which just sends data as JSON, not as HTML
- The PHP application does uses Views, but only to render the JavaScript application
- The JavaScript Views are organised as Components, which are placed in a hierarchical way on the page
- To change how something looks like, you have to edit the Component responsible for it
- You can add new Components as child of existing ones
Any suggestion to improve my article is welcome ?