Why do frameworks suck?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Why do frameworks suck?

Post by alex.barylski »

I'm googling around reading a few articles here and there and I stumble upon this:

http://digg.com/programming/5_Next_Gene ... Frameworks

I'm curious, if I were to ask, what kind of issues have you experienced in using frameworks that turned you off of using them? Lack of documentation/tutorials is a big one for me, most frameworks do exactly what I need them to, but in slightly different ways than I would, for any given reason...

What would be your reasons and/or experiences? Being specific as possible would be great too, please. :)
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Why do frameworks suck?

Post by Weirdan »

PCSpectra wrote: Why do frameworks suck?
Because they can?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Why do frameworks suck?

Post by Christopher »

PCSpectra wrote:most frameworks do exactly what I need them to, but in slightly different ways than I would
I think you just defined "suck" ;)

Now if you can define "slightly" think we can solve the problem.

I think it is funny that the comments to the article are mostly "You forgot XYZ framework!" :drunk:
(#10850)
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: Why do frameworks suck?

Post by kaisellgren »

I don't like the performance of all frameworks (except yii). Well, okay, CI has an adequate performance..

Another thing I do not like is the level of security and the amount of (read: lack of) security tools they provide. I always feel like recoding that part of the framework myself.. which kind of defeats the point of using a framework.

I guess they don't suck for "quick projects", but when you want to code something more seriously and you aim at something larger and better, I rather code all myself (and possibly use 3rd party libraries).
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Why do frameworks suck?

Post by alex.barylski »

I really think performance should be a minimal influence in selecting a framework.

What I hate is that bloated usually means *complex* -- Zend for instance.

I would prefer small, simple, more abstract, using resource intensive techniques, like reflection and other neat things to automate work and minimize code.

I would swallow the Zend performance if that were the case but it's not really, IMHO.

I'm starting to wonder if some people just take comfort in knowing the framework that holds up their site is a heavy weight. Like it gives them more a feeling of accomplishment without actually doing anything, just by virtue of including a million files of 10K lines each in their project.

I kid of course, but yet I'm partially serious, after reading some talks on SitePoint and Devnetwork that I dug up...

Come to think of, I recall starting with MFC, which is a bloated frmaework. I accomplished more with less code programming the WINAPI directly.

But my applications felt more complete having that heavy beast power it...it wasn't until years later that I grew tired of fixing code that was complex that I finally decided to get pedantic about DRY KISS.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Why do frameworks suck?

Post by Christopher »

You still haven't defined "slightly". I'd be interested in examples.
(#10850)
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Why do frameworks suck?

Post by Jonah Bron »

My preference is to to all my own coding. I've never used a framework (libraries yes, frameworks no). I suppose it's just psychological :crazy: , but I believe it's good to not be limited by other code, and to be able to do it yourself.
Post Reply