Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What is a framework? (andrzejonsoftware.blogspot.com)
3 points by andrzejkrzywda on Dec 6, 2012 | hide | past | favorite | 3 comments


I think the basic difference between library and framework is that if you use framework it's responsible for bootstrap of your application, and library does not.

But also framework drives structure of result codebase - filenames convention, directory structure, maybe way you implement your features.


To me framework is a set of libraries, glued together with some infrastructure code. Framework provides some conventions that speed up most common tasks.

It may be possible to use framework as a library, though there is no or small benefit.


"framework is a set of libraries, glued together with some infrastructure code"

That sounds a bit too generic. There are possibly some libraries that group other libraries, but are not really a framework.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: