<?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>open source project, linux, java, php tips ,design</title>
	<atom:link href="http://www.alonon.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 08:51:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
   <image>
    <title>open source project, linux, java, php tips ,design</title>
    <url>alt="Anonymous&#8217;s avatar" src="http://www.gravatar.com/avatar/01c4a88a61aac0480b798249e1d39205?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" class="avatar avatar-48 photo</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>Notice: Use of undefined constant/variable</title>
		<link>http://www.alonon.net/notice-use-of-undefined-constantvariable/</link>
		<comments>http://www.alonon.net/notice-use-of-undefined-constantvariable/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 08:51:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[undefined constant]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=208</guid>
		<description><![CDATA[if you are taking a warning such as;

Notice: Use of undefined constant _HC_PKG_THEME &#8211; assumed &#8216;_HC_PKG_THEME&#8217; in ~\phpcoin\config.php on line 141
Notice: Use of undefined constant DIR &#8211; assumed &#8216;DIR&#8217; in ~\phpcoin\config.php on line 146
Notice: Use of undefined constant _HC_PKG_LANG &#8211; assumed &#8216;_HC_PKG_LANG&#8217; in ~\phpcoin\config.php on line 153
 find this in php.ini
error_reporting = E_A
and change with
error_reporting [...]]]></description>
			<content:encoded><![CDATA[<p>if you are taking a warning such as;</p>
<blockquote><p>
Notice: Use of undefined constant _HC_PKG_THEME &#8211; assumed &#8216;_HC_PKG_THEME&#8217; in ~\phpcoin\config.php on line 141<br />
Notice: Use of undefined constant DIR &#8211; assumed &#8216;DIR&#8217; in ~\phpcoin\config.php on line 146<br />
Notice: Use of undefined constant _HC_PKG_LANG &#8211; assumed &#8216;_HC_PKG_LANG&#8217; in ~\phpcoin\config.php on line 153</p></blockquote>
<p> find this in php.ini</p>
<blockquote><p>error_reporting = E_A</p></blockquote>
<p>and change with</p>
<blockquote><p>error_reporting = E_ALL &#038; ~E_NOTICE</p></blockquote>
<p>than restart apache.</p>

	Tags: <a href="http://www.alonon.net/tag/error/" title="error" rel="tag">error</a>, <a href="http://www.alonon.net/tag/php/" title="Php" rel="tag">Php</a>, <a href="http://www.alonon.net/tag/undefined-constant/" title="undefined constant" rel="tag">undefined constant</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/unlimited-subcategory-with-adjacency-list-model/" title="Unlimited Subcategory with Adjacency List Model (February 1, 2009)">Unlimited Subcategory with Adjacency List Model</a> (6)</li>
	<li><a href="http://www.alonon.net/ubuntu-install-gd-support-for-apach/" title="Ubuntu install GD support for apache (December 11, 2009)">Ubuntu install GD support for apache</a> (0)</li>
	<li><a href="http://www.alonon.net/mysql_insert_id/" title="mysql_insert_id (January 25, 2009)">mysql_insert_id</a> (0)</li>
	<li><a href="http://www.alonon.net/installing-apache-php-and-mysql-on-pardus/" title="installing apache php and mysql on Pardus (November 13, 2008)">installing apache php and mysql on Pardus</a> (0)</li>
	<li><a href="http://www.alonon.net/install-php-apache-mysql-phpmyadmin/" title="install php apache mysql phpmyadmin (January 1, 2009)">install php apache mysql phpmyadmin</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/notice-use-of-undefined-constantvariable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending e-mail in ssh</title>
		<link>http://www.alonon.net/sending-email-in-ssh/</link>
		<comments>http://www.alonon.net/sending-email-in-ssh/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 21:51:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mailx]]></category>
		<category><![CDATA[sendemail]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=194</guid>
		<description><![CDATA[While i was trying to configure postfix, i learnt to sending e-mail in ssh. There are some script to do this and i choose sendEmail to install
sendemail type:
sudo apt-get intstall sendemail
then you can type
sendemail -f {from} -t (emailto}
sendEmail -f ADDRESS [options]
Required:
-f ADDRESS                from (sender) email address
* At least one recipient required via -t, -cc, or [...]]]></description>
			<content:encoded><![CDATA[<p>While i was trying to configure postfix, i learnt to sending e-mail in ssh. There are some script to do this and i choose sendEmail to install</p>
<p>sendemail type:</p>
<p>sudo apt-get intstall sendemail</p>
<p>then you can type</p>
<p>sendemail -f {from} -t (emailto}</p>
<blockquote><p>sendEmail -f ADDRESS [options]</p>
<p>Required:<br />
-f ADDRESS                from (sender) email address<br />
* At least one recipient required via -t, -cc, or -bcc<br />
* Message body required via -m, STDIN, or -o message-file=FILE</p>
<p>Common:<br />
-t ADDRESS [ADDR ...]     to email address(es)<br />
-u SUBJECT                message subject<br />
-m MESSAGE                message body<br />
-s SERVER[:PORT]          smtp mail relay, default is localhost:25</p>
<p>Optional:<br />
-a   FILE [FILE ...]      file attachment(s)<br />
-cc  ADDRESS [ADDR ...]   cc  email address(es)<br />
-bcc ADDRESS [ADDR ...]   bcc email address(es)<br />
-xu  USERNAME             username for SMTP authentication<br />
-xp  PASSWORD             password for SMTP authentication</p>
<p>Paranormal:<br />
-b BINDADDR[:PORT]        local host bind address<br />
-l LOGFILE                log to the specified file<br />
-v                        verbosity, use multiple times for greater effect<br />
-q                        be quiet (i.e. no STDOUT output)<br />
-o NAME=VALUE             advanced options, for details try: &#8211;help misc<br />
-o message-file=FILE         -o message-format=raw<br />
-o message-header=HEADER     -o message-charset=CHARSET<br />
-o reply-to=ADDRESS          -o timeout=SECONDS<br />
-o username=USERNAME         -o password=PASSWORD<br />
-o tls=&lt;auto|yes|no&gt;         -o fqdn=FQDN</p>
<p>Help:<br />
&#8211;help                    the helpful overview you&#8217;re reading now<br />
&#8211;help addressing         explain addressing and related options<br />
&#8211;help message            explain message body input and related options<br />
&#8211;help networking         explain -s, -b, etc<br />
&#8211;help output             explain logging and other output options<br />
&#8211;help misc               explain -o options, TLS, SMTP auth, and more</p></blockquote>
<p>After that type your email and press ctrl+d:</p>
<p>Mar 04 21:44:24 power sendEmail[24236]: Message input complete.<br />
Mar 04 21:44:25 power sendEmail[24236]: Email was sent successfully!</p>
<p><strong>Second Way</strong></p>
<p>install mailx with:</p>
<blockquote><p>sudo apt-get install mailx</p></blockquote>
<p>to send email</p>
<p>mailx to@me.com</p>
<p>Subject: Write subject press enter</p>
<p>type here body press ctrl+d</p>
<p>CC: blank</p>

	Tags: <a href="http://www.alonon.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.alonon.net/tag/mailx/" title="mailx" rel="tag">mailx</a>, <a href="http://www.alonon.net/tag/sendemail/" title="sendemail" rel="tag">sendemail</a>, <a href="http://www.alonon.net/tag/ssh/" title="ssh" rel="tag">ssh</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/" title="Ubuntu 9.10, Karmic Koala, released‎ (October 31, 2009)">Ubuntu 9.10, Karmic Koala, released‎</a> (0)</li>
	<li><a href="http://www.alonon.net/ssh-shell-commands/" title="SSH Shell Commands (March 26, 2009)">SSH Shell Commands</a> (0)</li>
	<li><a href="http://www.alonon.net/some-tips-for-pardus/" title="Some tips for Pardus (March 11, 2009)">Some tips for Pardus</a> (0)</li>
	<li><a href="http://www.alonon.net/how-to-learn-your-linux-release/" title="How to learn your linux release (May 18, 2009)">How to learn your linux release</a> (3)</li>
	<li><a href="http://www.alonon.net/compile_c_cplus_in_linux/" title="Compile C C++ in linux (November 16, 2008)">Compile C C++ in linux</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/sending-email-in-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is my music !</title>
		<link>http://www.alonon.net/this-is-my-music/</link>
		<comments>http://www.alonon.net/this-is-my-music/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 17:26:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=190</guid>
		<description><![CDATA[I have to share this  !
Let&#8217;s dance &#38; drink   : ))

But first drink to dance.
The Rocky Road To Dublin (Sherlock Holmes Movie)

No tags for this post.
	Related posts
	
	No related posts.
	

]]></description>
			<content:encoded><![CDATA[<p>I have to share this  !</p>
<address>Let&#8217;s dance &amp; drink   : ))<br />
</address>
<p>But first drink to dance.</p>
<pre>The Rocky Road To Dublin (Sherlock Holmes Movie)</pre>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/4YF-v1NewrA&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/4YF-v1NewrA&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
No tags for this post.
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/this-is-my-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get page url with php</title>
		<link>http://www.alonon.net/how-to-get-page-url-with-php/</link>
		<comments>http://www.alonon.net/how-to-get-page-url-with-php/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 00:30:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[current page url]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[page url]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=187</guid>
		<description><![CDATA[I needed a function to get  (learn) url with php.
Here are the codes.
&#60;?php
function curPageURL() {
$pageURL = &#8216;http&#8217;;
if ($_SERVER["HTTPS"] == &#8220;on&#8221;) {$pageURL .= &#8220;s&#8221;;}
$pageURL .= &#8220;://&#8221;;
if ($_SERVER["SERVER_PORT"] != &#8220;80&#8243;) {
$pageURL .= $_SERVER["SERVER_NAME"].&#8221;:&#8221;.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $pageURL;
}
?&#62;
To use this function write
&#60;? echo curPageURL(); ?&#62;

	Tags: current page url, get, page url, Php

	Related posts
	
	Unlimited Subcategory with Adjacency List [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a function to get  (learn) url with php.<br />
Here are the codes.</p>
<blockquote><p>&lt;?php<br />
function curPageURL() {<br />
$pageURL = &#8216;http&#8217;;<br />
if ($_SERVER["HTTPS"] == &#8220;on&#8221;) {$pageURL .= &#8220;s&#8221;;}<br />
$pageURL .= &#8220;://&#8221;;<br />
if ($_SERVER["SERVER_PORT"] != &#8220;80&#8243;) {<br />
$pageURL .= $_SERVER["SERVER_NAME"].&#8221;:&#8221;.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];<br />
} else {<br />
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];<br />
}<br />
return $pageURL;<br />
}<br />
?&gt;</p></blockquote>
<p>To use this function write</p>
<p>&lt;? echo curPageURL(); ?&gt;</p>

	Tags: <a href="http://www.alonon.net/tag/current-page-url/" title="current page url" rel="tag">current page url</a>, <a href="http://www.alonon.net/tag/get/" title="get" rel="tag">get</a>, <a href="http://www.alonon.net/tag/page-url/" title="page url" rel="tag">page url</a>, <a href="http://www.alonon.net/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/unlimited-subcategory-with-adjacency-list-model/" title="Unlimited Subcategory with Adjacency List Model (February 1, 2009)">Unlimited Subcategory with Adjacency List Model</a> (6)</li>
	<li><a href="http://www.alonon.net/ubuntu-install-gd-support-for-apach/" title="Ubuntu install GD support for apache (December 11, 2009)">Ubuntu install GD support for apache</a> (0)</li>
	<li><a href="http://www.alonon.net/php-get-security/" title="Php Get Security (March 23, 2009)">Php Get Security</a> (0)</li>
	<li><a href="http://www.alonon.net/notice-use-of-undefined-constantvariable/" title="Notice: Use of undefined constant/variable (March 12, 2010)">Notice: Use of undefined constant/variable</a> (0)</li>
	<li><a href="http://www.alonon.net/mysql_insert_id/" title="mysql_insert_id (January 25, 2009)">mysql_insert_id</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-get-page-url-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best text editor: Vim</title>
		<link>http://www.alonon.net/the-best-text-editor-vim/</link>
		<comments>http://www.alonon.net/the-best-text-editor-vim/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 15:14:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[install vim]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=182</guid>
		<description><![CDATA[Vim is the best text editor, i have ever used.  I&#8217;m using vim while coding with pyton,html and css.
How to install vim
sudo apt-get install vim vim-common vim-gnome
Usage and some features
You can open a file with using: vi open_me.txt

Command mode: letters or sequence of letters            [...]]]></description>
			<content:encoded><![CDATA[<p>Vim is the best text editor, i have ever used.  I&#8217;m using vim while coding with pyton,html and css.</p>
<p><strong>How to install vim</strong></p>
<blockquote><p>sudo apt-get install vim vim-common vim-gnome</p></blockquote>
<p><strong>Usage and some features</strong></p>
<p>You can open a file with using: vi open_me.txt</p>
<ol>
<li><strong>Command mode:</strong> letters or sequence of letters             interactively command vi. Commands are case sensitive.             The ESC key can end a command.</li>
<li><strong>Insert mode:</strong> Text is inserted. The ESC key             ends insert mode and returns you to command mode. One             can enter insert mode with the &#8220;i&#8221; (insert), &#8220;a&#8221;             (insert after), &#8220;A&#8221; (insert at end of line), &#8220;o&#8221; (open             new line after current line) or &#8220;O&#8221; (Open line above             current line) commands.</li>
<li><strong>Command line mode:</strong> One enters this mode by             typing &#8220;:&#8221; which puts the command line entry at the             foot of the screen.</li>
</ol>
<p>there are some usefull commands, i took the image from &#8220;Learning the vi and Vim Editors&#8221; books. You can look over if  you want.</p>
<p><a href="http://www.alonon.net/wp-content/uploads//2010/02/vim_shourtcut.png"><img class="aligncenter size-full wp-image-183" title="vim_shourtcut" src="http://www.alonon.net/wp-content/uploads//2010/02/vim_shourtcut.png" alt="" width="832" height="349" /></a></p>

	Tags: <a href="http://www.alonon.net/tag/editor/" title="editor" rel="tag">editor</a>, <a href="http://www.alonon.net/tag/install-vim/" title="install vim" rel="tag">install vim</a>, <a href="http://www.alonon.net/tag/text/" title="text" rel="tag">text</a>, <a href="http://www.alonon.net/tag/vi/" title="vi" rel="tag">vi</a>, <a href="http://www.alonon.net/tag/vim/" title="vim" rel="tag">vim</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/the-best-text-editor-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Go !</title>
		<link>http://www.alonon.net/google-go/</link>
		<comments>http://www.alonon.net/google-go/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 13:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[programing language]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=178</guid>
		<description><![CDATA[Google Go !
Yeni ürün ve hizmet duyuruları ile adını sık sık duyduğumuz, büyük firmaları kendi bünyesine katarak hızla büyüyen Google; Android, Chrome derken şimdi de yeni bir programlama dili ile karşımızda. Robert Griesemer, Ken Thompson ve Rob Pike&#8217;ın 2007&#8242;nin sonlarına doğru geliştirmeye başladıkları Go dili 2008&#8242;in ortalarına doğru bir şekil almaya başlamış. Bu yazıda Go [...]]]></description>
			<content:encoded><![CDATA[<p>Google Go !</p>
<p>Yeni ürün ve hizmet duyuruları ile adını sık sık duyduğumuz, büyük firmaları kendi bünyesine katarak hızla büyüyen Google; Android, Chrome derken şimdi de yeni bir programlama dili ile karşımızda. Robert Griesemer, Ken Thompson ve Rob Pike&#8217;ın 2007&#8242;nin sonlarına doğru geliştirmeye başladıkları Go dili 2008&#8242;in ortalarına doğru bir şekil almaya başlamış. Bu yazıda Go dilinin özelliklerinden, yeniliklerden çalışma prensibinden bahsedip bir kaç küçük kod örneğide vereceğim.</p>
<p>Neden çıktı bu Go ?</p>
<p>Go&#8217;nun kendi sitesindeki bilgilere göre:  makinelerin hızlarındaki gelişim yavaşlarken, yazılımların hızla gelişmesi.  Google bu işin geleceğini düşünüp, eğer yeni bir şeyler yapılmazsa, yazılımların git gite daha yavaş çalışacağını söylüyor. Buna ek olarak bir yazılım geliştirme sürecinin gerçekten uzun bir süreç olduğundan bahsediyor. Bütün bunların önüne geçmek için daha hızlı ve eğlenceli Go&#8217;yu karşımıza çıkarmış.</p>
<p>Go&#8217;nun özellikleri</p>
<p>Go&#8217;nun en büyük hedeflerinden biri static-type bir dilin verimliliği ile dynamic-type olan bir dilin kolaylılığı birleştirmek.  Bu yüzden Go için Python ve C++&#8217;ın bir karışımı diyebiliriz. Bir de derleme derleme hızını arttırdıklarını söylüyor. Dökümanlarına derleme hızının yavaşlığı anlatan hoş bir karikatürü eklemişler hemen paylaşayım.</p>
<div id="lp6w" style="text-align: left;">
<div style="text-align: center;"><img style="width: 413px; height: 360px;" src="File?id=ddp697r3_10d3pcksnt_b" alt="" /></p>
<div style="text-align: left;">Go, C++ gibi derlenen bir dil ve şuan için iki adet derleyicisi var 6g ve gccgo. Hemen şunuda belirtelim ki şu an için Windows altında çalışmıyor. (Geliştirici sayısı az olduğu için Windows desteğini çıkartamamışlar.  Çokta önemli bir özellik değil zaten değil mi ?) Sıkça sorulan sorular sayfasında  &#8220;Go nesne yönelimli bir proglama dili midir ?&#8221; sorusuna hem evet hemde hayır olarak cevap vermişler.  Birçok nesne yönelimli programlama dilinin özelliklerine sahip iken, tip hiyerarşisine sahip değil. Yine Go&#8217;nun kendi sayfasından bir örnek kod.</p>
<blockquote><p>package main</p>
<p>import fmt &#8220;fmt&#8221;</p>
<p>func main () {</p>
<p>fmt.Printf(&#8220;Hello, world; or Καλημέρα κόσμε; or こんにちは 世界\n&#8221;); // utf-8 desteğine dikkat : )</p>
<p>}</p></blockquote>
</div>
</div>
<p>6g ile derleyelim</p>
<blockquote><p><span style="font-family: Courier New;"> 6g helloworld.go # compile; object goes into helloworld.6</span></p>
<p><span style="font-family: Courier New;"> 6l helloworld.6 # link; output goes into 6.out</span></p>
<p><span style="font-family: Courier New;"> 6.out</span></p>
<p><span style="font-family: Courier New;"> Hello, world; or Καλημέρα κόσμε; or こんにちは 世界</span></p></blockquote>
<p>gccgo ile derleyelim</p>
<blockquote><p><span style="font-family: Courier New;">gccgo helloworld.go</span></p>
<p><span style="font-family: Courier New;">a.out</span></p>
<p><span style="font-family: Courier New;"> Hello, world; or Καλημέρα κόσμε; or こんにちは 世界</span></p></blockquote>
</div>
<p>Son olarak Go&#8217;nun deneme aşamasında olduğunu hatırlatırım. Kim bilir belki ileride okullarımızda Google&#8217;ın Go&#8217;su öğretilir <img src='http://www.alonon.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Kaynaklar:</p>
<p>golang.org</p>
<p>Ek: Go&#8217;nun maskotu http://imgur.com/U8HcM.gif</p>
<p>Onur AKTAS</p>
<p>http://www.alonon.net</p>

	Tags: <a href="http://www.alonon.net/tag/go/" title="go" rel="tag">go</a>, <a href="http://www.alonon.net/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://www.alonon.net/tag/programing-language/" title="programing language" rel="tag">programing language</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/google-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu install GD support for apache</title>
		<link>http://www.alonon.net/ubuntu-install-gd-support-for-apach/</link>
		<comments>http://www.alonon.net/ubuntu-install-gd-support-for-apach/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 13:26:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=172</guid>
		<description><![CDATA[command:
sudo apt-get install php5-gd
Don&#8217;t forget to restart apache
service apache2 restart

	Tags: apache, gd, Php

	Related posts
	
	installing apache php and mysql on Pardus (0)
	install php apache mysql phpmyadmin (1)
	Unlimited Subcategory with Adjacency List Model (6)
	Notice: Use of undefined constant/variable (0)
	mysql_insert_id (0)


]]></description>
			<content:encoded><![CDATA[<p>command:</p>
<blockquote><p><code>sudo apt-get install php5-gd</code></p></blockquote>
<p>Don&#8217;t forget to restart apache</p>
<p>service apache2 restart</p>

	Tags: <a href="http://www.alonon.net/tag/apache/" title="apache" rel="tag">apache</a>, <a href="http://www.alonon.net/tag/gd/" title="gd" rel="tag">gd</a>, <a href="http://www.alonon.net/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/installing-apache-php-and-mysql-on-pardus/" title="installing apache php and mysql on Pardus (November 13, 2008)">installing apache php and mysql on Pardus</a> (0)</li>
	<li><a href="http://www.alonon.net/install-php-apache-mysql-phpmyadmin/" title="install php apache mysql phpmyadmin (January 1, 2009)">install php apache mysql phpmyadmin</a> (1)</li>
	<li><a href="http://www.alonon.net/unlimited-subcategory-with-adjacency-list-model/" title="Unlimited Subcategory with Adjacency List Model (February 1, 2009)">Unlimited Subcategory with Adjacency List Model</a> (6)</li>
	<li><a href="http://www.alonon.net/notice-use-of-undefined-constantvariable/" title="Notice: Use of undefined constant/variable (March 12, 2010)">Notice: Use of undefined constant/variable</a> (0)</li>
	<li><a href="http://www.alonon.net/mysql_insert_id/" title="mysql_insert_id (January 25, 2009)">mysql_insert_id</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/ubuntu-install-gd-support-for-apach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>python hex to dec and dec to hex converter</title>
		<link>http://www.alonon.net/python-hex-to-dec-and-dec-to-he/</link>
		<comments>http://www.alonon.net/python-hex-to-dec-and-dec-to-he/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 17:03:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[dcimal]]></category>
		<category><![CDATA[hex]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=170</guid>
		<description><![CDATA[# change a hexadecimal string to decimal number and reverse
# check two different representations of the hexadecimal string
# negative values and zero are accepted
# tested with Python24        vegaseat     11oct2005
def dec2hex(n):
&#8220;&#8221;"return the hexadecimal string representation of integer n&#8221;"&#8221;
return &#8220;%X&#8221; % n
def hex2dec(s):
&#8220;&#8221;"return the integer value of a hexadecimal string s&#8221;"&#8221;
return int(s, 16)
print &#8220;dec2hex(255)  =&#8221;, dec2hex(255)    # [...]]]></description>
			<content:encoded><![CDATA[<p># change a hexadecimal string to decimal number and reverse<br />
# check two different representations of the hexadecimal string<br />
# negative values and zero are accepted<br />
# tested with Python24        vegaseat     11oct2005</p>
<p>def dec2hex(n):<br />
&#8220;&#8221;"return the hexadecimal string representation of integer n&#8221;"&#8221;<br />
return &#8220;%X&#8221; % n</p>
<p>def hex2dec(s):<br />
&#8220;&#8221;"return the integer value of a hexadecimal string s&#8221;"&#8221;<br />
return int(s, 16)</p>
<p>print &#8220;dec2hex(255)  =&#8221;, dec2hex(255)    # FF<br />
print &#8220;hex2dec(&#8216;FF&#8217;) =&#8221;, hex2dec(&#8216;FF&#8217;)   # 255</p>
<p>print</p>
<p>print &#8220;hex(255) =&#8221;, hex(255)                # 0xff<br />
print &#8220;hex2dec(&#8216;0xff&#8217;) =&#8221;, hex2dec(&#8216;0xff&#8217;)  # 255</p>

	Tags: <a href="http://www.alonon.net/tag/converter/" title="converter" rel="tag">converter</a>, <a href="http://www.alonon.net/tag/dcimal/" title="dcimal" rel="tag">dcimal</a>, <a href="http://www.alonon.net/tag/hex/" title="hex" rel="tag">hex</a>, <a href="http://www.alonon.net/tag/python/" title="python" rel="tag">python</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/after-long-break/" title="After long break &#8230; (August 11, 2009)">After long break &#8230;</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/python-hex-to-dec-and-dec-to-he/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10, Karmic Koala, released‎</title>
		<link>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/</link>
		<comments>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 16:16:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=162</guid>
		<description><![CDATA[Ubuntu 9.10 has released, it has some new faetures, i shared a few of them. For more
Store, sync and share

Integrated &#8220;Ubuntu One&#8221; technology gives you 2 GB of online storage for free. Easily share files between your own and your friends&#8217; computers. Upgrade at low cost for more storage if you need it.

Software Center
Instant access [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10 has released, it has some new faetures, i shared a few of them. <a href="http://www.ubuntu.com/">For more</a></p>
<h2>Store, sync and share</h2>
<p><img class="alignright" src="http://www.ubuntu.com/files/masthead/910/tour/ubuntu-910-share-files.jpg" alt="" width="301" height="132" /><br />
Integrated &#8220;Ubuntu One&#8221; technology gives you 2 GB of online storage for free. Easily share files between your own and your friends&#8217; computers. Upgrade at low cost for more storage if you need it.<br />
<img src="http://www.ubuntu.com/files/masthead/910/tour/ubuntu-910-software-center.jpg" alt="" /></p>
<h2>Software Center</h2>
<p>Instant access to thousands of free and open-source                applications</p>
<p>Categories include: Education, Games, Sound and Video, Graphics,                Programming and Office.</p>
<p>Simply select the applications you want to use and the Software                Center will add them to your computer</p>
<p>No CDs, no licenses, no hassle.</p>
<h2>Download Ubuntu 9.10</h2>
<ul>
<li><a href="http://noncdn.releases.ubuntu.com//9.10/ubuntu-9.10-desktop-amd64.iso.torrent" target="_blank">Bittorent links (64 bit)</a> and <a href="http://noncdn.releases.ubuntu.com//9.10/ubuntu-9.10-desktop-i386.iso.torrent" target="_blank">32 bit</a></li>
<li><a href="http://mirror.its.uidaho.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso" target="_blank">Direct ISO CD Images 32 bit</a></li>
<li><a href="http://mirror.its.uidaho.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso" target="_blank">Direct ISO CD Images 64 bit</a></li>
<li><a href="http://www.ubuntu.com/getubuntu/download" target="_blank">Mirror list</a></li>
</ul>

	Tags: <a href="http://www.alonon.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.alonon.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.alonon.net/tag/ubuntu-9-10/" title="ubuntu 9.10" rel="tag">ubuntu 9.10</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/some-tips-for-pardus/" title="Some tips for Pardus (March 11, 2009)">Some tips for Pardus</a> (0)</li>
	<li><a href="http://www.alonon.net/sending-email-in-ssh/" title="Sending e-mail in ssh (March 4, 2010)">Sending e-mail in ssh</a> (0)</li>
	<li><a href="http://www.alonon.net/install-php-apache-mysql-phpmyadmin/" title="install php apache mysql phpmyadmin (January 1, 2009)">install php apache mysql phpmyadmin</a> (1)</li>
	<li><a href="http://www.alonon.net/how-to-learn-your-linux-release/" title="How to learn your linux release (May 18, 2009)">How to learn your linux release</a> (3)</li>
	<li><a href="http://www.alonon.net/dns-cache-with-dnsmasq/" title="Dns Cache with dnsmasq (September 5, 2009)">Dns Cache with dnsmasq</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Patterns</title>
		<link>http://www.alonon.net/design-patterns/</link>
		<comments>http://www.alonon.net/design-patterns/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 16:10:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[singleton]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=156</guid>
		<description><![CDATA[Design patterns is used in software to solve common problem. They can be grouped into 3 category (Creational patterns, Structural patterns, and Behavioral patterns)
You can find some information about design patterns here

Creational Patterns

Abstract Factory (87) 
Provide an interface for creating families of related or dependent objects without specifying their concrete classes. 
Builder (97) 
Separate the [...]]]></description>
			<content:encoded><![CDATA[<p>Design patterns is used in software to solve common problem. They can be grouped into 3 category (Creational patterns, Structural patterns, and Behavioral patterns)</p>
<p>You can find some information about design patterns <a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/patcafso.htm">here</a></p>
<blockquote>
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap3fs.htm" target="_mainDisplayFrame">Creational Patterns</a></h2>
<dl><a name="absfact"></a>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3afs.htm" target="_mainDisplayFrame">Abstract Factory (87)</a></strong> </dt>
<dd>Provide an interface for creating families of related or dependent objects without specifying their concrete classes. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3bfs.htm" target="_mainDisplayFrame">Builder (97)</a></strong> </dt>
<dd>Separate the construction of a complex object from its representation so that the same construction process can create different representations.  <a name="cat-factory"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3cfs.htm" target="_mainDisplayFrame">Factory Method (107)</a></strong> </dt>
<dd>Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.  <a name="cat-proto"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3dfs.htm" target="_mainDisplayFrame">Prototype (117)</a></strong> </dt>
<dd>Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.  <a name="cat-single"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3efs.htm" target="_mainDisplayFrame">Singleton (127)</a></strong> </dt>
<dd>Ensure a class only has one instance, and provide a global point of access to it.</p>
<p><a name="disc3"></a></p>
</dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/disc3fs.htm" target="_mainDisplayFrame">Discussion of Creational Patterns</a></strong> </dt>
</dl>
<p><a name="structural"></a></p>
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap4fs.htm" target="_mainDisplayFrame">Structural Patterns</a></h2>
<dl><a name="adapter"></a>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4afs.htm" target="_mainDisplayFrame">Adapter (139)</a></strong> </dt>
<dd>Convert the interface of a class into another interface clients expect.  Adapter lets classes work together that couldn&#8217;t otherwise because of incompatible interfaces. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4bfs.htm" target="_mainDisplayFrame">Bridge (151)</a></strong> </dt>
<dd>Decouple an abstraction from its implementation so that the two can vary independently. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4cfs.htm" target="_mainDisplayFrame">Composite (163)</a></strong> </dt>
<dd>Compose objects into tree structures to represent part-whole hierarchies.  Composite lets clients treat individual objects and compositions of objects uniformly.  <a name="cat-dec"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4dfs.htm" target="_mainDisplayFrame">Decorator (175)</a></strong> </dt>
<dd>Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.  <a name="cat-facade"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4efs.htm" target="_mainDisplayFrame">Facade (185)</a></strong> </dt>
<dd>Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.  <a name="cat-flywt"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4ffs.htm" target="_mainDisplayFrame">Flyweight (195)</a></strong> </dt>
<dd>Use sharing to support large numbers of fine-grained objects efficiently.  <a name="cat-proxy"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4gfs.htm" target="_mainDisplayFrame">Proxy (207)</a></strong> </dt>
<dd>Provide a surrogate or placeholder for another object to control access to it.</p>
<p><a name="disc4"></a></p>
</dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/disc4fs.htm" target="_mainDisplayFrame">Discussion of Structural Patterns</a></strong> </dt>
</dl>
<p><a name="behavioral"></a></p>
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap5fs.htm" target="_mainDisplayFrame">Behavioral Patterns</a></h2>
<dl>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5afs.htm" target="_mainDisplayFrame">Chain of Responsibility (223)</a></strong> </dt>
<dd>Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.  Chain the receiving objects and pass the request along the chain until an object handles it. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5bfs.htm" target="_mainDisplayFrame">Command (233)</a></strong> </dt>
<dd>Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5cfs.htm" target="_mainDisplayFrame">Interpreter (243)</a></strong> </dt>
<dd>Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5dfs.htm" target="_mainDisplayFrame">Iterator (257)</a></strong> </dt>
<dd>Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.  <a name="cat-media"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5efs.htm" target="_mainDisplayFrame">Mediator (273)</a></strong> </dt>
<dd>Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.  <a name="cat-memen"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5ffs.htm" target="_mainDisplayFrame">Memento (283)</a></strong> </dt>
<dd>Without violating encapsulation, capture and externalize an object&#8217;s internal state so that the object can be restored to this state later. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5gfs.htm" target="_mainDisplayFrame">Observer (293)</a></strong> </dt>
<dd>Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.  <a name="cat-state"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5hfs.htm" target="_mainDisplayFrame">State (305)</a></strong> </dt>
<dd>Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.  <a name="cat-strat"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5ifs.htm" target="_mainDisplayFrame">Strategy (315)</a></strong> </dt>
<dd>Define a family of algorithms, encapsulate each one, and make them interchangeable.  Strategy lets the algorithm vary independently from clients that use it.  <a name="cat-tempmeth"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5jfs.htm" target="_mainDisplayFrame">Template Method (325)</a></strong> </dt>
<dd>Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm&#8217;s structure.  <a name="cat-visit"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5kfs.htm" target="_mainDisplayFrame">Visitor (331)</a></strong> </dt>
</dl>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap3fs.htm" target="_mainDisplayFrame">Creational Patterns</a></h2>
<dl><a name="absfact"></a>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3afs.htm" target="_mainDisplayFrame">Abstract Factory (87)</a></strong> </dt>
<dd>Provide an interface for creating families of related or dependent objects without specifying their concrete classes. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3bfs.htm" target="_mainDisplayFrame">Builder (97)</a></strong> </dt>
<dd>Separate the construction of a complex object from its representation so that the same construction process can create different representations.  <a name="cat-factory"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3cfs.htm" target="_mainDisplayFrame">Factory Method (107)</a></strong> </dt>
<dd>Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.  <a name="cat-proto"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3dfs.htm" target="_mainDisplayFrame">Prototype (117)</a></strong> </dt>
<dd>Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.  <a name="cat-single"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat3efs.htm" target="_mainDisplayFrame">Singleton (127)</a></strong> </dt>
<dd>Ensure a class only has one instance, and provide a global point of access to it.</p>
<p><a name="disc3"></a></p>
</dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/disc3fs.htm" target="_mainDisplayFrame">Discussion of Creational Patterns</a></strong> </dt>
</dl>
<p><a name="structural"></a></p>
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/patcat.htm#behavioral"><img src="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/gifsb/down3.gif" border="0" alt="next:  Behavioral Patterns" width="12" height="18" /></a> <a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap4fs.htm" target="_mainDisplayFrame">Structural Patterns</a></h2>
<dl><a name="adapter"></a>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4afs.htm" target="_mainDisplayFrame">Adapter (139)</a></strong> </dt>
<dd>Convert the interface of a class into another interface clients expect.  Adapter lets classes work together that couldn&#8217;t otherwise because of incompatible interfaces. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4bfs.htm" target="_mainDisplayFrame">Bridge (151)</a></strong> </dt>
<dd>Decouple an abstraction from its implementation so that the two can vary independently. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4cfs.htm" target="_mainDisplayFrame">Composite (163)</a></strong> </dt>
<dd>Compose objects into tree structures to represent part-whole hierarchies.  Composite lets clients treat individual objects and compositions of objects uniformly.  <a name="cat-dec"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4dfs.htm" target="_mainDisplayFrame">Decorator (175)</a></strong> </dt>
<dd>Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.  <a name="cat-facade"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4efs.htm" target="_mainDisplayFrame">Facade (185)</a></strong> </dt>
<dd>Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.  <a name="cat-flywt"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4ffs.htm" target="_mainDisplayFrame">Flyweight (195)</a></strong> </dt>
<dd>Use sharing to support large numbers of fine-grained objects efficiently.  <a name="cat-proxy"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat4gfs.htm" target="_mainDisplayFrame">Proxy (207)</a></strong> </dt>
<dd>Provide a surrogate or placeholder for another object to control access to it.</p>
<p><a name="disc4"></a></p>
</dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/disc4fs.htm" target="_mainDisplayFrame">Discussion of Structural Patterns</a></strong> </dt>
</dl>
<p><a name="behavioral"></a></p>
<h2><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/patcat.htm#last"><img src="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/gifsb/down3.gif" border="0" alt="next:  navigation" width="12" height="18" /></a> <a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/chap5fs.htm" target="_mainDisplayFrame">Behavioral Patterns</a></h2>
<dl>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5afs.htm" target="_mainDisplayFrame">Chain of Responsibility (223)</a></strong> </dt>
<dd>Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.  Chain the receiving objects and pass the request along the chain until an object handles it. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5bfs.htm" target="_mainDisplayFrame">Command (233)</a></strong> </dt>
<dd>Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5cfs.htm" target="_mainDisplayFrame">Interpreter (243)</a></strong> </dt>
<dd>Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5dfs.htm" target="_mainDisplayFrame">Iterator (257)</a></strong> </dt>
<dd>Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.  <a name="cat-media"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5efs.htm" target="_mainDisplayFrame">Mediator (273)</a></strong> </dt>
<dd>Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.  <a name="cat-memen"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5ffs.htm" target="_mainDisplayFrame">Memento (283)</a></strong> </dt>
<dd>Without violating encapsulation, capture and externalize an object&#8217;s internal state so that the object can be restored to this state later. </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5gfs.htm" target="_mainDisplayFrame">Observer (293)</a></strong> </dt>
<dd>Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.  <a name="cat-state"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5hfs.htm" target="_mainDisplayFrame">State (305)</a></strong> </dt>
<dd>Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.  <a name="cat-strat"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5ifs.htm" target="_mainDisplayFrame">Strategy (315)</a></strong> </dt>
<dd>Define a family of algorithms, encapsulate each one, and make them interchangeable.  Strategy lets the algorithm vary independently from clients that use it.  <a name="cat-tempmeth"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5jfs.htm" target="_mainDisplayFrame">Template Method (325)</a></strong> </dt>
<dd>Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm&#8217;s structure.  <a name="cat-visit"></a> </dd>
<dt><strong><a href="http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/book/hires/pat5kfs.htm" target="_mainDisplayFrame">Visitor (331)</a></strong> </dt>
<dd>Represent an operation to be performed on the elements of an object structure.  Visitor lets you define a new operation without changing the classes of the elements on which it operates. </dd>
</dl>
</div>
<dd>Represent an operation to be performed on the elements of an object structure.  Visitor lets you define a new operation without changing the classes of the elements on which it operates. </dd>
</blockquote>

	Tags: <a href="http://www.alonon.net/tag/cpp/" title="C++" rel="tag">C++</a>, <a href="http://www.alonon.net/tag/design-patterns/" title="design patterns" rel="tag">design patterns</a>, <a href="http://www.alonon.net/tag/java/" title="Java" rel="tag">Java</a>, <a href="http://www.alonon.net/tag/singleton/" title="singleton" rel="tag">singleton</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alonon.net/my-c-homework/" title="My C++ Homework (May 18, 2009)">My C++ Homework</a> (0)</li>
	<li><a href="http://www.alonon.net/compile_c_cplus_in_linux/" title="Compile C C++ in linux (November 16, 2008)">Compile C C++ in linux</a> (0)</li>
	<li><a href="http://www.alonon.net/c-friend-functions/" title="C++ Friend Functions (December 15, 2008)">C++ Friend Functions</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/design-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
