Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Understangind JForum's View Layer

 
Ranch Hand
Posts: 17424
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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: 39986
806
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • 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
  • 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: 39986
806
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
What are you doing in my house? Get 'em tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic