The difference between framework code and ordinary code [duplicate] The Next CEO of Stack OverflowWhat is a software framework?The Definitive C++ Book Guide and ListWhat is the difference between #include <filename> and #include “filename”?Differences between HashMap and Hashtable?What are the differences between a pointer variable and a reference variable in C++?What is the difference between a framework and a library?What is the difference between public, protected, package-private and private in Java?Difference between StringBuilder and StringBufferDoes Java support default parameter values?How to “add existing frameworks” in Xcode 4?What's the difference between @Component, @Repository & @Service annotations in Spring?Why are elementwise additions much faster in separate loops than in a combined loop?

Incomplete cube

What day is it again?

Ising model simulation

logical reads on global temp table, but not on session-level temp table

Read/write a pipe-delimited file line by line with some simple text manipulation

Car headlights in a world without electricity

Why can't we say "I have been having a dog"?

Is it okay to majorly distort historical facts while writing a fiction story?

How seriously should I take size and weight limits of hand luggage?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

How to show a landlord what we have in savings?

What is the difference between 'contrib' and 'non-free' packages repositories?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Man transported from Alternate World into ours by a Neutrino Detector

Planeswalker Ability and Death Timing

How should I verify that an integer value passed in from argv won't overflow?

Calculate the Mean mean of two numbers

What does this strange code stamp on my passport mean?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Is it correct to say moon starry nights?

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?



The difference between framework code and ordinary code [duplicate]



The Next CEO of Stack OverflowWhat is a software framework?The Definitive C++ Book Guide and ListWhat is the difference between #include <filename> and #include “filename”?Differences between HashMap and Hashtable?What are the differences between a pointer variable and a reference variable in C++?What is the difference between a framework and a library?What is the difference between public, protected, package-private and private in Java?Difference between StringBuilder and StringBufferDoes Java support default parameter values?How to “add existing frameworks” in Xcode 4?What's the difference between @Component, @Repository & @Service annotations in Spring?Why are elementwise additions much faster in separate loops than in a combined loop?










0
















This question already has an answer here:



  • What is a software framework? [closed]

    12 answers



Can someone just show me an example of a code snippet that is meant for a framework (Spring or Guice) vs how it would be written in an ordinary form? It could be any framework for either C++ or Java










share|improve this question















marked as duplicate by Jesper Juhl, Andreas java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 7 at 19:48


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

    – Gardener
    Mar 7 at 19:44







  • 1





    The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

    – Jesper Juhl
    Mar 7 at 19:45












  • See Wikipedia: Software framework

    – Andreas
    Mar 7 at 19:47















0
















This question already has an answer here:



  • What is a software framework? [closed]

    12 answers



Can someone just show me an example of a code snippet that is meant for a framework (Spring or Guice) vs how it would be written in an ordinary form? It could be any framework for either C++ or Java










share|improve this question















marked as duplicate by Jesper Juhl, Andreas java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 7 at 19:48


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

    – Gardener
    Mar 7 at 19:44







  • 1





    The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

    – Jesper Juhl
    Mar 7 at 19:45












  • See Wikipedia: Software framework

    – Andreas
    Mar 7 at 19:47













0












0








0


0







This question already has an answer here:



  • What is a software framework? [closed]

    12 answers



Can someone just show me an example of a code snippet that is meant for a framework (Spring or Guice) vs how it would be written in an ordinary form? It could be any framework for either C++ or Java










share|improve this question

















This question already has an answer here:



  • What is a software framework? [closed]

    12 answers



Can someone just show me an example of a code snippet that is meant for a framework (Spring or Guice) vs how it would be written in an ordinary form? It could be any framework for either C++ or Java





This question already has an answer here:



  • What is a software framework? [closed]

    12 answers







java c++ frameworks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 20:18







Elias Sepuru

















asked Mar 7 at 19:39









Elias SepuruElias Sepuru

32




32




marked as duplicate by Jesper Juhl, Andreas java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 7 at 19:48


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Jesper Juhl, Andreas java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 7 at 19:48


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

    – Gardener
    Mar 7 at 19:44







  • 1





    The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

    – Jesper Juhl
    Mar 7 at 19:45












  • See Wikipedia: Software framework

    – Andreas
    Mar 7 at 19:47

















  • Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

    – Gardener
    Mar 7 at 19:44







  • 1





    The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

    – Jesper Juhl
    Mar 7 at 19:45












  • See Wikipedia: Software framework

    – Andreas
    Mar 7 at 19:47
















Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

– Gardener
Mar 7 at 19:44






Please submit a code example that is giving you trouble. Otherwise, you probably out to find a (good C++ book) [stackoverflow.com/questions/388242/… to curl up with for a few days/weeks.

– Gardener
Mar 7 at 19:44





1




1





The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

– Jesper Juhl
Mar 7 at 19:45






The difference (if I understand you correctly, which may very well not be the case since your question is quite unclear to me): framework code: code meant to be used as a foundation for you to build upon. Ordinary code: well, anything. It's not like one is written in a different language. It's just the purpose that's different. If you write some code and call it a "framework", well, then I guess it's a framework. There's nothing inherent in the code that makes it a framework.

– Jesper Juhl
Mar 7 at 19:45














See Wikipedia: Software framework

– Andreas
Mar 7 at 19:47





See Wikipedia: Software framework

– Andreas
Mar 7 at 19:47












1 Answer
1






active

oldest

votes


















0














The C++ language doesn't make that distinction. A "framework" is often a library that provides a more-or-less coherent set of types, objects, and functions for solving a particular class of problems. For example, a GUI framework manages a graphical user interface; a Unit Testing framework supports unit testing, etc.



When you build a library you use a librarian to combine various object files together into a library file. When you build an application using that library you link to the library; the linker pulls in the various parts of the library that your program uses.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The C++ language doesn't make that distinction. A "framework" is often a library that provides a more-or-less coherent set of types, objects, and functions for solving a particular class of problems. For example, a GUI framework manages a graphical user interface; a Unit Testing framework supports unit testing, etc.



    When you build a library you use a librarian to combine various object files together into a library file. When you build an application using that library you link to the library; the linker pulls in the various parts of the library that your program uses.






    share|improve this answer



























      0














      The C++ language doesn't make that distinction. A "framework" is often a library that provides a more-or-less coherent set of types, objects, and functions for solving a particular class of problems. For example, a GUI framework manages a graphical user interface; a Unit Testing framework supports unit testing, etc.



      When you build a library you use a librarian to combine various object files together into a library file. When you build an application using that library you link to the library; the linker pulls in the various parts of the library that your program uses.






      share|improve this answer

























        0












        0








        0







        The C++ language doesn't make that distinction. A "framework" is often a library that provides a more-or-less coherent set of types, objects, and functions for solving a particular class of problems. For example, a GUI framework manages a graphical user interface; a Unit Testing framework supports unit testing, etc.



        When you build a library you use a librarian to combine various object files together into a library file. When you build an application using that library you link to the library; the linker pulls in the various parts of the library that your program uses.






        share|improve this answer













        The C++ language doesn't make that distinction. A "framework" is often a library that provides a more-or-less coherent set of types, objects, and functions for solving a particular class of problems. For example, a GUI framework manages a graphical user interface; a Unit Testing framework supports unit testing, etc.



        When you build a library you use a librarian to combine various object files together into a library file. When you build an application using that library you link to the library; the linker pulls in the various parts of the library that your program uses.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 7 at 19:45









        Pete BeckerPete Becker

        58.8k442122




        58.8k442122















            Popular posts from this blog

            Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

            Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

            Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved