Click here to Skip to main content
15,896,552 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: WPF - Why was it formed? Pin
Erhy20-Feb-14 4:52
Erhy20-Feb-14 4:52 
GeneralRe: WPF - Why was it formed? Pin
Member 1023631820-Feb-14 5:28
Member 1023631820-Feb-14 5:28 
GeneralRe: WPF - Why was it formed? Pin
_CodeWarrior20-Feb-14 6:19
_CodeWarrior20-Feb-14 6:19 
AnswerRe: WPF - Why was it formed? Pin
Member 289602020-Feb-14 6:10
Member 289602020-Feb-14 6:10 
GeneralRe: WPF - Why was it formed? Pin
BillWoodruff21-Feb-14 8:53
professionalBillWoodruff21-Feb-14 8:53 
GeneralRe: WPF - Why was it formed? Pin
_CodeWarrior20-Feb-14 6:14
_CodeWarrior20-Feb-14 6:14 
GeneralRe: WPF - Why was it formed? Pin
RafagaX20-Feb-14 11:36
professionalRafagaX20-Feb-14 11:36 
GeneralRe: WPF - Why was it formed? Pin
JamesHurst20-Feb-14 11:38
JamesHurst20-Feb-14 11:38 
You pose some good, very-honest questions preaa. Here's my thoughts,

"Why would you put your UI in painful XML tags when you can use Windows forms?"

Once you get used to the XML, it actually becomes far easier and gives you a lot better control. Actually, you *can* still compose your gui by creating your widgets in your code-behind, but once you become as one with the XML, you find that you can weave a GUI as simple or as capable as you want, with non-rectangular elements, animation and other visual effects that are impossible with Windows Forms, and the binding facility is quite advanced. I've been spending the last decade creating a lot of desktop applications, and WPF is my #1 tool of choice. Nearly everything can be defined using the same 'language' (XAML) - and I am not limited to standard widgets. I've created some fairly sophisticated 3D CAD programs, a beating-heart animation (that reflects the measurements being taken of an actual patient's heart), and a geographical-display that shows aircraft moving across it, with drop-shadows and multiple cameras (all, still without leaving the world of XAML). I created one family of pretty 3D-effect buttons, and easily share it across all of my WPF projects while overriding certain of it's properties. I never liked using a "designer" to place controls onto my GUI, and am so comfortable with XAML that it takes me only seconds to type up a fairly decent form that responses as the user resizes the window, adapts to changing text values, etc.

"If it were to separate UI completely with the behaviour, aren't the developers doing that already with clean layering architecture with the forms based applications?"

WPF provides a way to achieve a far cleaner separation of presentation from domain behavior. In fact, you can have your graphic artists load up the same Visual Studio solution into, for example, Blend, and fine-tune the visual aspects, at the same time that the developers are working on the code.

"load .. on a browser?"

That (XBAP deployment) in my opinion, was an additional deployment option, that neither I nor most developers I know ever used. SilverLight, on the other hand, did seem to take off for a while and I felt it was an excellent solution for a time, until HTML5 and CSS3 provided more standardized solutions for the same problem-space and SilverLight got de-emphasized. I think it's safe to simply ignore that option.

I see the world of desktop apps, and online apps, as usually serving two very different spaces. A lot of users do not want to be dependent upon an Internet connection being up and running smoothly, and they don't want latency in the responsiveness of their GUI - especially those that are more than just form-filling applications. I do also enjoy HTML/CSS, and kind of wish the two worlds had more overlap.
James Hurst
"The greatness of a nation and its moral progress can be judged by the way its animals are treated."

Mahatma Gandhi

GeneralRe: WPF - Why was it formed? Pin
preaa20-Feb-14 21:23
preaa20-Feb-14 21:23 
GeneralCCC 19/2/14 Pin
Dalek Dave18-Feb-14 22:10
professionalDalek Dave18-Feb-14 22:10 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff18-Feb-14 22:20
mveOriginalGriff18-Feb-14 22:20 
GeneralRe: CCC 19/2/14 Pin
Dalek Dave18-Feb-14 22:23
professionalDalek Dave18-Feb-14 22:23 
GeneralRe: CCC 19/2/14 Pin
Tom Lawton18-Feb-14 22:24
Tom Lawton18-Feb-14 22:24 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff18-Feb-14 22:44
mveOriginalGriff18-Feb-14 22:44 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad18-Feb-14 22:25
Mohamad M. Mohamad18-Feb-14 22:25 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff18-Feb-14 22:57
mveOriginalGriff18-Feb-14 22:57 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad18-Feb-14 23:06
Mohamad M. Mohamad18-Feb-14 23:06 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff18-Feb-14 23:26
mveOriginalGriff18-Feb-14 23:26 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad19-Feb-14 0:24
Mohamad M. Mohamad19-Feb-14 0:24 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff19-Feb-14 0:32
mveOriginalGriff19-Feb-14 0:32 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad19-Feb-14 2:06
Mohamad M. Mohamad19-Feb-14 2:06 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff19-Feb-14 2:20
mveOriginalGriff19-Feb-14 2:20 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad19-Feb-14 2:29
Mohamad M. Mohamad19-Feb-14 2:29 
GeneralRe: CCC 19/2/14 Pin
OriginalGriff19-Feb-14 3:32
mveOriginalGriff19-Feb-14 3:32 
GeneralRe: CCC 19/2/14 Pin
Mohamad M. Mohamad19-Feb-14 4:01
Mohamad M. Mohamad19-Feb-14 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.