<?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>Byumut &#187; ajax</title>
	<atom:link href="http://www.byumut.com/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.byumut.com</link>
	<description>&#34; En büyük risk, risk almamaktır.... &#34;</description>
	<lastBuildDate>Tue, 27 Sep 2011 18:40:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eskilerden Ajax Bul Uygulaması :)</title>
		<link>http://www.byumut.com/eskilerden-ajax-bul-uygulamasi/</link>
		<comments>http://www.byumut.com/eskilerden-ajax-bul-uygulamasi/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 19:55:10 +0000</pubDate>
		<dc:creator>byumut</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax bul]]></category>
		<category><![CDATA[bul]]></category>
		<category><![CDATA[php ara]]></category>
		<category><![CDATA[str_replace]]></category>

		<guid isPermaLink="false">http://www.byumut.com/?p=317</guid>
		<description><![CDATA[Merhaba arkadaşlar uzun zaman öncesinden yazmış olduğum o zamanlar ne için yazdığımı tam bilmediğim bir uygulamayı sizlerle paylaşmak istiyorum . Uygulama aslında basit bir metin veriyorsunuz ve bu metin içerisinde istediğiniz sözcüğü arayıp renklendiriyor ama dahada geliştirilebilir ve yeni özellikler katılarak değişik uygulamalarda kullanılabilir diye düşünüyorum mesela her sitede en altta bunun gibi bul kutusu [...]]]></description>
			<content:encoded><![CDATA[<p>Merhaba arkadaşlar uzun zaman öncesinden yazmış olduğum o zamanlar ne için yazdığımı tam bilmediğim bir uygulamayı sizlerle paylaşmak istiyorum . Uygulama aslında basit bir metin veriyorsunuz ve bu metin içerisinde istediğiniz sözcüğü arayıp renklendiriyor ama dahada geliştirilebilir ve yeni özellikler katılarak değişik uygulamalarda kullanılabilir diye düşünüyorum mesela her sitede en altta bunun gibi bul kutusu olsa arayınca istediğimiz sözçüğü çat diye bulsak güzel olurdu <img src='http://www.byumut.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Gerçi ctrl+f bu istediğimiz işlemi görüyor ama şu zamanda ama birçok insana ctrl+f ne işe yarıyor desek bilmez onun için güzel olabilirdi neyse kodlar aşağıda sistemin çalışır halini görmek için ise linki tıklamanız yeterli olacak iyi kullanımlar .. <span id="more-317"></span> </p>
<p><strong>index.php</strong></p>
<div class="igBar"><span id="lphp-3"><a href="#" onclick="javascript:showPlainTxt('php-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-3">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#FF0000;">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span> <span style="color:#FF0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;html xmlns=<span style="color:#FF0000;">"http://www.w3.org/1999/xhtml"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;head&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;meta http-equiv=<span style="color:#FF0000;">"Content-Type"</span> content=<span style="color:#FF0000;">"text/html; charset=utf-8"</span> /&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;title&gt;Ajax Bul Uygulaması ! - Umut ÇETİNKAYA&lt;/title&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;style&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#content{</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height:<span style="color:#CC66CC;color:#800000;">100</span>%;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#form{</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">text-align:center;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">padding:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">background-color:<span style="color:#008000; font-style:italic;">#E8E8E8;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">padding:10px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#veri_kutusu{</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">width:600px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height:<span style="color:#CC66CC;color:#800000;">100</span>%;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#sonuc_veri{</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-top:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-bottom:5px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-left:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-right:5px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height:250px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">overflow:auto;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">padding:5px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#bul_alan{</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">text-align:center;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-top:5px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-bottom:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-left:5px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">margin-right:5px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height:20px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">background-color:<span style="color:#008000; font-style:italic;">#E8E8E8;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">padding:10px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;">#bul{</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">border:1px solid silver;&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">width:570px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">height:20px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/style&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/head&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;body&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> veriyaz<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">document.getElementById<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'sonuc_veri'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.innerHTML = document.getElementById<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'veri_kutusu'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.value;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;/script&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;iframe style=<span style="color:#FF0000;">"display:none;"</span> name=<span style="color:#FF0000;">"gizli_iframe"</span>&gt;&lt;/iframe&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;form action=<span style="color:#FF0000;">"guncelle.php"</span> name=<span style="color:#FF0000;">"bul_formu"</span> id=<span style="color:#FF0000;">"bul_formu"</span> target=<span style="color:#FF0000;">"gizli_iframe"</span> method=<span style="color:#FF0000;">"post"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#FF0000;">"content"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#FF0000;">"bul_alan"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;input name=<span style="color:#FF0000;">"bul"</span> type=<span style="color:#FF0000;">"text"</span> id=<span style="color:#FF0000;">"bul"</span> value=<span style="color:#FF0000;">"Bulunacak Sözcük"</span> onclick=<span style="color:#FF0000;">"this.value='';"</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;nbsp;&lt;input type=<span style="color:#FF0000;">"submit"</span> name=<span style="color:#FF0000;">"submit"</span>&nbsp; value=<span style="color:#FF0000;">"Bul"</span> /&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#FF0000;">"form"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;textarea name=<span style="color:#FF0000;">"veri"</span> id=<span style="color:#FF0000;">"veri_kutusu"</span> rows=<span style="color:#FF0000;">"10"</span> onblur=<span style="color:#FF0000;">"veriyaz()"</span> onclick=<span style="color:#FF0000;">"this.value='';"</span>&gt;İçinde Arama Yapılacak Metin&lt;/textarea&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#FF0000;">"sonuc_veri"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/form&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/body&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/html&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>guncelle.php </strong></p>
<div class="igBar"><span id="lphp-4"><a href="#" onclick="javascript:showPlainTxt('php-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!DOCTYPE html PUBLIC <span style="color:#FF0000;">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span> <span style="color:#FF0000;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;html xmlns=<span style="color:#FF0000;">"http://www.w3.org/1999/xhtml"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;head&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;meta http-equiv=<span style="color:#FF0000;">"Content-Type"</span> content=<span style="color:#FF0000;">"text/html; charset=utf-8"</span> /&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;title&gt;Ajax Bul Uygulaması !&lt;/title&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/head&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;body&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#FF0000;">"sonuc"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$veri</span> = <span style="color:#0000FF;">$_POST</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'veri'</span><span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$bul</span> = <span style="color:#0000FF;">$_POST</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'bul'</span><span style="color:#006600; font-weight:bold;">&#93;</span>; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$veri</span> = <a href="http://www.php.net/str_replace"><span style="color:#000066;">str_replace</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$bul</span>,<span style="color:#FF0000;">"&lt;span style=<span style="color:#000099; font-weight:bold;">\"</span>background:#FF8C8C;<span style="color:#000099; font-weight:bold;">\"</span>&gt;$bul&lt;/span&gt;"</span>,<span style="color:#0000FF;">$veri</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <a href="http://www.php.net/stripslashes"><span style="color:#000066;">stripslashes</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$veri</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script&gt; parent.document.getElementById<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'sonuc_veri'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.innerHTML = document.getElementById<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'sonuc'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.innerHTML <span style="color:#000000; font-weight:bold;">&lt;/script&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/body&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/html&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><a href="http://www.byumut.com/ornekler/ajax_bul/">Uygulamanın Çalışır Halini Görmek İçin Tıklayınız ! </a></p>

<p class="sayac_bilgi">4 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.byumut.com/eskilerden-ajax-bul-uygulamasi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Olmasaydı Ne Yapardık ?</title>
		<link>http://www.byumut.com/toparlanma-ajax-olmasaydi-ne-yapardik/</link>
		<comments>http://www.byumut.com/toparlanma-ajax-olmasaydi-ne-yapardik/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 12:05:12 +0000</pubDate>
		<dc:creator>byumut</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[toparlanma]]></category>

		<guid isPermaLink="false">http://www.byumut.com/?p=40</guid>
		<description><![CDATA[Merhaba arkadaşlar uzun bir aradan sonra tekrardan birlikteyiz . Ne zamandır vakit bulup sizlerle bişeyler paylaşamıyordum nede olsa teknoloji dünyası her geçen gün gelişiyor yerinde durmuyor . Bu kısa zaman içerisinde yeni projeler değişik teknikler öğrenme keşfetme çabası içindeyken Msn'imdeki kısa bir ajax muhabbeti ile ortaya çıkan bir konuyu sizinle paylaşmak istedim. Ajax-tr.com bugüne kadar [...]]]></description>
			<content:encoded><![CDATA[<p>Merhaba arkadaşlar uzun bir aradan sonra tekrardan birlikteyiz . Ne zamandır vakit bulup sizlerle bişeyler paylaşamıyordum nede olsa teknoloji dünyası her geçen gün gelişiyor yerinde durmuyor . Bu kısa zaman içerisinde yeni projeler değişik teknikler öğrenme keşfetme çabası içindeyken Msn'imdeki kısa bir ajax muhabbeti ile ortaya çıkan bir konuyu sizinle paylaşmak istedim.</p>
<p><a href="http://www.ajax-tr.com">Ajax-tr.com</a> bugüne kadar açılmış en güzel en büyük en kaliteli ajax , javascript azcıkta php <img src='http://www.byumut.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  destek sitesi belki . Çok özgün bir site <a href="http://www.ajax-tr.com">Ajax-tr.com</a>. Şimdi size ajax olmasaydı ne yapardık sorusunun cevabını vermek istiyorum !</p>
<p><span id="more-40"></span>Bu teknik için <a href="http://www.phpdc.net">suat</a> arkadaşımada teşekkürlerimi sunuyorum burdan .</p>
<h3>Ajax Olmasaydı Ne yapardık ?</h3>
<p>İlk önce <a href="http://ajax-tr.com/eyceks-kutuphanesi-ve-ornek-bir-uygulama/">eyceks</a> kütüphanesine karşılık gelen bir uygulama anlatacağımı söleyerek başlayım işe</p>
<p><a href="http://ajax-tr.com/eyceks-kutuphanesi-ve-ornek-bir-uygulama/">eyceks</a> kütüphanesinde yapılan uygulama kütüphaneyi içeri çağırmak ve çağırdığımız sayfada 'da</p>
<p>JXG ve JXP komutlarıyla veri göndermek çıktıyı aynı ekranda alma işlemini yapıyorduk biliyorsunuz .</p>
<p>eyceks.js kütüphanesini sayfa içine çağırdıktan sonra aşağıdaki gibi tanımlama ve gönderme kodu yazıyorduk . sonrasında ise id="sonuc" elemenetinde çıktıyı göstermesini istiyorduk .</p>
<p>İşte şimdi size küçük ama hızlı bir alternatiften bahsetmek istiyorum <img src='http://www.byumut.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ajax değil ama javascript ile ajax olmadan yapmak istediklerimizi nasıl yapacağımızdan bahsedeceğim tabiki eburhan arkadaşımızada burdan ellerine kollarına sağlık demek isterim eyceks kütüphanesi için ama alternatif sunmak herzaman için farklı bakış açısı kazandırması yönüyle hem ajax'ı hemde asıl anlatılmak istenini daha iyi kavrayabilmemizi sağlıcaktır .</p>
<p>Şimdi aslında tüm herşeyi 3 satır kod ile halledebiliriz .</p>
<h3>Ajax olmadan verileri göndermek ?</h3>
<p>Post veya Get ile verileri göndermek farketmiyor herşeyi sanki bu şekilde bir yöntem kullanmadan yapacakmış gibi düşünebilirsiniz . ilk Önce küçük bir form oluşturuyoruz .</p>
<div class="wp-caption alignnone" style="width: 668px"><img src="http://www.byumut.com/ornekler/ajax_alternatif/1.jpg" alt="" width="658" height="245" align="middle" /><p class="wp-caption-text">Resim 1</p></div>
<p>İste Farklı Olan Kısımı Anlatıyorum Size <strong>target="gizli_iframe" </strong>bu demek oluyorki formu <strong>gizli_iframe</strong> isimli bir frame 'ye gönder.Ve dönen sonucun nereye basılacağına gelelim . Bunun için de <strong>id="cikti" </strong>olan bir html tag koyuyoruz . ( span , div )</p>
<p>Şimdi ise gelelim bu işlemlerin arka yüzüne yani <strong>islem.php </strong>dosyasına ...</p>
<h3>İslem.php de sadece extra bir kod var !</h3>
<div class="wp-caption alignnone" style="width: 703px"><img src="http://www.byumut.com/ornekler/ajax_alternatif/2.jpg" alt="" width="693" height="282" align="middle" /><p class="wp-caption-text">Resim 2</p></div>
<p>islem.php de yaptıklarımıza bakalım şimdide. Kodlara baktığımızda görüyorsunuz ki <strong>islem.php </strong>çıktısı id=sonuc olan bir tag'ın içine yerleşiyor bizde o çıktıyı alıp geldiğimiz yer olan index.html diyelim oraya basıyoruz peki nasıl ?</p>
<div class="wp-caption alignnone" style="width: 670px"><img src="http://www.byumut.com/ornekler/ajax_alternatif/3.jpg" alt="" width="660" height="51" /><p class="wp-caption-text">Resim 3</p></div>
<p>İşte Bu kadar arkadaşlar sizlere umarım faydalı olabilimişimdir .</p>
<p>Eeee Sizce Hangisi ?</p>
<p>Ajax mı ? .... ?</p>
<ul>
<li><a href="http://www.byumut.com/ornekler/ajax_alternatif/index.html">Çalışan Örnek Bir Uygulama</a></li>
<li><a href="http://www.byumut.com/ornekler/ajax_alternatif/indir.rar">Kodları Zipli Şekilde İndirmek için Tıklayın !</a></li>
</ul>
<p><a href="http://www.byumut.com">Umut ÇETİNKAYA</a></p>

<p class="sayac_bilgi">5 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.byumut.com/toparlanma-ajax-olmasaydi-ne-yapardik/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

