如何根据数据库结构创建动态菜单 [英] How to create Dynamic Menus depending on database structure

查看:72
本文介绍了如何根据数据库结构创建动态菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何根据数据库结构创建动态菜单.

How to create Dynamic Menus depending on database structure

推荐答案

这是个好主意,没有新内容.请阅读有关此架构模式的信息:
http://en.wikipedia.org/wiki/Naked_objects [ http://en.wikipedia.org/wiki/Naked_Objects_MVC [ http://www.nakedobjects.net/ [ ^ ],
http://downloads.nakedobjects.net/resources/Pawson%20thesis.pdf [ ^ ].

这仅仅是为了了解这个想法.您不必使用整个框架或任何特定的代码.您可以只使用自己的逻辑,通过ADO.NET和ASP.NET来自己做所有事情.如果您熟悉这些主题,则可以这样做.如果没有,那么快速回答将无济于事.

基本上,这只是工作.您需要查看是否可以做到或尝试一下.如果您遇到任何问题,请提出更具体的问题;我们很乐意为您提供帮助.

—SA
This is a good idea, and there is nothing new in it. Please read about this architectural pattern:
http://en.wikipedia.org/wiki/Naked_objects[^].

There is a framework following this pattern:
http://en.wikipedia.org/wiki/Naked_Objects_MVC[^],
http://www.nakedobjects.net/[^],
http://downloads.nakedobjects.net/resources/Pawson%20thesis.pdf[^].

This is just to get the idea. You don''t have to use a whole framework or any particular code. You can do everything by yourself using just your logic, a database via ADO.NET and ASP.NET. If you are familiar with those topics, you can do it. If not, a quick answer won''t help you.

Basically, this is just work. You need to see if you can do it or just try. Ask more specific questions if you face any problems; we would gladly try to help you.

—SA


这篇关于如何根据数据库结构创建动态菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆