01242 244620
Get a free website review

Blog > Web Development > Using frameworks for web development

Calendar Posted 9th August 2010 | Feed Icon
Justin

Frameworks appear in most programming languages and there is often many different types per language. The idea of a framework is to provide a certain structure that the programmer must follow. This structure will usually include functionality that can just be called upon rather than the programmer having to write it from scratch. A lot of this functionality will be based around the mundane or highly replicated programming tasks enabling the programmer to concentrate on the core elements of the software that is being developed.

Frameworks are incredibly useful and can significantly speed up the development process. Due to the programmer having to follow a specific structure the end product should be a lot easier to maintain, have less bugs and use less code.

One major issue with frameworks is the time it takes to learn them. To get the most out of the framework you need to understand its full capabilities and structure which is very time consuming. They are also often limiting if you have not written it yourself and sometimes you will find yourself using part of the framework and then bolting on your own code.

Personally l think frameworks built by someone else should only be used in programming languages that are just supporting the software/ website being built. For example at Bluelinemedia we use the MooTools JavaScript framework. Since we just use JavaScript to provide front end functionality we are happy to use a framework as it saves a lot of time and its functionality is just placed on top of the core code. Also due to the MooTools developers spending a lot of time on all the different functionality the framework provides they have been able to perfect certain aspects. It is not worth spending all the time on recreating that for ourselves when we could just use their framework to get a perfect solution.

In regards to the back end we program the core of the software in PHP & MySQL and since we want to have complete control and understanding of how this works we use our own framework that we have developed over time. Due to developing it ourselves we have been able to create it to just do exactly what we want and we all have an in depth knowledge of how it works making it very easy to update and improve.

A framework is definitely something l would suggest you use although l would write your own one if you plan to use the framework for the core parts of your code.

by Justin | 9th August 2010

We use cookies to help make our website better.

At the moment, your preferences prevent us from using cookies. OK otherwise Find out more.

How we use cookies

Google Analytics is a marketing tool that allows us to see how our site is used, for example how many visitors we get and which pages are viewed most. This information is anonymous but requires cookies to track your actions on our website.

ShareThis is included in our blog pages to provide links to social media tools like Twitter and Facebook, and enable you to bookmark or recommend our pages. This code includes cookies so that ShareThis can track how people use its service.

YouTube is used where we display a video on our website, and includes cookies that track actions such as clicking on related videos.

You can find out more about cookies at www.allaboutcookies.org/manage-cookies

If you'd prefer us not to use cookies, please click here, or if you don't mind us using cookies please click here.