Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What is everyone using for thier presentation layer?

What is everyone using for thier presentation layer?

Scheduled Pinned Locked Moved The Lounge
csharpquestionasp-netwpfwcf
48 Posts 30 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Brent Lamborn

    oh man I love it. It's definately a breath of fresh air. Yeah, it's very easy to integrate. What we are doing it hosting WCF services in IIS that return strings to Flex. The strings are XML serialized LINQ objects. So we just use LINQ to query SQL Server, serialize the LINQ object to an xml string, modify the xml with Flex, pass the xml back to WCF where it gets deserialized back to a LINQ object, then update the db. It's awesome. With Flex Builder 3 you just import the WSDL generated by WCF, and FB 3 creates the required Actionscript classes you need to call the WCF service. There is a special thing you have to do to "flatten" the generated WSDL so Flex can understand it, but it's worth it for the killer UI you get with Flex. ok, boy I'm getting winded, you can see my excitement...

    Brent

    Z Offline
    Z Offline
    Zibusiso
    wrote on last edited by
    #33

    Flex is the way to GO. am trying it out ...and yes great WOW factor indeed...thousand pounds of respect :)

    B J 2 Replies Last reply
    0
    • T ToddHileHoffer

      I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

      I didn't get any requirements for the signature

      C Offline
      C Offline
      cecildt
      wrote on last edited by
      #34

      All depends on your requirements! Currently using Silverlight for future proofing UI. Silverligth is going to support mobile and offline. Great combination is Silverlight, WCF and Linq.

      1 Reply Last reply
      0
      • B Brent Lamborn

        oh man I love it. It's definately a breath of fresh air. Yeah, it's very easy to integrate. What we are doing it hosting WCF services in IIS that return strings to Flex. The strings are XML serialized LINQ objects. So we just use LINQ to query SQL Server, serialize the LINQ object to an xml string, modify the xml with Flex, pass the xml back to WCF where it gets deserialized back to a LINQ object, then update the db. It's awesome. With Flex Builder 3 you just import the WSDL generated by WCF, and FB 3 creates the required Actionscript classes you need to call the WCF service. There is a special thing you have to do to "flatten" the generated WSDL so Flex can understand it, but it's worth it for the killer UI you get with Flex. ok, boy I'm getting winded, you can see my excitement...

        Brent

        T Offline
        T Offline
        The Real Geek
        wrote on last edited by
        #35

        So where do you perform validation and where do you implement business rules? In the flex UI???

        B 1 Reply Last reply
        0
        • R rjempo

          http://www.hanselman.com/blog/SurveyRESULTSWhatNETFrameworkFeaturesDoYouUse.aspx This was an interesting, fairly big survey of the .NET space at least.

          rjempo

          T Offline
          T Offline
          ToddHileHoffer
          wrote on last edited by
          #36

          That's sort of what I was interested in. Thanks for posting that.

          I didn't get any requirements for the signature

          1 Reply Last reply
          0
          • T The Real Geek

            So where do you perform validation and where do you implement business rules? In the flex UI???

            B Offline
            B Offline
            Brent Lamborn
            wrote on last edited by
            #37

            Both IMO. Flex has validation components built in. We also do some in the biz logic layer.

            Brent

            1 Reply Last reply
            0
            • Z Zibusiso

              Flex is the way to GO. am trying it out ...and yes great WOW factor indeed...thousand pounds of respect :)

              B Offline
              B Offline
              Brent Lamborn
              wrote on last edited by
              #38

              That's right, "WOW factor" that's a good phrase for it! :-D

              Brent

              1 Reply Last reply
              0
              • Z Zibusiso

                Flex is the way to GO. am trying it out ...and yes great WOW factor indeed...thousand pounds of respect :)

                J Offline
                J Offline
                Justin Williams
                wrote on last edited by
                #39

                My vote is also for Flex, although now that Silverlight is at version 2 there's a lot of great things to say about it as well. RIAs are, in my opinion, the way to go though. Better separation of concerns, better security, real application development environment and languages, incredibly easy deployment, clients are always up-to-date without any effort, the list goes on and on.

                1 Reply Last reply
                0
                • B Brent Lamborn

                  No, no issues of that sort. I guess I'm not familiar with the terms object graphs and object trees either. Our WCF service just gets LINQ objects, serializes them to an xml string, and hands them to Flex, and then the reverse. It works tremendously well.

                  Brent

                  B Offline
                  B Offline
                  Bangis
                  wrote on last edited by
                  #40

                  passing LINQ objects? ;) Is is any different than "array of objects being passed between client and service" (just adding some well known buzzwords WCF, LINQ to impress someone, IMO). How this affects topic about presentation layer :)?

                  B 1 Reply Last reply
                  0
                  • B Bangis

                    passing LINQ objects? ;) Is is any different than "array of objects being passed between client and service" (just adding some well known buzzwords WCF, LINQ to impress someone, IMO). How this affects topic about presentation layer :)?

                    B Offline
                    B Offline
                    Brent Lamborn
                    wrote on last edited by
                    #41

                    Not I'm not trying to impress anyone. :laugh: :laugh: We're all programmers here right? At least that is what I thought. If a programmer is impressed by a couple of acronyms,. I feel sorry for that guy. If you look at my first post in this thread, I was responding to the thread starter. Then other's proceeded to ask questions so I obliged. :-D

                    Brent

                    1 Reply Last reply
                    0
                    • R realJSOP

                      The DOS command prompt.

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      R Offline
                      R Offline
                      Roger Wright
                      wrote on last edited by
                      #42

                      Good choice! Reliable, consistent, and everyone knows what to expect of it. Three necessary features in any user interface. :-D

                      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                      D 1 Reply Last reply
                      0
                      • R Roger Wright

                        Good choice! Reliable, consistent, and everyone knows what to expect of it. Three necessary features in any user interface. :-D

                        "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #43

                        Roger Wright wrote:

                        Good choice! Reliable, consistent, and everyone over the age of 20 knows what to expect of it. Three necessary features in any user interface.

                        Fixed that for you. Anyone much younger than that's probably been introduced to the MS world vs win95 or later and unless they have power user tendencies is likely to've never seen the command prompt more than once or twice.

                        Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                        1 Reply Last reply
                        0
                        • W wout de zeeuw

                          Yeah, to do any kind of object graphs, also circular references should be possible. The neatest thing that just works without any issues: plain old .NET serialization. I was just curious how to handle it properly in the web services world.

                          Wout

                          A Offline
                          A Offline
                          Adar Wesley
                          wrote on last edited by
                          #44

                          WCF supports circular references in the object graph that it serializes. However, this option is not on by default. You need to specifically configure the DataContractSerializer to keep track of object references. (I don't recall the exact setting off hand.)

                          W 1 Reply Last reply
                          0
                          • A Adar Wesley

                            WCF supports circular references in the object graph that it serializes. However, this option is not on by default. You need to specifically configure the DataContractSerializer to keep track of object references. (I don't recall the exact setting off hand.)

                            W Offline
                            W Offline
                            wout de zeeuw
                            wrote on last edited by
                            #45

                            Does that also generate some special WSDL? That would be nifty.

                            Wout

                            1 Reply Last reply
                            0
                            • T ToddHileHoffer

                              I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                              I didn't get any requirements for the signature

                              F Offline
                              F Offline
                              firegryphon
                              wrote on last edited by
                              #46

                              ... how about console? I use that most of the time.

                              1 Reply Last reply
                              0
                              • T ToddHileHoffer

                                I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                                I didn't get any requirements for the signature

                                M Offline
                                M Offline
                                Marc Firth
                                wrote on last edited by
                                #47

                                PHP + HTML + JavaScript + CSS + Flash + Actionscript I do use asp.net, but I find PHP more versatile for the web, and I am far more productive with it. But what I use depends on what the app is for (and might require in the future). Had a look at silverlight and the expression suite and was quite impressed. I noticed a lot of similarities with flash (although the designer/developer interfaces are, of course, very different). XAML is very promising, but the designer interfaces, of Microsoft Expression Blend, aren't very intuitive. If you would like to look at an alternative to microsoft, I would suggest the following as a starting point: Developing Server: Xampp (Linux) http://www.apachefriends.org/en/index.html[^] Interface Design: The Adobe Suite (especially flash, photoshop and dreamweaver) http://www.adobe.com/products/creativesuite/[^]

                                1 Reply Last reply
                                0
                                • M mr_lasseter

                                  I feel sorry for you. The last time I had to work with that I wanted to quit my job.

                                  Mike Lasseter

                                  I Offline
                                  I Offline
                                  ian dennis 0
                                  wrote on last edited by
                                  #48

                                  I used to work for DataMax/RFGen, so it comes easier to me now than perhaps for you. It's very much a tool which lends itself to designing apps using machine state logic.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups