أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
the most simple and basic way I use to explain framworks is Legos: a Framework is a Lego box it has lots of elements (Bricks) that you can use to create diffrent things depending on your needs.
If I say you to cut a paper of dimension5m by5m then surely you would do that. But then I ask you to cut1000 paper of the same dimension. Then you won't do the measuring for1000 times, obviously you would make a frame of5m by5m and then with the help of it you would be able to cut1000 papers in less time. So, what you did is you made a framewok which would do that type of task. So, instead of performing same type of task again and again for same type of applications, what you do is you create a framework having all those facilities together in one nice packet and hence providing the abstraction for your application and more importantly many applications.
Answered by Neha Choudhary
Cheers!
Framework is like building the different clay structure using moulds.
A frame is a tool-box for programming, all things are prebuilt you just have to fit the thing where it needs to be.
It provides reusability, ease and a standard method to develop web applications
I simply choose the closest analogy to the word "framework" and keep things simple !
Suppose you have an empty wooden frame and you can fill it with whatever photograph you wish as long as the photograph dimensions fit within the frame. These frames can be square, rectangular, circular, oval ... and they may come in different sizes too Another example would be to compare the framework with a shelves and boxes used in shops where different items, materials can be placed.
A third example is to imagine a totally transparent glass or plastic containers set (tubes, vessels, ... etc) that only gets noticed when filled with colored water. The colored water takes the shape, dimensions and size determined by the glass containter itself !!
For a non techiie i will refer a framework as package/set of clay moulds used for clay modelling. It will be having a number of moulds which can be used easily to cut out small modules for modelling and all these together make a big art.
SimplyEach mould= predifined functionalities in a frameworkFramework = set of all these mouldsAnd your web app = the great art you make from these modules
Hope this does answer your query :-)
Well, it is a meaningful but difficult question. I think the best analogy for a framework can be: Your very own smart phone.You don't have to be smart enough or an expert to use a smart phone in everyday life, yet it takes care of your day to day complex tasks, like managing appointments, showing directions, suggesting hang outs etc. You still work on it, you should know how to operate a smart phone, but you only have to know what options to click. You don't need to know, like a framework, how it takes care of your complex tasks.
I will explain him by teling that you assume that you have many tools for one purpose, for example if you want to cut rubber, you can use knife, cutter, blade and other many tools for this purpose and framework is a tool for programming/Web language.
I can simply say in lay man terms that if you are constructing a house, the builder first prepared your pillars in the earth and raised and on it the slab, now you have a frame like structure, that need to be construct fully by raising walls, and other some many things, according to your needs to use building. This way also we can make things understand to the layman about framework.