Created 25.02.2019 08:19:53, read: 251 times
While researching forum software for a browser game website, I stumbled upon this cool software, which fits my requirements almost perfectly (at least as advertized). Plus I know how to code x86/x86_64 asm and have done a couple of things with it myself.
There's one thing I require though: I need to use a single login system (with Google and Facebook sign-on support for higher conversion rates) for both the forum and the website. I have not decided on a web framework for the website yet (maybe I'll just code it in ASM ;)), but in any case I either need to have an API to query ASMBB user status (to log them into the website automatically with their forum credentials) or to add ASMBB users programatically (to log them into the forum automatically with their website credentials).
I don't mind coding something myself, but maybe there's a system in place that I could use? I haven't looked at much of the ASMBB code yet. Can this be done with a plugin?
By the way, how scalable is the sqlite database? Have you run into any capacity problems so far? I'm going to use my own postgres db for my data but would there be a way to swap out the forum DB if needed?
Well, nothing of this is available out-of-the-box. A real plugin interface, based on dynamic libraries is planned, but not implemented yet.
But implementing at least part of these requirements seems to be not so hard. The internal structure of AsmBB allows easy addition of new functions and in fact all functions of AsmBB are some kind of plugins, but in source code form. Every function resides in its own source file and has standard interface to the engine.
Authentication through some authentication protocol such as OpenID, OAuth or similar (facebook, google, whatever) is not implemented mainly because of my total ignorance about these protocols and how they can be used at all. In addition, I have some doubts about the privacy protection when using such protocols - probably again because of my ignorance on the subject.
The SQLite database is not scalable at all. I mean you can'r spread it in several servers or similar. But you can setup AsmBB and sqlite on one dedicated server and the web server and other parts of the system on another server(s).
This demo installation of AsmBB is working on a VPS with 1GB of RAM, 1 CPU core (at 2.4GHz) and can serve several thousands of visitors simultaneously. The tests have been made during several slashdot effect events, but never with real users activity. The load, according to my tests is divided approximately 50%-50% between the template rendering engine and the sqlite database.