<?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>Tog &#187; php</title>
	<atom:link href="http://www.tog.ie/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tog.ie</link>
	<description>Dublin Hackerspace</description>
	<lastBuildDate>Wed, 01 Sep 2010 09:57:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP for Beginners</title>
		<link>http://www.tog.ie/2009/10/php-for-beginner/</link>
		<comments>http://www.tog.ie/2009/10/php-for-beginner/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 15:48:21 +0000</pubDate>
		<dc:creator>jane</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Workshop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.tog.ie/?p=287</guid>
		<description><![CDATA[PHP for beginner class. For a period of 5 weeks for 2.5 hours each week. €30 are charged for non-members. The workshop is free for members. First class in on the 3.11.09. Please fill out the form if you like to attend.   ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.design-mensch.de/images/php.jpg" alt="php script, hello friend" /></p>
<p>Sometimes you simply like to learn something from scratch. Here is your chance.</p>
<p>TOG proudly presents PHP for Beginners.</p>
<p>In 5 weeks we will cover the basics of PHP development. The classes are 2 and a half hours long. We&#8217;re keeping the class size small, with 5-7 participants. The course costs €30 for non-members and is free for TOG members. Participants must be at least 18 years old.</p>
<p><strong>Sorry, but this class is full. Maybe you got more luck next time. Please contact us, if you would like to join our next class.</strong><span id="more-287"></span></p>
<p>Here is an overview of what we would like to do during the weeks:</p>
<h3><span>Openingweek: 27.10.09 at 7 pm<br />
</span></h3>
<ul>
<li>Getting to know you</li>
<li>Introduction to TOG</li>
<li>Payment</li>
<li>Tea, coffee &amp; sweets</li>
</ul>
<h3><span>Week 1: 3.11.09 at 7:20 pm<br />
</span></h3>
<ul>
<li> Installation of APACHE and PHP</li>
<li> Introduction to the main config files
<ul>
<li> php.ini</li>
<li> httpd.conf</li>
</ul>
</li>
<li> Simple php script &#8220;Hello Workshop!&#8221;
<ul>
<li> PHP delimiters &lt;?php and ?&gt;</li>
<li> echo and print</li>
<li> short open tags (+ php.ini)</li>
</ul>
</li>
<li> Helpful variables and functions
<ul>
<li> $_SERVER</li>
<li> phpinfo()</li>
</ul>
</li>
</ul>
<p><a id="Week_2" name="Week_2"></a></p>
<h3><span> </span><span>Week 2: 10.11.09 at 7:20 pm </span></h3>
<ul>
<li> Firefox addons
<ul>
<li> Web Developer</li>
<li> Firebug</li>
<li> HTLM Developer</li>
<li> View Source Chart</li>
</ul>
</li>
<li> Structure of a valid HTML file</li>
</ul>
<pre> &lt;!DOCTYPE&gt;
 &lt;html&gt;
   &lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;
   &lt;body&gt;&lt;/body&gt;
 &lt;/html&gt;</pre>
<ul>
<li> Information about PHP
<ul>
<li> short history lesson</li>
<li> static vs dynamic</li>
<li> server side scripting language</li>
<li> no compiler</li>
</ul>
</li>
<li> Improve your &#8220;Hello Workshop!&#8221; script
<ul>
<li> add HTML structure to it (independent task)</li>
<li> integer variables: $x + $y</li>
<li> function output: round()</li>
</ul>
</li>
</ul>
<p><a id="Week_3" name="Week_3"></a></p>
<h3><span> </span> <span>Week 3:  17.11.09 at 7:20 pm<br />
</span></h3>
<ul>
<li> Input for your PHP script
<ul>
<li> via url &#8211;&gt; $_GET</li>
<li> via forms &#8211;&gt; $_POST</li>
</ul>
</li>
<li> PHP variables
<ul>
<li> naming rules, case-sensitive</li>
<li> variable types</li>
<li> type not set by the programmer but rather by the system at runtime</li>
<li> using variables: $x+$y, $x/$y, $x.$y</li>
</ul>
</li>
<li> Improve your &#8220;Hello Workshop!&#8221; script
<ul>
<li> $x and $y integers will be given through input fields and url</li>
<li> $x anf $y will be used to store first name and last name (indepentend task)</li>
</ul>
</li>
</ul>
<p><a id="Week_4" name="Week_4"></a></p>
<h3><span> </span><span>Week 4: 24.11.09 at 7:20 pm<br />
</span></h3>
<ul>
<li> Introduction to arrays
<ul>
<li> simple array: array(&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;);</li>
<li> print_r()</li>
<li> key =&gt; value pairs</li>
<li> integer key and string key</li>
<li> show that $_SERVER is an array</li>
<li> print array content: $data[0], $data['name']</li>
</ul>
</li>
<li> Improve your &#8220;Hello Workshop!&#8221; script
<ul>
<li> store first name and last name in an array and display it</li>
<li> add birthdate and e-mail input fields and add it to your array (independent task)</li>
</ul>
</li>
<li> Where to go from here?
<ul>
<li> Information could now be stored in database, textfile, &#8230;</li>
<li> This could be covered by another workshop</li>
</ul>
</li>
</ul>
<p><a id="Week_5" name="Week_5"></a></p>
<h3><span> </span> <span>Week 5: 1.12.09 at 7:20 pm </span></h3>
<ul>
<li> Loops and Conditions
<ul>
<li> foreach &#8211; loop</li>
<li> for &#8211; loop</li>
<li> if else &#8211; condition</li>
</ul>
</li>
<li> Improve your &#8220;Hello Workshop!&#8221; script
<ul>
<li> print the array with the help of foreach()</li>
</ul>
</li>
<li> Guess the number &#8211; Do it yourself task
<ul>
<li> use rand() to create a random number</li>
<li> input field for the user to guess the number</li>
<li> if else &#8211; condition to figure out if guess was correct</li>
<li> display message on the screen</li>
</ul>
</li>
</ul>
<p><!--more--></p>
[contact-form]
]]></content:encoded>
			<wfw:commentRss>http://www.tog.ie/2009/10/php-for-beginner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
