|
Kornfeld Eliyahu Peter wrote: What shocked me, that some of the responses make the guy into a complete idiot And what's idiotic about standing near a train that's doing about 10mph?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
For some reason I now have a song stuck in my head.
Quote: Dumb ways to die
So many dumb ways to die
Dumb ways to di-ie-ie
So many dumb ways to die
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
|
|
|
|
|
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
|
|
|
|
|
Thanks. For I input. Even I was thinking the same.
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
|
Thanks for links. I am following the MVVM only. My question is somewhat related to How my Model View will populate the Model from data which is receives from say a service.
|
|
|
|
|
I created jQuery TriggerTracker to help track down problems related to triggering and handling jQuery events.
It has turned into a project that has saved me and others on my team hundreds of hours in debugging. I recently made it available for everyone on github.
https://github.com/intervalia/triggerTracker
TriggerTracker is a tool for tracking jQuery events. It is a single JavaScript file that, when loaded, provides output to the browser's console related to jQuery event triggering and event handlers.
How to use triggerTracker:
Just load triggerTracker as soon as possible after loading jQuery.
<script src="jQuery-1.11.0.min.js"></script>
<script src="trigger-tracker.js"></script>
|
|
|
|
|
This is not the right place for this post: I'd suggest that a much better idea would be to write it up as an article: http://www.codeproject.com/script/Articles/Submit.aspx[^] - that way it is preserved for posterity, and you can get useful feedback on how it works, suggestions fort improvements, and so forth.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Suggest you post this in the javascript forum[^] or the Free Tools Forum[^]
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Since when did asking a homework question in QA become so frowned upon?
I agree when someone has not shown any effort that it can be hard to help them and I personally don't want to write all the code for them; however, too often I see people jump to the conclusion that if it is homework they don't deserve help.
Whether it is homework, regular work, or hobby if someone asks a question they should all be treated the same. Help if you can.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
If it's homework, isn't the general idea for the student to do the work themselves, and take any problems to the teacher? Unless the class is called "How to get other people on the Internet to do your work for you", then the answer needs to be your own work.
I can see the argument for providing hints and general guidance if someone is genuinely struggling, but when was the last time you saw a homework question that wasn't "here's the assignment, it's due tomorrow, send me teh codezz, it's urgent"?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Quote: If it's homework, isn't the general idea for the student to do the work themselves, and take any problems to the teacher? Sure. But don't students often work together, ask their parents, have tutors, etc? I see no problem with them asking us here as long as it isn't, "hey, do my work for me."
And by the same argument, aren't you supposed to do your own work at work (employment)? You are getting paid after all so why help someone getting paid and not help the one learning?
Quote: but when was the last time you saw a homework question that wasn't "here's the assignment, it's due tomorrow, send me teh codezz, it's urgent"? That definitely is a problem.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Richard Deeming wrote: when was the last time you saw a homework question that wasn't "here's the
assignment, it's due tomorrow, send me teh codezz, it's urgent"?
Post not directed to me, but I can answer that question.
Last week, someone posted a question asking for help and stating it was homework.
The responders didn't supply code, just advice; the OP was asked to post their code if the hints didn't resolve the issue.
The code was posted the next code and someone replied with a clearer direction - the logic was good, the issue was with the declarations.
I commended the OP for saying it was homework and being honest about that.
Tim
|
|
|
|
|
Which is a perfect example of how it should work. However, from your description, it doesn't sound like anyone jumped to the conclusion that the OP didn't deserve help because it was a homework question, which is what Ryan was complaining about.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I don't think it's about whether it's homework or something else... it's about putting in some effort then being able to ask rational questions afterward. I'm sure a REALLY high percentage of questions in Q&A are homework, and a lot of them get help, but it's easy to see whether they've actually put some effort into finding an answer first.
|
|
|
|
|
It shouldn't be about homework, but I often see people go to that response first.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
The problem with homework questions is where the line between help and solution lies. It can be very thin and that makes a big problem, as - IMHO - we should not provide solution. So we have to understand what the teacher told him and try to explain him the same thing with different perspective. However if he does not provide details we have a problem to help him...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Quote: we should not provide solution. But why not? We provide solutions to people who got a job because they told someone they could code. Why the difference?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Because the usual idea of homework is not to produce a solution per se but to learn how to produce a solution.
Give a man a fish and he will eat for a day. Teach a man to fish and he will be arrested for fishing without a license.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Quote: Because the usual idea of homework is not to produce a solution per se but to learn how to produce a solution. I'm not disagreeing but isn't that the same for employment? I don't see why anyone is drawing the line between the two except for prejudicial reasons.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Quote: isn't that the same for employment? Absolutely not. When you are employed, you are employed to produce solutions. if you learn a little as you do this then all well and good, but this isn't the main point.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|