Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JForum as a Backend service

 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Coderanch currently runs on JForum, so I believe it's the best place to post queries on it

We are currently building a web application and like to have the forum feature in our application.

I have a few questions regarding JForum -

1. Can we build our custom API's in JSP and use JForum functionality only as a backend service? Say if you think this current Ranch page developed in JSP and when I click reply it call's JForum's reply (service) method. Could I use only the logic / backend service of the JForum as a whole and not the UI?

2. If #1 is possible is there a Java Doc API for services listed by JForum (I din't see anything on their website)

3. If #1 is not possible what steps should I do next to modify the JForum UI to a custom need. I read from other Ranch threads that FreeMarker is used as JForum's UI.

I was able to successfully install JForum on Tomcat & MySql as backend.

Also post any other advise / study guide on JForum.

Thanks much!
John Jai
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JForum 2 (which our forum software is based on) has very rudimentary mail and REST APIs, of maybe 5 or 10% of the functionality; I don't recall that being documented anywhere. What the upcoming (for 2+ years now) JForum 3 will have is a question for the JForum developers.

Yes, JForum 2 uses FreeMarker - which we knew nothing about when we switched, but it's easy to pick up. JForum 3 was supposed to be based on JSP. Nothing stops you from heavily modifying the UI to your heart's content (like we did). For example, this forum now supports two interfaces - the web UI you see here, and an alternative mobile UI.
 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf.

Ulf Dittmer wrote:Nothing stops you from heavily modifying the UI to your heart's content (like we did). For example, this forum now supports two interfaces - the web UI you see here, and an alternative mobile UI.

The above means you were able to successfully build custom UI interfaces using Freemaker. Correct?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a way, yes.
 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic