3 replies [Last post]
Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

If I had the energy and the time and wasn't so utterly despondent over stuff like this I would want to write a scathing polemic on the nature of frameworks in general a sort of companion thread to Resets considered harmful

I am having? to provide support and occasional customisation and bug fixing for an application built using the YII PHP framework and Blueprint CSS framework and believe me you have to work with this to fully realise what an unutterable nonsense both frameworks are in their unswerving ability to make even straightforward stuff impossible to deal with obscufated behind dozens of layers of pointless abstractions and unnecessary markup both unsemantic and bloated even to achieve a layout that we would consider something done in ones sleep without a second thought.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Tags:
Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 23 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Spot on Hugo.

Spot on Hugo.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 23 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Although to tell the truth I

Although to tell the truth I am really all that clear on just what is and what is not a "framework". Is a CMS like Drupal a "framework", or a blog like Wordpress, or is a "framework" something else? A quick search in google and Wikipedia doesn't make things much clearer to me.

Isn't HTML/CSS a "framwork" already? It's all so confusing.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

No Drupal or WordPress are

No Drupal or WordPress are not frameworks they are applications, applications that could have been built using a framework. Expression Engine, a CMS, is built using Code Ignitor a framework. CI provides the MVC framework the underlying structure of the application it says that all things are either one of a Model, a View (what is returned as the 'page')or a Controller. Models are the files that interact with the DB and provide classes, the Controller sits between the View and Model and instructs both. The framework does the grunt work of describing how everything fits together and interacts leaving the developer to create the controllers and views they need accessing various pre-built classes, all working in a pretty much to a OO method.

If one isn't happy with MVC or OO then they are a PITA the one I have to work with fractures the simplicity of a simple page so badly you want to cry trying to locate where in the incredibly dense overcrowded folder structure something simple like form dropdown is.

However in a generic sense yes pretty much anything that has a structure could be described as a framework HTML is a framework for describing data, Wordpress has a framework that exists in the core that describes libraries and include files, there is a method followed to generating a page which is structured.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me