Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Understangind JForum's View Layer

 
Ranch Hand
Posts: 17424
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys!!!

I'm studying JForum and would like a north to understand the JForum's View Layer.

I think it's not JSP, is it correct?

Taking a look around forum_login.htm page, for example, there are lots of tags like these:



I'm not an expert about it, and would appreciate any orientation... some Google keywords are welcome!!!

[ ]'s
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's FreeMarker - http://freemarker.sf.net

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But how do they bring data from the backend ?
how are they making connections in between front-end and back-end ?
for e.g. ${JForumContext.encodeURL("/rss/forumTopics/${forum.id}")}
 
author & internet detective
Posts: 40709
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

abhishek egain wrote:But how do they bring data from the backend ?
how are they making connections in between front-end and back-end ?
for e.g. ${JForumContext.encodeURL("/rss/forumTopics/${forum.id}")}


That URL takes you to RSSActon in the code. That's the front end layer in Java. It makes calls to the relevant DAO which is the back end.
 
abhishek egain
Greenhorn
Posts: 8
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne..!!
Took the reference from your reply and did a little bit of digging. Now the flow is crystal clear to me.
modulesMapping.properties is basically responsible to map the particular htm to the corresponding DAO.
 
Jeanne Boyarsky
author & internet detective
Posts: 40709
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right. Glad you see the flow now. That's the key to understanding the software - knowing where to look!
 
abhishek egain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually i am working on the design change of the existing JForum view layers.
I have already initiated a topics here but unfortunately didn't get any reply on it
It would be so helpful if you could put some of your insights into it.
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic