5 ms·
It's probably part of the choosen language and framework, and certainly helps sales that it's not so easy to get it running. It's certainly not as simple to ge
by frik 9y ago
It's probably part of the choosen language and framework, and certainly helps sales that it's not so easy to get it running.
It's certainly not as simple to get started as with Nodejs npm or LAMP stack. But there are already easy to install discourse forum clones that use Node.js or PHP as backend language (use Google to find them).
Edit:
two of several clones that run on Node or LAMP stack (I am not related to any of them)
Nodejs: https://github.com/NodeBB/NodeBB https://github.com/NodeBB/NodeBB
PHP: https://github.com/flarum/core https://github.com/flarum/core
- cwyers 9y agoYeah, I know the web hosting landscape has changed since WordPress took off, but if the goal of Discourse was to be the WordPress of forums, using Ruby and Postgres instead of PHP/MySQL seems like a big misstep.
- penpapersw 9y agoWell also, they seem to have a weird idea of what "modernizing" a web app means. While it's true that traditional web forums have plenty of usability issues, I don't really think Discourse actually solves them. It just hides them with fancier ones IMO.
- CM30 9y agoAs was having the system not well suited to running on shared hosting accounts. That's because (for good or bad) the vast majority of websites are hosted on fairly cheap shared hosting accounts on large webhosts, where access to the server is heavily restricted and language choices are often limited to PHP/MySQL. WordPress (and most traditional forum scripts like phpBB) work fine in these situations. Just upload a few files, set up a database and run the installer to get the thing working. Discourse doesn't. It also generally isn't integrated into one click install software like Softaculous or Fantastico. This means that the audience using a typical shared host like Hostgator and clicking a button in their CPanel to set up their site can't easily use Discourse like they could WordPress. So yeah, that's an issue here too. Discourse just requires too much control over your server for most shared hosting accounts and can't easily be integrated into one click install setups/setup by merely uploading a bunch of files. So the mass market won't ever touch it.
- simplehuman 9y agoI think vps is the new web host. We have products like cloudron, yunohost coming up to serve that market.
- braveo 9y agoWhen Jeff Atwoord originally announced Discourse he claimed his biggest goal was to kill off PHP for good, and he wrote Discourse in Ruby specifically to convince everyone else to move off of the "one true holdout" that PHP still dominated... online forums. I'm honestly not a huge fan of Jeff Atwoods, and that started long before he started SO. To me it just feels like he's a bit too idealistic in his approach to things.
- jjeaff 9y agoFunny that he would say that. Co spidering the fact that a huge majority of ALL web based open source software seems to be PHP even today.
- iagovar 9y agoFlarum is not ready for production yet, and using NodeJS is far from the cheap stack of LAMP. Also, id like to hear what's the reasoning behind using MongoDB for a forum. I mean, I'm just learning this stuff but a forum seems to be a perfect case for a relational DB.
- YCode 9y agoI don't know about "perfect", it certainly can fit the relational mold though. I'll take a shot in the dark and say that the advantage of using a NoSQL platform to host a forum is that you can very quickly load all resources relating to a post by storing them in one database document. That does mean you probably need to polyfill certain functionality, but the traditional case for NoSQL is made by saying a blog can load a given post's comments, media, etc. with one query. Forums are a similar animal.
- iagovar 9y agoMmm, but then, why not use NoSQL for everything? I say again, I'm just a beginner into programming but it seems that PostgreSQL would require a shitload of work to really go slow. Also in forums you know your data schema, nothing will change in terms of what data you need.
- YCode 9y agoIt's true traditional databases require you to think through your solution before you go implementing it, but this is not necessarily a bad thing. NoSQL is great for prototyping and being productive fast, but that productivity comes with a lot of pitfalls. Pitfalls by the way that many devs have been blissfully ignorant of for decades because they have been insulated from them by normalized relational databases. Unless you are experienced with/aware of those pitfalls, I would almost make a blanket statement that a traditional SQL database should be the default solution for the backend until you can explain why NoSQL is a better fit for a given project. Also, what makes you think PostgreSQL is slow? What is "slow" to you?
- 9y ago