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.
Spot on Hugo.
Spot on Hugo.
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.
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.