Tag Archives: Software Frameworks

Why don’t I like frameworks

Introduction

In computer programming, an application framework consists of a software framework used by software developers to implement the standard.

in other words the framework decides how the Developer has to work. This is where my problem starts. I’m very fond on my freedom and therefore also on the way I work.

When I think I need a framework I can write one myself. In the past I actually did so. And although I’m the only user of my own frameworks they work for me and I wouldn’t want it any other way..

The second thing I have against frameworks is that by using them you are showing weakness. You subject yourself to a working method someone else has developed for you. I’m perfectly capable of doing my own work without someone having to tell me how to do it! There are however frameworks which make sense to me, although they are not really frameworks. I outlined them below:

  • MavenApache Maven is so cool! It integrates both a building tool as well as a dependency manager. Everyone who has worked with Apache Open Source and ever checked out a project knows. First you check out the project from SVN and then executive mvn buid. It’s pretty awesome to see how maven does all the work for you, downloading all the libraries, running the tests, generating the test report(s) and finally buid the project. You can do it with the Terminal or with your IDE. If you use Eclipse has it’s own Maven plugin M2Eclipse. A must-have plugin for all Java Developers. Next to M2Eclipse are many 3rd party Maven plugins. You can try them all if you want. I didn’t. The command line tool and M2Eclipse are enough for me.
  • Apache Ant – Is similar to Maven and automates a lot of repetitive tasks. See http://ant.apache.org/. Ant is a typical tool to use from the Command Line and I like to keep it there. So no Eclipse plugin required.
  • Apache Struts – Is a true framework. If you have a requirement to work with the MVC pattern you don’t need to look further. Struts will force you to do so. It does so with Action beans, Forwarders and the struts-config.xml. In addition to the MVC framework it also has a very good templating system, called Struts Tiles. You can create the most beautiful pages with Tiles and it’s not difficult to use.
  • Also on my wishlist is the Spring MVC framework because of it’s fresh look. And from what I’ve heard it’s very lightweight and  can work excellent together with other frameworks. Which makes it a Framework of Frameworks. You can easily integrate Spring with your Eclipse IDE. From Eclipse go to the MarketPlace and install it. It’s definitely worth trying it, since it comes with lots of examples and  like everything else here it’s  free and Open Source.