Hi,
Can I
exchange JForum's backend against a custom backend that I design myself? How hard would it be (e.g. developer months)?
This might seem utterly crazy, I realize, but the situation is this that the company where I work has already developed a server, a client (which is somewhat similar to a Web browser, but does very different things (it runs [code stored in our database] on an user's computer)), and uses a data base with our own custom table layout and our own manner of storing users and data values etcetra. For the forum to be available in our client application, we need to store the forum data in our regular database tables, so our server can retrieve data and deliver to the client. We would store at least forum user data and
thread messages and [forum and sub-forum hierarchy information] in these tables.
We also want a Web version of our forum -- hence my interest in JForum, and in modifying the JForum source code.
I know nothing about the internals of JForum, but my wild guess is that we would attempt to exchange [all JForum classes that write to database] with our own classes, which instead store data in our own tables.
( Some details:
1. Our database tables store data in a virtual folder hierarchy: There is a table that looks something like FOLDERS( folder_id NUMBER, child_folder_id NUMBER ).
2. We store files, text, binary data and images in these folders. The data value table looks something like: DATA( data_id NUMBER, data_value BLOB, folder_id, ...)
3. We also have a USERS table.
Of course we could modify the database structure if needed, e.g. add some random columns to the USERS table :-)
)
(Again, I hope this is not too crazy.)
Kind regards,
Magnus
[originally posted on jforum.net by LeoMaheo]