<div dir="ltr">Hello,<div><br></div><div><div style>in bodega we are still missing a feedback/comment system.</div><div style>The idea is to use an existing forum system in order to avoid</div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.18402862548828px">reinventing the wheel. After searching and experimenting with</span></font></div>
<div style><font color="#000000" face="sans-serif"><span style="line-height:19.18402862548828px">a few forum systems I came to the conclusion that <a href="http://www.discourse.org/">discourse</a>  </span></font></div><div style>
suits our needs better than anything else.</div><div style><br></div><div style>Discourse is written with rails, emberjs, redis and postgresql, so</div><div style>we are familiar with some of those technologies like redis and postgresql</div>
<div style>also emberjs is javascript so we are familiar with the language. The only</div><div style>new technologies are ruby and rails. </div><div style><br></div><div style>So a few words about ruby and rails (skip this one if you are familiar with them).</div>
<div style>Usually a lot of the modules of those languages are missing from our package managers so we end up with two questions</div><div style>1. how easy it is to build them</div><div style>2. if I build them, where will those end up(in which directory)?</div>
<div style><br></div><div style>1. discourse is using bundler so a simple `bundle install` does the job.</div><div style>2. if you don't want to pollute you /usr  you can use rvm, which installs ruby in your home directory.</div>
<div style><br></div><div style>About rails, its a framework which is based on the mvc(model view controller) concept and it has its way of structuring web applications, so the developer has a lot information out of the box. Also the rails apps doesn't require a web server in to order to work and in a production level they are not limited a specific web server.</div>
<div style><br></div><div style>(continue to read, if you don't:)</div><div style><br></div><div style>The best thing in discourse is the architecture of it, which makes it suitable for us.</div><div style>So, discourse is a rails server which provides a json api :)</div>
<div style>to emberjs which does almost all the ui stuff. So the <a href="http://try.discourse.org/categories">http://try.discourse.org/categories</a> has its api in <a href="http://try.discourse.org/categories.json">http://try.discourse.org/categories.json</a></div>
<div style><br></div><div style>The suffix .json is valid for all of the urls. I believe that it can't be better, we have an api for us, which is part of the basic architecture so we can be sure that</div><div style>this api will continue to work and that it contains most of the functionality of discourse.</div>
<div style><br></div><div style>Waiting for you comments..</div><div style><br></div>-- <br><div dir="ltr">Giorgos Tsiapaliokas (terietor)<br><br><a href="http://terietor.org" target="_blank">terietor.org</a></div>
</div></div>