If you don't know already, the framework is dead. That is to say, unless you have money to burn, frameworks like Zend, CakePHP, Django, Struts, .NET, and even Rails should not be considered as a foundation for building anything but the most unique and game changing websites*. The age of the framework for building websites is gone and it has been replaced by the open-source CMS or Content Management System.
Continuing on with the previous topic of essentially “what is Drupal?” we move on to the discussion of PHP and its importance in being able to build or maintain a Drupal website. (btw I’m totally assuming that you know that PHP is a programming language)
I'm working on an HTML5 theme for Drupal 7 right now, and I needed to change the meta content-type tag. By default it looks like this:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />, and I needed the updated HTML5 version:
<meta charset="utf-8" />. Normally, you can replace these things in one of the theme template files, but in this case, the meta tag was hard-coded in the Drupal source code somewhere, so I needed a programmatic solution. Here's what I found for both Drupal 6 and 7.