|
-
Jan 17th, 2009, 02:27 AM
#11
Re: You owe it to yourself to use WPF
 Originally Posted by chris128
I agree, I just personally dont see why the UI needs to be separated from the VB code. I mean surely a large percentage of code that we all write is done to update the UI so it makes sense that you need to be able to work with the UI directly from the programming language... After all, for pretty much any windows forms app the whole purpose of it is to show someone data and manipulate that data based on what they click and press, so why try and distance the things that they click and press from the programming logic. Dont get me wrong, I know you can do things like change a label's text or whatever from VB code in a WPF project but the whole "separation" thing just seems unnecessary to me.
I guess it might be good for huge enterprise level business apps but for people like myself it doesnt seem to provide any benefits.
Actually separating the UI from the rest of the program is a design of n-tier.
An example...
UI
Business Rules
Data Layer
Database
So separating the UI from the business rules and even other apps like Fat Clients can have big improvements in many areas if separated.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|