PHP Introduction: Creating Templated Websites
What is PHP?
PHP is a server side scripting language that is embedded in HTML. This is the reason why PHP has become a very popular scripting language choice of web designers.
What Is Server Side Scripting?
Server-side scripting is a web server technology in which a user's (the person browsing the internet) request is fulfilled. The server runs a script directly on the web server to generate dynamic, interactive HTML pages.
This is different from client-side scripting where scripts are run by the viewer's web browser, usually in JavaScript, which the viewer must have enabled on his computer.
This tutorial will not be teaching you a lot of technical scripting, but, instead will show you some very simple PHP you can integrate into your webpages.
In this tutorial you will learn:
- what a templating system can do to create "dynamic" websites
- what a "variable" is
- how to use "HEREDOC" to create templates
- using inc.php and .php pages to optimize "meta tags" for Search Engines
Use PHP Templates: If you have a website that has five (5) or more pages, a navigation menu, a common header, footer and possibly a common "Cascading Style Sheet. Your website will be easier to edit and maintain.
