Jump to content

Should you use a framework?


unemployment

Recommended Posts

I built my own bespoke MVC framework,  not to reinvent the wheel but to learn the benifits of using such a framework. It gave me a much better understanding of how to approach coding using solid design patterns and principles.

 

And i do agree with you that some frameworks can seem over bloated. I have worked on a few zend applications, and although I highly reccomend the framework I have found it frustratingly over complicated sometimes.

I use my own framework all the time now and find I can build an application / site twice as fast compared to no framework. With the use of naming conventions, structure and a solid methodology it makes life so much easier. And easily scalable

Link to comment
Share on other sites

I built my own bespoke MVC framework,  not to reinvent the wheel but to learn the benifits of using such a framework. It gave me a much better understanding of how to approach coding using solid design patterns and principles.

 

And i do agree with you that some frameworks can seem over bloated. I have worked on a few zend applications, and although I highly reccomend the framework I have found it frustratingly over complicated sometimes.

I use my own framework all the time now and find I can build an application / site twice as fast compared to no framework. With the use of naming conventions, structure and a solid methodology it makes life so much easier. And easily scalable

 

I've never used an MVC framework although I probably should learn it.  Any suggestions on how to learn it without having to jump into bloated frameworks?

Link to comment
Share on other sites

This could be a troll-like question, but given your admitted inexperience with frameworks I'm interested in your answer.

 

What does bloated mean to you?  When is a framework useful (or feature rich) and when is it bloated, where is the line drawn?

Link to comment
Share on other sites

This could be a troll-like question, but given your admitted inexperience with frameworks I'm interested in your answer.

 

What does bloated mean to you?  When is a framework useful (or feature rich) and when is it bloated, where is the line drawn?

 

From my perspective, if it has code that I don't use then it is bloated. 

Link to comment
Share on other sites

I think you can take many approaches to finding a framework that you might get into then. 

 

  • The first is to simply find a framework that is lightweight or minimalist enough to suit your programming demeanour, there are plenty around.  Agile Toolkit and Simple PHP Framework come to mind off the top of my mind. 
     
  • The second approach you might take is utilizing only the parts of larger projects you need.  A great many frameworks are loosely coupled and do not explicitly rely on other components in the framework. 
     
  • Perhaps a third avenue available to you is to make use of a project like PEAR, again utilizing only the classes/modules you need. 
     
  • Rasmus Lerdorf  would probably suggest you to go the no-PHP Framework approach. 
     
  • Lastly would be the option to write your own, build up your own toolkit refine and refactor it make it the sharpest tool you have.
     

 

Give yourself some experience with frameworks, I would think most people interested in them try more than few.  I had been perfectly happy using PEAR for years before I tried CodeIgniter which I disliked, so I tried another and another.  You can learn for yourself whether its worth it or not to make use of a particular framework.

Link to comment
Share on other sites

This could be a troll-like question, but given your admitted inexperience with frameworks I'm interested in your answer.

 

What does bloated mean to you?  When is a framework useful (or feature rich) and when is it bloated, where is the line drawn?

 

From my perspective, if it has code that I don't use then it is bloated.

 

Yes, but bloated has a definition. It isn't opinion.

 

Simple fact is: if you don't use a framework you're wasting time and losing money. If you build your own framework, unless it is for commercial reasons, you're learning, bu wasting time, and losing money. ON top of that, don't just walk into projects thinking you can use your own framework. Big clients understand the value in using a well known framework: pool of developers who are instantly qualified to make amendments.

 

If you want less bloat, use a loosely coupled framework. Most modern frameworks are like this now - Zend Framework, Symfony2 as examples. Whatever you do, at least learn a framework :) I can have a blog built with admin capabilities, user registration, everything within 30 minutes by using a framework because I already have the module to plugin to that framework.

Link to comment
Share on other sites

  • 2 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.