Not a programing question
-
i am making a SW for one of the hospital in my area and my confutation is about the UI related. I have two option as per my design. either i can send a complete Menu from my control layer to UI and inject the full menu control in my Main Host App or pass a XML with details like name and module to load and create a menu in my Host App and display it. Both has their pros and cons. but i am bit confuse about which option is better. Just need some third party view on this. Which option do you guys think is better EDIT: i am using WPF and prism with Unity bootstrapped and sql express as backed. Access to different module can be configured in XML
-
i am making a SW for one of the hospital in my area and my confutation is about the UI related. I have two option as per my design. either i can send a complete Menu from my control layer to UI and inject the full menu control in my Main Host App or pass a XML with details like name and module to load and create a menu in my Host App and display it. Both has their pros and cons. but i am bit confuse about which option is better. Just need some third party view on this. Which option do you guys think is better EDIT: i am using WPF and prism with Unity bootstrapped and sql express as backed. Access to different module can be configured in XML
I recommend the XML form as this will make it easier to extend your server (service) to support UIs on other platforms (e.g. mobile) in the future. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
I recommend the XML form as this will make it easier to extend your server (service) to support UIs on other platforms (e.g. mobile) in the future. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
i am making a SW for one of the hospital in my area and my confutation is about the UI related. I have two option as per my design. either i can send a complete Menu from my control layer to UI and inject the full menu control in my Main Host App or pass a XML with details like name and module to load and create a menu in my Host App and display it. Both has their pros and cons. but i am bit confuse about which option is better. Just need some third party view on this. Which option do you guys think is better EDIT: i am using WPF and prism with Unity bootstrapped and sql express as backed. Access to different module can be configured in XML
-
i am making a SW for one of the hospital in my area and my confutation is about the UI related. I have two option as per my design. either i can send a complete Menu from my control layer to UI and inject the full menu control in my Main Host App or pass a XML with details like name and module to load and create a menu in my Host App and display it. Both has their pros and cons. but i am bit confuse about which option is better. Just need some third party view on this. Which option do you guys think is better EDIT: i am using WPF and prism with Unity bootstrapped and sql express as backed. Access to different module can be configured in XML
Since you're using WPF, why not do it the MVVM way? http://wpftutorial.net/Menus.html[^] http://www.julmar.com/blog/programming/using-mvvm-with-menus-in-wpf/[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I second Ravi's suggestion, the app that displays the menu should decide how it wants to do it.
well even i was thinking the same but in future i wanted to extend the functionality to third party also. As you know my plane is to provide not only the menu but the action also. in case of plain xml it's become really easy for anyone to manipulate the data which i don't want. I guess I'll have to come up with some encrypted XML to avoid the data manipulation situation.
-
Since you're using WPF, why not do it the MVVM way? http://wpftutorial.net/Menus.html[^] http://www.julmar.com/blog/programming/using-mvvm-with-menus-in-wpf/[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
well even i was thinking the same but in future i wanted to extend the functionality to third party also. As you know my plane is to provide not only the menu but the action also. in case of plain xml it's become really easy for anyone to manipulate the data which i don't want. I guess I'll have to come up with some encrypted XML to avoid the data manipulation situation.
CS2011 wrote:
encrypted XML
I had a need not long ago for storing FTP credentials for remote customers to use in our applications. The applications read these from an XML document that is available on our public web site. The credentials are encrypted, then converted to ascii (3 digits per char) to avoid problems with invalid characters. These are stored under unassuming tag names. Works great, and would prevent tampering.
"Go forth into the source" - Neal Morse