In broad terms, a software framework is a code library that is designed to facilitate software development. The idea is that all of the tedious, low-level details of creating a web application are already addressed in a reusable package. For a web developer, this means you can spend your time worrying about specific problems related to your application, and not the actual building of the code behind it. For example, a developer can quickly and easily access a database using a framework, rather than having to write all of the code required to accomplish this simple task. To get a better idea of how a framework can help, let’s take a look at two notable web development frameworks — Ruby on Rails and Prototype.
Ruby on Rails
Ruby on Rails, or Rails, is a framework for creating web applications with the Ruby programming language. Developed by David Heinemeier Hansson in 2004, Rails is designed to favor “convention over configuration,” which translates to mean that Rails makes opinionated assumptions about things in order to spare developers from having to make these decisions. It also means that Rails provides all of the classes and methods required to create a web application, such as accessing a database and much more. A developer can then take this empty framework and build upon it to create his/her own web application, without having to be an expert in the Ruby language.
Different types of frameworks
In short, software frameworks can save developers time and heaps of frustration. Check these links to learn more: