• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • 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)

  • 2
1 Solution

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.

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.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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