Anorgan’s blog about stuff

Tag: smarty

PHP and template engines (and some other stuff)

by Anorgan on Jun.28, 2008, under Web

I’m developing web sites for quite some time now, started when i was… Young? Yellow? Well, started a long time a go in a galaxy… AARGH! Can’t get Star Wars out of my life! Anyway. In the beginning i was using the good old php mess approach:

echo '<ul>';
foreach($array as $item) {
echo '<li>Some $item here</li>';
}
echo '<ul>';

And so on. For onepagers this was enough. So i stumbled accross mambo (former Joomla) and saw the raw power of cms and, well for me, good coding. K, let’s make ourselves a content management system. But how? What do we need? The neccesary ingridients where these:

  • Apache with php (obvious)
  • MySQL database (oh, what’s this database thing for?)
  • foresight

What’s the most important? No, wrong, not coffee. Foresight! Without analyzing and planning the outcome can’t be good. I started to code. Heavily. Took a good number of different approaches, all ended bit dull and like they couldn’t take on serious tasks.

(continue reading…)

1 Comment :, , , , more...

Looking for something?

Use the form below to search the site:

May be of interest!

A few recommended sites...

Archives

All entries, chronologically...