What is the difference between a class library and a framework

后端 未结 11 2065
别那么骄傲
别那么骄傲 2020-12-01 13:04

I hear the whole day the terms class library, base class library, Framework, ...
What highlights a framework and what a base class library?

11条回答
  •  感动是毒
    2020-12-01 13:32

    An application has many parts coexisting in synchronization providing different functionality...now code must be written for each of these parts to work and therefore an Application Framework does that code for you so that you don't have to go through nitty-gritty of writing every code related to every functionality.Application frameworks make writing applications easier.

    In most simple terms if you are making a building then its skeleton structure,Shape,functions it can support,electrical and hydraulic design , frames,etc are all its framework and now you must work in that framework to make your building so all the worrying about making a earthquake proof structure or making a linearly erect building has been handled by your framework

    It's that simple. The framework takes all the complexities of interfacing with the operating system and simplifies them for you. It handles all the nitty-gritty details for you. Obviously certain frameworks do a better job at it than others.

    Difference between Application Framework and Libraries : You use a class library in writing your code, but you code within a framework.

提交回复
热议问题