[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

DHTML or DB Menu

hi experts,

I'm building site which has left menu and I'm not using frames rather simple <JSP include> in each file which contains left menu.

I need your views to know if it worth to do menu in DHTML script or DB fetch Menu. Whats advantage and dis-advan. over each other.
Keep in mind that  Menu table are in DB which is used in Admin. Pages. (Other then client)

thx,
PH
0
princehyderabad
Asked:
princehyderabad
  • 2
1 Solution
 
suprapto45Commented:
Hi,

I assume that the DHTML script is just the static menu where it is basically a HTML file. Please let me know if I am wrong.

You should think it in a very high point of view. If the menu is likely to be changed a lot in the future, and you need to manage many roles to view the menu such as if the user is admin, he can see menu X,Y and Z but if he is not admin, he can only see X and Y. Then I think that you should go to DB Fetch Menu but bear in mind that this will be very complicated.

However, if your application is not complex enough and the menu is less likely to be modified, just go for DHTML Script (JavaScript) - static menu in HTML and that should be sufficient.

You need to look at the deadline of your project as well. Go for DHTML menu if you have tight deadline as it is much easier.

David
0
 
princehyderabadAuthor Commented:
No there would be no security restriction on any part of menu. As its education institute site. Its open for all to view. There is possibility menu may change but again I can change one include jsp file and it will effect all. What I was trying to find it fast download ? and server complication time if <include JSP menu> ?
Even I thought to give shot with DHTML or just a basic table display.

0
 
suprapto45Commented:
It would definitely be faster if it is DHTML. However as the server nowadays are very powerful, they should not have much differences.

David
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now