<?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>Ideal Websites Blog &#187; web development</title>
	<atom:link href="http://www.idealwebsites.co.uk/blog/tag/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idealwebsites.co.uk/blog</link>
	<description>News, articles and ideas from web development agency Ideal Websites Ltd.</description>
	<lastBuildDate>Tue, 04 Oct 2011 10:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>An introduction to OOP</title>
		<link>http://www.idealwebsites.co.uk/blog/2011/07/11/an-introduction-to-oop/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2011/07/11/an-introduction-to-oop/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 16:18:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Basics]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=280</guid>
		<description><![CDATA[Note: These posts are part of a series written by an Ideal Websites employee, who is currently training to become a PHP developer. Last time I spoke about functions, and while there is still a fair bit to say on the matter, I&#8217;m going to move forward a little and talk about OOP, as it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class="note">
<strong>Note:</strong> These posts are part of a series written by an Ideal Websites employee, who is currently training to become a PHP developer.
</div>
<p>Last time I spoke about functions, and while there is still a fair bit to say on the matter, I&#8217;m going to move forward a little and talk about <em>OOP</em>, as it&#8217;s a fairly important part of programming, especially in PHP 5 onwards. It stands for &#8216;<em>Object Oriented Programming</em>&#8216;, and is the basis of PHP frameworks such as the Zend Framework.</p>
<p>OOP revolves around <em>classes</em>, <em>objects</em> and <em>methods</em>. A <em>class</em> is a set of program statements that perform a specific tasks, and generally feature both variables and functions. <em>Objects</em> are the specific instances in which classes appear. A <em>method</em> is a predefined function of the object. Once the class has been defined, we can bring it in as much as we like, and each time we bring it in, it is a separate object, and can be affected independently of other objects.</p>
<p>The key point behind object orientated programming is that it is easily updatable and editable. To see OOP in action, see the following example:</p>
<p><code>&lt;?php</p>
<p>// In this case I'm going to use Simpsons characters</p>
<p>// define class<br />
class Character {<br />
	//define properties<br />
	public $name;<br />
	public $age;<br />
	public $job;</p>
<p>	// now we define the methods<br />
	public function sleep() {<br />
		echo $this->name." is sleeping&lt;br />";<br />
	}<br />
	public function work() {<br />
		echo $this->name." is at work&lt;br />";<br />
    	}<br />
	public function home() {<br />
		echo $this->name." is at home&lt;br />";<br />
	}<br />
}</code></p>
<p>Now we can use this class as a template and apply individual characteristics to each object:</p>
<p><code>&lt;?php</p>
<p>// create new object<br />
$homer = new Character;<br />
// define characteristics<br />
$homer->name = "Homer Simpson";<br />
$homer->age = "middle-aged";<br />
$homer->job = "nuclear safety technician";</p>
<p>// and again…<br />
$marge = new Character;<br />
$marge->name = "Marge Simpson";<br />
$marge->age = "middle-aged";<br />
$marge->job = "listen lady";</p>
<p>$bart = new Character;<br />
$bart->name = "Bart Simpson";<br />
$bart->age = "a kid";<br />
$bart->job = "hell raiser";</p>
<p>// then we can pull the methods from each class to make the objects interact</p>
<p>$homer->work();<br />
$homer->sleep();<br />
$marge->home();<br />
$bart->home();<br />
$bart->sleep();</code></p>
<p>You will notice that there are a few functions that don&#8217;t come into play. I will use this same code next time and go over some more things that can be done with object orientating programming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2011/07/11/an-introduction-to-oop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amalia Wealth goes live</title>
		<link>http://www.idealwebsites.co.uk/blog/2011/01/30/amalia-wealth-goes-live/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2011/01/30/amalia-wealth-goes-live/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 12:13:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Site launches]]></category>
		<category><![CDATA[amalia wealth]]></category>
		<category><![CDATA[financial advice]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[pension]]></category>
		<category><![CDATA[site launch]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=99</guid>
		<description><![CDATA[We are pleased to announce the launch of the new Amalia Wealth website. Amalia are a financial advice service based in Spain. They specialise in dealing with international clients, to work towards a long term goal. This site features live updates of global indices and and was built on Copia CMS.]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce the launch of the new <a href="http://www.amaliawealth.com/">Amalia Wealth</a> website. Amalia are a financial advice service based in Spain. They specialise in dealing with international clients, to work towards a long term goal.</p>
<p>This site features live updates of global indices and and was built on <a href="http://www.copiacms.com">Copia CMS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2011/01/30/amalia-wealth-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PCE Investors website</title>
		<link>http://www.idealwebsites.co.uk/blog/2010/11/15/new-pce-investors-website/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2010/11/15/new-pce-investors-website/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 14:16:36 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[finance]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[Site launches]]></category>
		<category><![CDATA[hedge fund]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[pce investors]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=90</guid>
		<description><![CDATA[PCE Investors, based on Regent Street, have a new website designed and built by Ideal Websites. PCE Investors are a an alternative investment company with offices in London, Madrid, New York, Toronto and Singapore.]]></description>
			<content:encoded><![CDATA[<p>PCE Investors, based on Regent Street, have a new website designed and built by Ideal Websites.</p>
<p><a href="http://www.pceinvestors.com" target="_blank">PCE Investors</a> are a an alternative investment company with offices in London, Madrid, New York, Toronto and Singapore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2010/11/15/new-pce-investors-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xenfin Capital goes live</title>
		<link>http://www.idealwebsites.co.uk/blog/2010/06/04/xenfin-capital-goes-live/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2010/06/04/xenfin-capital-goes-live/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 13:20:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[finance]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[Site launches]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[hedge fund]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=78</guid>
		<description><![CDATA[Forex traders Xenfin Capital have gone live on our Copia CMS website platform with a new website to provide information on their FX Currency Fund and forex market making activities. Headed by Duncan MacInnes from their London office, Xenfin Capital&#8217;s funds are completely systematic and rely heavily on their bespoke software for managing trading and [...]]]></description>
			<content:encoded><![CDATA[<p>Forex traders Xenfin Capital have gone live on our <a href="http://www.copiacms.co.uk">Copia CMS</a> website platform with a new website to provide information on their FX Currency Fund and forex market making activities.</p>
<p>Headed by Duncan MacInnes from their London office, Xenfin Capital&#8217;s funds are completely systematic and rely heavily on their bespoke software for managing trading and risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2010/06/04/xenfin-capital-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symbiosis launched by Ideal Websites</title>
		<link>http://www.idealwebsites.co.uk/blog/2010/04/14/symbiosis-launched-by-ideal-websites/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2010/04/14/symbiosis-launched-by-ideal-websites/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 10:10:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site launches]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[ideal websites]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=80</guid>
		<description><![CDATA[Symbiosis UK, based on London&#8217;s Regent Street have launched their new website, built by Ideal Websites. Symbiosis is a creative communications agency specialising in broadcast services, PR &#038; promotions and events &#038; exhibitions.]]></description>
			<content:encoded><![CDATA[<p>Symbiosis UK, based on London&#8217;s Regent Street have launched their new website, built by Ideal Websites.</p>
<p>Symbiosis is a creative communications agency specialising in broadcast services, PR &#038; promotions and events &#038; exhibitions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2010/04/14/symbiosis-launched-by-ideal-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Medway young business of the year</title>
		<link>http://www.idealwebsites.co.uk/blog/2008/11/17/medway-young-business-of-the-year/</link>
		<comments>http://www.idealwebsites.co.uk/blog/2008/11/17/medway-young-business-of-the-year/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 21:30:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[ideal websites]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[medway business awards]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.idealwebsites.co.uk/blog/?p=25</guid>
		<description><![CDATA[The results of the Medway Business Awards were announced on Friday and Ideal Websites were delighted to receive &#8216;young business of the year&#8217;. The evening was great fun, with the opportunity to chat to various local businesses over dinner. Congratulations to the other winners and our thanks to the sponsors. We&#8217;ll be sure to make [...]]]></description>
			<content:encoded><![CDATA[<p>The results of the Medway Business Awards were announced on Friday and Ideal Websites were delighted to receive &#8216;young business of the year&#8217;.</p>
<p>The evening was great fun, with the opportunity to chat to various local businesses over dinner. Congratulations to the other winners and our thanks to the sponsors. We&#8217;ll be sure to make good use of the novelty sized cheque.</p>
<p><a href="http://www.youtube.com/watch?v=3tckvx1VpzY">London Web Developers Ideal Websites on YouTube</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idealwebsites.co.uk/blog/2008/11/17/medway-young-business-of-the-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

