Components should not be stupid
Confining componentization to use of mod_include severely handicaps how smart our components can be. There's no complete programming language, access to database connections or caching. It's simplicity is its beauty and its curse; lightweight yes, but too much so.

A step up is of course PHP, it at least provides a programming framework and database connectivity.

If our content management system is to output ("bake") components that are to later build ("fry") the presentation, we at least must insist that they do what PHP does. Components that cannot calculate anything more substantial than time formats and pattern matches in environment variables (the limits of mod_include's capabilities) are going to be too stupid to do any heavy lifting with our content.

Slide 19 of 37 Contents
  1 |   2 |   3 |   4 |   5 |   6 |   7 |   8 |   9 | 10
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30
31 | 32 | 33 | 34 | 35 | 36 | 37
www.arachna.com > Educational Resources > Conference Presentations

spidaman
© 2000-2008 Ian Kallen | Copyright Notice