|
OK - thanks.
When I started looking at MVVM I was new to WPF too - and read tons, but really had to do some hands on development for it all to gel.
I ended up not using any framework, but rolling my own, which is sort of am M-V-VM-C .
I wrote some articles about it if you are interested - see my sig.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
One small thing. The article slightly leads you astray on something. MVVM is not a presentation pattern, it's an architectural pattern. That does have implications.
|
|
|
|
|
Pete O'Hanlon wrote: MVVM is not a presentation pattern
Exactly. I have had this realisation now. I am planning to halt writing code as of now and work on a small POC to get to know things better. Another reason for the pause is that I am making heavy use of DLR and I have started to believe that the way I had designed and the way I am implementing it is going to result in:
1. Large start up time.
2. Complex caching mechanisms involved.
3. More casting and conversions that I can live with.
4..n: Many more.
Need to get back to drawing board.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
d@nish wrote: I am making heavy use of DLR
I don't see how using the Docklands Light Railway has any effect - although the start up time could be a little longer!
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
+
|
|
|
|
|
MySql? No thanks. I'd rather place my trust in Oracle.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
My sarcasm detector seems to be broken.
But yes, I agree.
|
|
|
|
|
Q: What do squirrels give for Valentine's Day?
A: Forget-me-nuts.
Q: What did the valentine card say to the stamp?
A: Stick with me and we'll go places!
Q: What did the stamp say to the envelope?
A: I'm stuck on you.
Q: Who sends a thousand valentines cards signed', guess who' ?
A: A divorce lawyer.
Q: What did the boy octopus say to the girl octopus?
A: I wanna your hand, hand, hand, hand, hand, hand, hand, hand, hand, hand?
And the question on everyone's mind
Q: Do skunks celebrate Valentine's Day?
A: Sure, they're very scent-imental!
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
Don't give up the day job.
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 – ∞)
|
|
|
|
|
I'm a programmer, not a comedian!
As if that wasn’t obvious.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
I think it shows, yes...
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 – ∞)
|
|
|
|
|
BillW33 wrote: Q: What did the boy octopus say to the girl octopus? A: I wanna your hand, hand, hand, hand, hand, hand, hand, hand, hand, hand?
Eight of those were hands. Two of them were her ....
|
|
|
|
|
Hands, he forgot to mention, said octopi reside near Fukushima Japan.
|
|
|
|
|
Well, yeah, got to have all the bases covered.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
|
That makes me want to get back to star gazing...
|
|
|
|
|
I don't know about you but i see a baby dragon in the picture.
The picture is great. Thank you, i am going off with the greatest last viewed post Until Monday( )
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Some days you are the Roadrunner some days you are the Coyote, I have had a very awkward 'thing' this week as well as moving/not moving/production delivery to make (finding the tools for it). The thing was to improve/debug a test rig written in an unpopular language (look at my previous posts in the lounge to figure out what) which I am being forced to use. I asked a question which reflection could have been better worded and got a reply from Sergey Alexandrovich Kryukov of basically rtfm which was not a bad idea, As I managed to hide for a day and a bit and get the darn thing working...no info, badly written & useless commented code. Never mind I get to play with the next instrument next week...
|
|
|
|
|
glennPattonWork wrote: no info, badly written & useless commented code
Unfortunately, that is not a language issue, it is a developer issue.
I have seen all of these in multiple languages: FORTran, C, BASIC (whatever variation).
In FORTran, it was the use of a language feature (multiple return), but no explanation as to what is was doing. Since this was before online documentation and printed manuals were scarce, I asked the developer about it. His response, repeatedly, "It's a multiple return." Finally, I said, "That's like saying a car is a car, but if I don't know what a car is, that doesn't help." His next reponse, "I'll rewrite it." Now, there was nothing wrong with the code, just with the lack of documentation or explanation.
Tim
|
|
|
|
|
Mmm, the Elephant-er who wrote this was not a programmer (I mean Matrix animations, swirling patterns on the form & best yet fart sounds when something went wrong & Star Trek transporter sounds when something went right ) The comments were there they were just wrong such as the Gem 'This timer ensures the right response in a button click with no timers in! the instructions were to "just make it work", my response was 'how?, voodoo?' , 'oh, is that bad', 'no its worse than that'
Quote: Unfortunately, that is not a language issue, it is a developer issue.
I have seen all of these in multiple languages: FORTran, C, BASIC (whatever variation). Ahh yes, but some languages make it easier to write cr@p and compile C will let you create a mess but you have to create it your self and know how you did, other languages will let you write a mess compile it every freekin time!
|
|
|
|
|
In regards to FORTRAN multiple return, do you mean "alternate return" by chance. These were were used as way to deal with errors. There is plenty of documentation available online if search for: "FORTRAN alternate return".
|
|
|
|
|
For multiple return, this was back in 1987; as I said, online documentation was not available.
A multiple return from a subroutine provided, as the name implies, multiple resume points when the subroutine ended.
For example, BLAH(InVar, 10, 20, 30).
Within BLAH, there was a RETURN 1, RETURN 2, RETURN 3.
RETURN 1 would resume at label 10, RETURN 2 at label 20, RETURN 3 at label 30.
If the naming has changed in the last 27 years, then it may be an alternate return, but, I'm not using FORTran now and the example given was an example of a user, not meant to be language specific.
|
|
|
|
|
|
|