<?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>Cihan Topcu &#187; javascript</title>
	<atom:link href="http://www.cihantopcu.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cihantopcu.com</link>
	<description>notlar</description>
	<lastBuildDate>Mon, 18 Jul 2011 00:16:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Javascript ile querystring</title>
		<link>http://www.cihantopcu.com/javascript-ile-querystring.html</link>
		<comments>http://www.cihantopcu.com/javascript-ile-querystring.html#comments</comments>
		<pubDate>Wed, 12 Jan 2011 11:39:01 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=144</guid>
		<description><![CDATA[<p>Javascript ile querstring degerlerini dizi halinde almak icin asagidaki fonksiyonu kullanabilirsiniz.</p> function getQueryString(href) { var vars = [], hash; if (typeof href == 'undefined') { href = window.location.href; } var hashes = href.slice(href.indexOf('?') + 1).split('&#038;'); for (var i = 0, len = hashes.length; i < len; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = [...]]]></description>
			<content:encoded><![CDATA[<p>Javascript ile querstring degerlerini dizi halinde almak icin asagidaki fonksiyonu kullanabilirsiniz.</p>
<pre name="code" class="js">
		function getQueryString(href) {
			var vars = [], hash;

			if (typeof href == 'undefined') {
				href = window.location.href;
			}
			var hashes = href.slice(href.indexOf('?') + 1).split('&#038;');
			for (var i = 0, len = hashes.length; i < len; i++) {
				hash = hashes[i].split('=');
				vars.push(hash[0]);
				vars[hash[0]] = hash[1];
			}
			return vars;
		});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/javascript-ile-querystring.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript extension for Visual Studio 2010</title>
		<link>http://www.cihantopcu.com/javascript-extension-for-visual-studio-2010.html</link>
		<comments>http://www.cihantopcu.com/javascript-extension-for-visual-studio-2010.html#comments</comments>
		<pubDate>Sat, 10 Jul 2010 14:48:16 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PLUG-IN]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[extension]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=115</guid>
		<description><![CDATA[<p>Visual Studio geliştirme ortamı gerçekten çok başarılı. Özellikle 2010 versiyonu çok büyük kolaylıklar sağlıyor. Ancak javascript sanki üvey evlat, IDE tarafında atıl bırakılmış. VS 2010 extensions ile bu açığı kapatmak mümkün. Eski plugin mimarisine göre çok farklı olan extensions ile ilgili örnekleri internette bulabilirsiniz. Aşağıda bahsadeceğim extension aslında internette bulunan bir kaç önemli örnek [...]]]></description>
			<content:encoded><![CDATA[<p>Visual Studio geliştirme ortamı gerçekten çok başarılı. Özellikle 2010  versiyonu çok büyük kolaylıklar sağlıyor. Ancak javascript sanki üvey evlat, IDE  tarafında atıl bırakılmış. VS 2010 extensions ile bu açığı kapatmak mümkün. Eski  plugin mimarisine göre çok farklı olan extensions ile ilgili örnekleri  internette bulabilirsiniz. Aşağıda bahsadeceğim extension aslında internette  bulunan bir kaç önemli örnek üzerinde değişiklik yaparak ve bir araya getirerek  oluşturuldu. Aslında sadece javascript için değil tüm kod içeren dökümanları  işleyen bir extension (C# dahil). Nerede bu plugin derseniz <a title="Javascript extension for Visual Studio 2010" href="*http://hotfile.com/dl/72550636/0bc7671/JsPluginForVS.zip.html">buradan</a> indirebilirsiniz. Özellikler ile devam edelim.</p>
<p><span style="text-decoration: underline;">Özellikler</span></p>
<p>1- Kelime renklendirme (Word highlihting):</p>
<p>Bir çok editorde bulunan, benim de “Visual Studio da olsa ne iyi olurdu”  dediğim bir özellik. Kodu okuma açısından inanılmaz faydalar sağlıyor. Sadece  tek resim bile anlatmaya yeter.</p>
<p><a href="file:///C:/Users/Cihan/AppData/Local/Temp/WindowsLiveWriter-429641856/supfiles1B311E/plugin_desc3%5B2%5D.png"></a><a href="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc3.png"><img class="size-full wp-image-107 alignnone" title="Highlight words" src="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc3.png" alt="" width="223" height="204" /></a></p>
<p>2- Blok işaretleri renklendirme (brace highlighting):</p>
<p>Javascript gibi oldukça fazle “{ }“  kullanılan yerlede vazgeçilmez bir  özellik aslında. Hemen yine resimle devam ediyoruz.</p>
<p><a href="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc2.png"><img class="alignnone size-full wp-image-106" title="Highlight braces" src="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc2.png" alt="" width="218" height="206" /></a></p>
<p>3- Alan (region) tanımlama :</p>
<p>C# ta kullandığımız bu nadide özelliği javascripte de kullanmak çok  rahatlatıcı oluyor.</p>
<p><a href="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc1.png"><img class="alignnone size-medium wp-image-105" title="Javascript regions" src="http://www.cihantopcu.com/wp-content/uploads/2010/07/plugin_desc1-300x173.png" alt="" width="300" height="173" /></a></p>
<p><strong>Did you find this article useful? Please make a donation and specify a custom amount</strong><br />
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=T49B28UHHFZGY"><br />
<img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/javascript-extension-for-visual-studio-2010.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Easy javascript AJAX with Mootools</title>
		<link>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html</link>
		<comments>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html#comments</comments>
		<pubDate>Sat, 28 Mar 2009 12:34:04 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[MOOTOOLS]]></category>
		<category><![CDATA[TUTORIALS]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=39</guid>
		<description><![CDATA[<p>We most used Ajax requests the following snippet of code will make your life easier. Mootools &#8220;Request&#8221; function is used in this code. The next article in this function we&#8217;ll see how ASP.NET.</p> Sensei = {}; Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) { if (retryCount == null) retryCount = 0; var jsonRequest = [...]]]></description>
			<content:encoded><![CDATA[<p>We most used Ajax requests the following snippet of code will make your life easier. Mootools &#8220;Request&#8221; function is used in this code. The next article in this function we&#8217;ll see how ASP.NET.</p>
<pre name="code" class="js">
Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
                'encoding' : 'utf-8',
		method: 'post',
		url: URL,
		onComplete:  OnComplete,
		onFailure: function(){
					if(retryCount&lt;3)
						Sensei.Send(URL, fName, prms, OnComplete, retryCount++);
		},
       }).send('m=' + fName + '&amp;' + prms);
};</pre>
<p><strong>How to use :</strong></p>
<pre class="js">Sensei.send("service/serviceurl.ashx","doIt","cId=5&amp;bId=5",0, function(result){
      alert(result);
});</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/easy-javascript-ajax-with-mootools.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools kullanarak kolay javascript AJAX</title>
		<link>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html</link>
		<comments>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 17:23:33 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[MOOTOOLS]]></category>
		<category><![CDATA[TUTORIALS]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=35</guid>
		<description><![CDATA[<p>Bolca kullanığımız AJAX requestleri (post) için aşağıdaki kod parçası hayatınızı kolaylaştıracaktır. Mootools &#8220;Request&#8221; fonksiyonu kullanılmaktadır. Daha sonraki yazılarda bu fonksiyonu ASP.NET ile nasıl kullanabileceğimizi göreceğiz.</p> Sensei = {}; Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) { if (retryCount == null) retryCount = 0; var jsonRequest = new Request( { 'encoding' : 'utf-8', method: 'post', [...]]]></description>
			<content:encoded><![CDATA[<p>Bolca kullanığımız AJAX requestleri (post) için aşağıdaki kod parçası hayatınızı kolaylaştıracaktır. Mootools &#8220;Request&#8221; fonksiyonu kullanılmaktadır. Daha sonraki yazılarda bu fonksiyonu ASP.NET ile nasıl kullanabileceğimizi göreceğiz.</p>
<pre name="code" class="js">
Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
	if (retryCount == null) retryCount = 0;
	var jsonRequest = new Request(
		{
                'encoding' : 'utf-8',
		method: 'post',
		url: URL,
		onComplete:  OnComplete,
		onFailure: function(){
					if(retryCount&lt;3)
						Sensei.Send(URL, fName, prms, OnComplete, retryCount++);
		},
       }).send('m=' + fName + '&amp;' + prms);
};</pre>
<p>Kullanımı :</p>
<pre class="js">

Sensei.send("service/serviceurl.ashx","doIt","cId=5&#038;bId=5",0, function(result){
      alert(result);
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/mootools-kullanarak-kolay-javascript-ajax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

