|
Mladen Janković wrote: So when was the last time you said something like "thanks god it was just a crap, not a fart"?
Last time I had to pay to use a public toilet?
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 – ∞)
|
|
|
|
|
Septimus Hedgehog wrote: Bitcoins are to piles of money what farts are to piles of shite. You love your fiat that much eh?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Septimus Hedgehog wrote: One criminal organisation has been milked by another;
My spidey sense says they were hacked by a state entity that has a tenuous hold on reserve currency and with whom they have been in trouble with before.
|
|
|
|
|
I thought I had implemented MVVM. Then I read your article which states most people "think" they implemented MVVM. In reality, they did not. Thank you.
No, it was a decent read. I still want real layman basics though. I could not find them here at CP.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
Can you link the particualr article? I'd like to read it (cause I think I've been implementing MVVM and would like to be sure!) and couldn't find the right one.
10 PRINT "Software is hard. - D. Knuth"
20 GOTO 10
|
|
|
|
|
|
Make sure you read entire series and all blog links.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
I think I read most of Sacha's stuff ages ago when I started looking at MVVM - it was certainly most helpful - but I;m interested in what you think you had that wasn't MVVM?
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
Well, I saw a couple of things. I was still doing it with kind of MVP/MVC mindset. Another thing I did was I was sending across a control to view model (just the PasswordBox ) and was struggling with showing some dialogs and reporting progress on screen.
Remember, I am totally new to WPF World. I just thought I had implemented MVVM[^]. A little reading on web suggested I have probably done it. The solution structure was not like MVVM but functionally, I appeared to be one.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
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.
|
|
|
|
|