Adventures in WPF land...
-
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! :D
"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 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! :D
"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.
-
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! :D
"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
The learning curve is very steep but worth it
-
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
-
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 :D
"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
-
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 :D
"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.
-
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
-
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
-
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
-
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 :)
-
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! :D
"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
Life is too short to read that. :zzz:
**_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 -
Life is too short to read that. :zzz:
**_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. JimmyRopesThen why comment? Seems like a waste of time.
-
Then why comment? Seems like a waste of time.
:zzz:
**_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 -
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