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. Intro + doubt

Intro + doubt

Scheduled Pinned Locked Moved The Lounge
questionooptutorialdiscussion
40 Posts 22 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.
  • H Hans Dietrich

    I recall that when MS was designing what became MFC, they tried to make it as OO as possible. Then they showed it to some developers, who told MS they didn't understand it and wouldn't use it. So MS redesigned it to be closer to the Win32 layer it was wrapping, and that's the way it is today. Borland's OWL, on the other hand, went the other way. So people who knew Win32 loved MFC and hated OWL; and people who didn't know Win32 loved OWL and hated MFC. Sort of a tale of two frameworks. I suppose OO components might imply COM-based components, but I'm not sure what is gained by applying such a label. OO is certainly not the first thing that comes to mind when thinking about the question, "What does it mean to create a good component?"

    Best wishes, Hans


    [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

    S Offline
    S Offline
    Shog9 0
    wrote on last edited by
    #26

    Hans Dietrich wrote:

    OO is certainly not the first thing that comes to mind when thinking about the question, "What does it mean to create a good component?"

    Heh, nope. But then, OO isn't the first thing that comes to mind when i think, "what do i need in a framework?" either. Kinda reminds me why i ended up writing essays in the margins of multiple-choice tests. :rolleyes:

    But who is the king of all of these folks?

    1 Reply Last reply
    0
    • D DemonPossessed

      Oakman wrote:

      If it asks dumb questions like an Indian, if it mangles the language like an Indian, and if it keep repeating itself like an Indian, then it's an Indian.

      The way they refer to a question as a "doubt" is also one of the tell-tale signs of an Indian.

      Furthermore, in Galileo's time and for quite some time afterwards, the "scientific evidence" was *against* heliocentrism. - Ilion

      O Offline
      O Offline
      Oakman
      wrote on last edited by
      #27

      DemonPossessed wrote:

      The way they refer to a question as a "doubt" is also one of the tell-tale signs of an Indian.

      I am sure you're right. The Gaelic for question is ceisd whereas aincheas means doubt. And the French for question is, amazingly enough, question. While the French for doubt is doute, so 'twould seem unlikely that a French lass or an Irish lad or whatever the mixture might be would make that mistake.

      Jon Smith & Wesson: The original point and click interface

      1 Reply Last reply
      0
      • J Julia4u

        Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

        C Offline
        C Offline
        Chris Austin
        wrote on last edited by
        #28

        Julia4u wrote:

        Framework or to Component

        Hi Julia. It may help us deal with your question if you can frame the discussion for us. How do you define a framework and how do you define a component? Personally, my definition of a framework is strict set of tools and libraries used to construct things according to a specified approach or "world view". I view components as discrete entities that can be used to help with the construction of things. For me the distinction is that components can be used in different frameworks. Feel free to apply this leaky abstraction to things like different schools of architecture and painting.

        Julia4u wrote:

        Object Oriented concepts are more relevant to Framework or to Component ?

        I think OO concepts are only revelent when used and necassary. :) It's a bit of a flippant answer but I think it is valid. If you are coding a revolutionary memcopy routine in C using C libraries and C compilers there is no logical reason to even consider an OO approach. However, if you are working on the coolest ever Object Database in C# then by all that is right in this world you should be considering OO concepts.

        Julia4u wrote:

        I have a big time confusion about the same. What would be the good example to explain the difference between the two.

        I suggest just hitting a search engine and looking for "componet" and "framework." There are lots of different opinions out there. Good luck and welcome to the community.

        A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

        1 Reply Last reply
        0
        • M Marc Clifton

          Julia4u wrote:

          I wish instead of asking me these question, if you could provide me answer to it then it will be much clear to me.

          So much for leading the horse to water even. First, I have no intention of doing your homework, your dissertation, your presentation, or whatever it is that you're trying to weasle your way out of. And the point of me asking those questions is as lauren said. Second, I'm not in the business of spoon feeding answers to people. Third, if you can't even take a stab yourself at those questions and enter a possibly interesting dialog, then I come rapidly to the conclusion that you're just trolling to get your homework done. Newbies. :sigh: Marc

          Thyme In The Country Interacx My Blog

          C Offline
          C Offline
          Chris Austin
          wrote on last edited by
          #29

          Marc Clifton wrote:

          Third, if you can't even take a stab yourself at those questions and enter a possibly interesting dialog, then I come rapidly to the conclusion that you're just trolling to get your homework done.

          Funny. I suppose I am not as jaded as I used to be. I just thought she was a young developer having a bit of an existential crisis :). Now I fear that I have feed the troll :-O

          A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

          1 Reply Last reply
          0
          • J Julia4u

            Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

            C Offline
            C Offline
            code frog 0
            wrote on last edited by
            #30

            This answer depends entirely on how much time you have to write one or the other. :) If you are pressed for time then in most cases OO flies out the window along with requirements, your vacation, weekends and hot meals with your significant other.

            1 Reply Last reply
            0
            • J Julia4u

              Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #31

              Julia4u wrote:

              Object Oriented concepts are more relevant to Framework or to Component ?

              A framework does not need OO. See the countless functional languages. Components on the other hand normally requires encapsulation, and carrying state information, that could possibly change. This is more inline with OO, but OO is still not strictly required.

              xacc.ide - now with IronScheme support
              IronScheme - 1.0 alpha 2 out now

              1 Reply Last reply
              0
              • J Julia4u

                Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

                E Offline
                E Offline
                Erik Funkenbusch
                wrote on last edited by
                #32

                There are many ways to look at the question. Object orientation was designed as a way to partition development and make changes in one part without affecting others. Frameworks, on the other hand, don't typically require that because frameworks as a rule typically don't change much (you can add to them, but existing designs don't change). That means OO doesn't apply as much to frameworks because the problems that OO was designed for are not as relevant. Components, on the other hand, are almost exclusively Object oriented, and typically rely heavily on concepts involving extension (inheritance, polymorphism, specialization, etc..) This is probably not what your college professor had in mind though when he assigned this to you.

                -- Where are we going? And why am I in this handbasket?

                1 Reply Last reply
                0
                • C Christian Graus

                  In what context are you asking this ? It makes no sense to me, at all. Why would OO apply more to one than the other ? I guess if your framework is written in C, but otherwise... If your framework is not OO, then the component you write with it ( I assume this is what you mean ) cannot be, right ? And if your framework IS OO, you'd have to work hard to write code with it that was not OO at all, right ?

                  Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #33

                  Christian Graus wrote:

                  In what context are you asking this ?

                  You stupid bloody Tasmanian bastard. It's a girl asking a question here on Code Project, you should be falling all over yourself to try and provide her an answer. That way when work finds you over in Ireland, you know you'll and a root for sure. That's the way it's meant to work isn't it?

                  Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                  C 1 Reply Last reply
                  0
                  • J Julia4u

                    Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

                    P Offline
                    P Offline
                    papadimitriou
                    wrote on last edited by
                    #34

                    look up code reuse versus Design Reuse .i like frameworks http://ocw.kfupm.edu.sa/user062/web-ct/courses/ICS51301/2704558682.ppt[^] http://www.cs.huji.ac.il/~davidt/course/ood/lectures/OOD10_Frameworks_Swing.ppt[^] http://www.codeproject.com/KB/architecture/WhatIsAFramework.aspx[^]

                    f(yf) = yf

                    1 Reply Last reply
                    0
                    • L Lost User

                      Christian Graus wrote:

                      In what context are you asking this ?

                      You stupid bloody Tasmanian bastard. It's a girl asking a question here on Code Project, you should be falling all over yourself to try and provide her an answer. That way when work finds you over in Ireland, you know you'll and a root for sure. That's the way it's meant to work isn't it?

                      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #35

                      Michael Martin wrote:

                      you know you'll and a root for sure.

                      Obviously, you're very excited, given that this makes no sense at all. Land a root, did you mean ?

                      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                      L 1 Reply Last reply
                      0
                      • J Julia4u

                        Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

                        J Offline
                        J Offline
                        Julia4u
                        wrote on last edited by
                        #36

                        Thank you very much for providing me with your views. I am wondering, which application domain particulary is benefited by component approach. I know about the application domain benefited by frameworks but not for components. Regards Julia

                        modified on Sunday, March 2, 2008 3:43 PM

                        L 1 Reply Last reply
                        0
                        • J Julia4u

                          Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

                          L Offline
                          L Offline
                          Leslie Sanford
                          wrote on last edited by
                          #37

                          Julia4u wrote:

                          Object Oriented concepts are more relevant to Framework or to Component ?

                          Yes.

                          1 Reply Last reply
                          0
                          • J Julia4u

                            Thank you very much for providing me with your views. I am wondering, which application domain particulary is benefited by component approach. I know about the application domain benefited by frameworks but not for components. Regards Julia

                            modified on Sunday, March 2, 2008 3:43 PM

                            L Offline
                            L Offline
                            Leslie Sanford
                            wrote on last edited by
                            #38

                            Julia4u wrote:

                            Thank you very much for providing me with your views.

                            After reading the views, what conclusions have you come to concerning the relationship between object oriented programming and frameworks and components?

                            Julia4u wrote:

                            I am wondering, which application domain particulary is benefited by component approach. I know about the application domain benefited by frameworks but not for components.

                            Can frameworks benefit from components?

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              Michael Martin wrote:

                              you know you'll and a root for sure.

                              Obviously, you're very excited, given that this makes no sense at all. Land a root, did you mean ?

                              Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #39

                              Christian Graus wrote:

                              Obviously, you're very excited, given that this makes no sense at all. Land a root, did you mean ?

                              Of course that's what I meant if it wasn't for the broken L key on my keyboard that magically worked every other time I presses it.

                              Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                              1 Reply Last reply
                              0
                              • J Julia4u

                                Dear All, First of all i will introduce myself. I am Julia, studying IT and i am from Ireland. I am not fully Irish(Irish + French) though. :) Ok now come to the point. I am looking for the answer to the below mentioned question. I hope this place is right to ask this type of questions. Object Oriented concepts are more relevant to Framework or to Component ? I have a big time confusion about the same. What would be the good example to explain the difference between the two. I am still looking for this answer. And if you have any good link which could clear my doubt to have some proof then please do provide me. I hope i'll have a good experience here at CP. Looking forward for your thoughts. Regards Julia :)

                                R Offline
                                R Offline
                                Ravi Bhavnani
                                wrote on last edited by
                                #40

                                Julia4u wrote:

                                Object Oriented concepts are more relevant to Framework or to Component ? which application domain particulary is benefited by component approach.

                                I suggest you take a look at these WikiPedia articles (if you haven't already) which will likely provide you with enough background to reach a valid conclusion.* Software frameworks[^]

                                • Component-based software engineering[^]

                                  Julia4u wrote:

                                  studying IT

                                  Are you enrolled in a Computer Science curriculum? I find it hard to see the value in attempting to answer these essay-style, "philosophical" questions. They have little bearing in the world of software engineering, where real-life architectural designs of frameworks and components aren't born of classroom discussions of topics such as these - they come from years of down-in-the-trenches writing and debugging code on different platforms and of sufficient complexity. /ravi

                                  My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

                                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