Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

In simple words, what is a framework and what is it used for ?

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for an answer (in the style of kathy sierra & bert bates) for "what is a framework ?" (eg Rails, Hibernate, Spring etc). That is, imagine if you have to explain this to a layperson or a beginner with elementary knowledge of computers and programming.

Thanks !
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A framework is usually a library or some other piece of software that provides a skeleton for your application. It provides generic things that almost all applications need. To make an application with a framework, you write the parts that contain specific functionality for the application, and connect those parts together by using the framework.

It's like building a house. First you put up a wooden frame that outlines the structure of the house. That's the framework. Then you build the house on the framework: you add walls, windows, doors, etc.

See also Software framework.
 
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!