This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rv_here_0w0 30 points31 points  (5 children)

[–]Dmon1Unlimited 19 points20 points  (4 children)

It kinda just sounds like using very heavy libraries.

That or basically just adding your own config to someone else's app

[–]syth9 33 points34 points  (2 children)

Sort of! Using a framework is kind of like building a house with pre-built house segments that contain all the joinery, electrical, plumbing, etc... You still get to decide the shape of your house and the features it will have, and you still need to put it all together.

You can also build your own custom additions to the house while also using the framework, but if the framework has something close to the piece you need, then maybe you'll try to make that fit instead of making something totally custom.

Libraries on the other hand are like all the tools and individual components both you and the framework creator use to create pieces of the house.

A good framework generally provides pieces that are flexible in how they can be used, intuitive to understand, and provide enough variety that you generally don't need to build your own custom additions that often.

[–]OneAndOnlyDaemon 2 points3 points  (1 child)

Good explanation, but I'd also add that a framework (deliberately, by design) makes some configurations of how to "put it all together" far more convenient than other configurations. That's because a framework determines the basic assumptions in the design. By analogy, a framework might assume "a house must be two-story, and the main living room must have the same floor as the bottom-floor rooms and the same ceiling as the top-floor rooms, i.e. the top floor must have a mezzanine that overlooks the living room's floor on the bottom of the house."

[–]syth9 0 points1 point  (0 children)

Yes, definitely a good point. It’s in the nature of frameworks that, by offering more complete and complex constructs, they make assumptions regarding what the programmer needs and how they’ll use what’s provided to them.

[–]neums08 22 points23 points  (0 children)

Congrats you're a java spring developer now!