|
What a blatant and futile attempt in copying the real thing
|
|
|
|
|
|
Methinks you tell porkie pies: the clue is in the title of your post...
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 ventured on my long and perilous journey into learning WPF a few months ago now, after reading various articles, skimming a book and creating simple example applications AKA 'knobbing about' I started converting a little Access DB I wrote to track my trips to the Gym.
Anyway, progress so far:
I've created an SQL Server backend, then used Entity Framework as my Data Access Layer utilising LINQ.
I've coded up all the Models and Data Access logic, written Unit Tests and tested the same.
Now I've started the WPF side of things, I've got a Fluent Ribbon on my main window which opens up tabs (currently blank) for the main content via Commands etc, and I've implemented a little a settings window which implements IDataErrorInfo/Commands/Data Binding etc, it's nice to see a small example working in full.
This is all using (or trying at best to use) MVVM (not Cinch/Prism or one of the many other flavours - I'll save those for after I've finished this app as I’ll have some experience under my belt to better understand their inner workings).
So, now I've started WPF - wow, I'm staggered by just how huge this framework is - it's unbelievable – I mean, I knew it was big before I started, but it’s bigger than anything I could have imagined; and dare I say it, a little unintuitive at times?
All I can say is thank god for Google!!
It’s good to see that all the problems I’ve had so far have already been encountered by others at some point, or some kind fellow has put the time and effort into writing an article about how a particular feature works.
Overall though, its good fun!
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
Ok - WPF is huge but the more I use it the more I like it.
Use Caliburn Micro as the MVVM, plenty of tuts and still bening developed on.
Look at Modern UI and Modern WPF Charts quite good WPF frameworks.
Both available on nuget.
I tend to avoid Entity Framework, but that's my personal pref.
|
|
|
|
|
Hmmm - haven't heard of Caliburn Micro before, I'll look it up.
And the Modern UI/modern WPF CHarts I'll look at also.
As for Entity Framework - I'd not used it before so thought I would give it a crack - relatively painless in fact.
Also, the app I'm writing is only for my personal use so it seemed to make sense
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
I most look into the entity framework it has been on my todo list but I keep putting it off
|
|
|
|
|
The learning curve is very steep but worth it
|
|
|
|
|
Indeed, and I'm still on the curve - right near the bottom I think; still a lot more understanding to do
I do love learning new things though
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
I have been using WPF for a few years now - so I have a decent body of code built up which can do most things I require - I wouldn't say I fully understand WPF but I have crossed a lot of bridges so when I need it to do something I have generally already crossed that bridge and dig it out of earlier code.
|
|
|
|
|
Yeah - I'm going to have to start keeping a snippet collection or something similar - I've already come across things that I probably wouldn't have been able to figure out if it wasn't for Google.
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
I generally just put comments in the code with a link to which page provided what I was looking for.
I am not the kind of dev who understands frameworks at their deepest level - I write compilers and data analysis engines - as long as I understand my code fully and can find out about framework arcana from elsewhere I am happy
|
|
|
|
|
Yeap, I do the same
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
I think there's quite a few of us about
|
|
|
|
|
Life is too short to read that.
Once you lose your pride the rest is easy.
I would agree with you but then we both would be wrong.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
Then why comment? Seems like a waste of time.
|
|
|
|
|
Once you lose your pride the rest is easy.
I would agree with you but then we both would be wrong.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
http://www.telegraph.co.uk/travel/destinations/europe/germany/11003030/German-tourists-arrogant-boring-and-nude.html[^]
http://www.telegraph.co.uk/travel/destinations/europe/germany/11003030/German-tourists-arrogant-boring-and-nude.html[^]
'Fat, drunk and sunburnt'. Unfortunately, the Germans are right, that's exactly what the British are like on holiday.
I saw three British girls, skirts up, knickers down, bent over with their butts pressed up against the inside of a huge bar window facing right onto the street, at 3 in the afternoon, in Turkey. It wasn't a pretty sight, particularly as they were all a god 20 kilos overweight. (Well, I say British, lets narrow that down to Northern British.)
|
|
|
|
|
|
Nah, He's just making sure that he posted it right.
Don't mind those people who say you're not HOT. At least you know you're COOL.
I'm not afraid of falling, I'm afraid of the sudden stop at the end of the fall! - Richard Andrew x64
|
|
|
|
|
Munchies_Matt wrote: three British girls ... all a god 20 kilos overweight.
And why do these ladies insist on getting drunk and singing "Doncha wish your girlfriend was hot like me?" at karaoke?
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 – ∞)
|
|
|
|
|
OriginalGriff wrote: Doncha wish your girlfriend was hot like me?
You forgot the last word..
Doncha!
Don't mind those people who say you're not HOT. At least you know you're COOL.
I'm not afraid of falling, I'm afraid of the sudden stop at the end of the fall! - Richard Andrew x64
|
|
|
|
|
I'm normally running away too fast to hear that one!
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 – ∞)
modified 1-Aug-14 5:52am.
|
|
|
|
|
Ah yes. Don't you just love stereotyping?
|
|
|
|
|
Well, it's better than monotyping[^] - at least you get some depth...
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 – ∞)
|
|
|
|