<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Steele Agency &#187; interactive marketing</title>
	<atom:link href="http://www.steele-agency.com/tag/interactive-marketing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.steele-agency.com</link>
	<description>Digital Marketing, Social Media, Web Development, QR Code Solutions, Digital Advertising in Northwest Georgia</description>
	<lastBuildDate>Mon, 19 Jul 2010 15:47:48 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is PHP?</title>
		<link>http://www.steele-agency.com/2010/01/what-is-php/</link>
		<comments>http://www.steele-agency.com/2010/01/what-is-php/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 20:27:17 +0000</pubDate>
		<dc:creator>Richard Royal</dc:creator>
				<category><![CDATA[Web & Tech News]]></category>
		<category><![CDATA[interactive marketing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[website design]]></category>

		<guid isPermaLink="false">http://www.steele-agency.com/?p=1160</guid>
		<description><![CDATA[This powerful but simple tool allows dynamic information to be reached or calculated and then translated into something a browser understands in real time.  Richard breaks down this complexity into easy to understand diagrams and analogies. ]]></description>
			<content:encoded><![CDATA[<p>We talk a lot about  <strong>Web 2.0</strong> technologies with our clients, but we rarely speak to the specific and complex technical aspects of our work. Of course, most people care and want to know that their information is secure and professionally presented, but not often enough do we get to experience the joy of explaining in painstaking detail the exact nature of computer protocol and web design.</p>
<h2>&lt;?PHP ?&gt;</h2>
<p><a href="http://www.php.net/"><img class="alignright" title="PHP chart" src="http://www.steele-agency.com/wp-content/images/phplogo.png" alt="PHP Chart" width="180" height="95" /></a></p>
<p>PHP  is a hypertext preprocessor, meaning that its function is to produce something functional; in this case HTML, the markup language that web browsers understand. This allows dynamic information to be reached or calculated and then translated into something a browser understands in real time. Without this capability, websites would be very static, non-interactive, and incapable of providing unique experiences for each viewer. Imagine a world without web-based client logins, bill-pay, or online forums like Facebook and Twitter.</p>
<h2>Order Of Events</h2>
<p>PHP is a scripting language that is hosted on a server and is executed by the server stack when a website is accessed.</p>
<p style="text-align: center;"><img class=" aligncenter" title="PHP chart" src="http://www.steele-agency.com/wp-content/images/chart.jpg" alt="PHP Chart" width="496" height="243" /></p>
<p>PHP can grab information stored in databases, talk to other computers and programs, and execute its own internal mathematical and logical functions in real time and produce the HTML website you see on your screen. In fact, this page you&#8217;re viewing now was highly preprocessed using PHP the moment you visited the page!</p>
<h2>PHPrimer</h2>
<p>A standard static webpage has the form:</p>
<p style="text-align: center;"><img class=" aligncenter" title="PHP chart" src="http://www.steele-agency.com/wp-content/images/html1.png" alt="PHP Chart" width="302" height="194" /></p>
<p>On a web server, a preprocessed web page looks more like:</p>
<p style="text-align: center;"><img class=" aligncenter" title="PHP chart" src="http://www.steele-agency.com/wp-content/images/html2.png" alt="PHP Chart" width="305" height="194" /></p>
<p>where $data may refer to information from a database or even a function that adds numbers together. Static HTML is incapable of this functionality. Most importantly, a user&#8217;s web browser only sees the result of the executed function. For example, if $data was a function that calculated the number of city residents that ordered a particular meal from a certain restaurant, then the browser would only see:</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class=" aligncenter" title="PHP chart" src="http://www.steele-agency.com/wp-content/images/html3.png" alt="PHP Chart" width="337" height="194" /></p>
<p>A simple diagram and a simple example, but a powerful tool in the web arsenal.</p>
<p style="text-align: center;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.steele-agency.com/2010/01/what-is-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
