<?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>MEMOBALL.info &#187; Web application</title>
	<atom:link href="http://www.memoball.info/tag/web-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.memoball.info</link>
	<description>All of my Memories</description>
	<lastBuildDate>Thu, 22 Jul 2010 06:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>แจ้งเตือน Firebug แบบ Gmail</title>
		<link>http://www.memoball.info/05/%e0%b9%81%e0%b8%88%e0%b9%89%e0%b8%87%e0%b9%80%e0%b8%95%e0%b8%b7%e0%b8%ad%e0%b8%99-firebug-%e0%b9%81%e0%b8%9a%e0%b8%9a-gmail/</link>
		<comments>http://www.memoball.info/05/%e0%b9%81%e0%b8%88%e0%b9%89%e0%b8%87%e0%b9%80%e0%b8%95%e0%b8%b7%e0%b8%ad%e0%b8%99-firebug-%e0%b9%81%e0%b8%9a%e0%b8%9a-gmail/#comments</comments>
		<pubDate>Fri, 22 May 2009 02:34:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Application]]></category>
		<category><![CDATA[Web application]]></category>

		<guid isPermaLink="false">http://memoball.nabzer.com/?p=286</guid>
		<description><![CDATA[สำหรับนักพัฒนาเวปไซต์ที่อยากรู้อยากเห็นทั้งหลาย (รวมทั้งผมด้วย) คงเคยใช้ firebug ไปลองแกะหน้าของ gmail ดูว่ามันทำยังไงมันถึงได้เร็วขนาดนี้ แล้วก็จะเห็นแจ้งเตือนว่า firebug ทำให้การใช้งานของท่านช้าลงนะ วันนี้เลยเอาวิธีทำแจ้งเตือนแบบนี้มาเก็บไว้ให้ดูเล่นๆ กัน


จาก WikiBall


			
			
 How to

&#60;script type=&#34;text/javascript&#34;&#62;
if( window.console &#38;&#38; window.console.firebug )
    document.getElementsByTagName('body')[0].innerHTML +=
           &#34;&#60;div onclick=\&#34;this.style.display = 'none'\&#34; &#34;+
           &#34;style='position:absolute; top:0; width:100%; padding: 5px [...]]]></description>
			<content:encoded><![CDATA[<p>สำหรับนักพัฒนาเวปไซต์ที่อยากรู้อยากเห็นทั้งหลาย (รวมทั้งผมด้วย) คงเคยใช้ firebug ไปลองแกะหน้าของ gmail ดูว่ามันทำยังไงมันถึงได้เร็วขนาดนี้ แล้วก็จะเห็นแจ้งเตือนว่า firebug ทำให้การใช้งานของท่านช้าลงนะ วันนี้เลยเอาวิธีทำแจ้งเตือนแบบนี้มาเก็บไว้ให้ดูเล่นๆ กัน<br />
<span id="more-286"></span></p>
<div id="bodyContent">
<h3 id="siteSub"><a href="http://wiki.memoball.info/index.php/Block_Firebug">จาก WikiBall</a></h3>
<div id="contentSub"></div>
<div id="jump-to-nav"></div>
<p>			<!-- start content --><br />
			<a name="How_to" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">How to</span></h2>
<pre name="code" class="javascript">
&lt;script type=&quot;text/javascript&quot;&gt;
if( window.console &amp;&amp; window.console.firebug )
    document.getElementsByTagName('body')[0].innerHTML +=
           &quot;&lt;div onclick=\&quot;this.style.display = 'none'\&quot; &quot;+
           &quot;style='position:absolute; top:0; width:100%; padding: 5px 0; background: #ff7; border-bottom: 1px solid #770; font-weight: bold; text-align: center;'&gt;&quot;+
           &quot;Firebug can make this web page slow, we suggest you disable it for this web page. Click to close this warning.&lt;/div&gt;&quot;;
&lt;/script&gt;
</pre>
<p>เพียงแค่เพิ่ม script ด้านบน ก็สามารถแจ้งเตือนผู้ใช้ได้แล้วว่าท่านกำลังเปิด firebug อยู่ ซึ่งอาจทำให้การดูเวปไซต์ของท่านนั้นช้าลง เหมือนตัวอย่างเช่น gmail นั่นเอง
</p>
<p><a name="Reference" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">Reference</span></h2>
<ul>
<li><a href="http://www.unwrongest.com/blog/if-firebug-slows-down-your-web-page-make-a-suggestion/" class="external free" title="http://www.unwrongest.com/blog/if-firebug-slows-down-your-web-page-make-a-suggestion/" rel="nofollow">http://www.unwrongest.com/blog/if-firebug-slows-down-your-web-page-make-a-suggestion/</a>
</li>
<li><a href="http://blog.dkferguson.com/index.cfm/2009/3/31/Block-Firebug-on-your-site/" class="external free" title="http://blog.dkferguson.com/index.cfm/2009/3/31/Block-Firebug-on-your-site/" rel="nofollow">http://blog.dkferguson.com/index.cfm/2009/3/31/Block-Firebug-on-your-site/</a>
</li>
</ul>
<p><!--<br />
NewPP limit report<br />
Preprocessor node count: 6/1000000<br />
Post-expand include size: 0/2097152 bytes<br />
Template argument size: 0/2097152 bytes<br />
Expensive parser function count: 0/100<br />
--></p>
<p><!-- Saved in parser cache with key memoball_wiki:pcache:idhash:54-0!1!0!!th!2!edit=0 and timestamp 20090825115814 --></p>
<div class="printfooter">
<h5>รับข้อมูลจาก (Reference) : </h5>
<p>จาก WikiBall : <a href="http://wiki.memoball.info/index.php/Block_Firebug">http://wiki.memoball.info/index.php/Block_Firebug</a></div>
<p>						<!-- end content --></p>
<div class="visualClear"></div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/05/%e0%b9%81%e0%b8%88%e0%b9%89%e0%b8%87%e0%b9%80%e0%b8%95%e0%b8%b7%e0%b8%ad%e0%b8%99-firebug-%e0%b9%81%e0%b8%9a%e0%b8%9a-gmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PNG Image Optimization</title>
		<link>http://www.memoball.info/05/png-image-optimization/</link>
		<comments>http://www.memoball.info/05/png-image-optimization/#comments</comments>
		<pubDate>Wed, 20 May 2009 14:48:19 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Web application]]></category>

		<guid isPermaLink="false">http://memoball.nabzer.com/?p=282</guid>
		<description><![CDATA[การทำให้ขนาดของรูปภาพมีขนาดเล็กลง เป็นส่วนหนึ่งที่จะทำให้เวปไซต์ของเราโหลดไวขึ้น อีกทั้งใช้แบนวิธที่น้อยลงทำให้เซอร์เวอร์ของเราใช้งานได้อย่างมีประสิทธิภาพเพิ่มมากขึ้น ซึ่งการทำให้ไฟล์รูปแบบ PNG มีขนาดน้อยลงมีวิธีทำดังต่อไปนี้


จาก WikiBall


			




เนื้อหา


1 Optimize ด้วย OptiPNG หรือ pngcrush

1.1 PNGcrush
1.2 Optipng


2 Optimize with Smush.it
3 reference




 if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; showTocToggle(); } 

  Optimize ด้วย OptiPNG หรือ pngcrush 

 PNGcrush
pngcrush เป็นโปรแกรมที่มีอยู่แล้วใน ubuntu synapticสามารถใช้ apt-get เอามาลงได้เลย

$ pngcrush -rem allb -brute -reduce original.png optimized.png
โดยพารามิเตอร์ต่างๆ มีความหมายดังต่อไปนี้


 -rem allb [...]]]></description>
			<content:encoded><![CDATA[<p>การทำให้ขนาดของรูปภาพมีขนาดเล็กลง เป็นส่วนหนึ่งที่จะทำให้เวปไซต์ของเราโหลดไวขึ้น อีกทั้งใช้แบนวิธที่น้อยลงทำให้เซอร์เวอร์ของเราใช้งานได้อย่างมีประสิทธิภาพเพิ่มมากขึ้น ซึ่งการทำให้ไฟล์รูปแบบ PNG มีขนาดน้อยลงมีวิธีทำดังต่อไปนี้<br />
<span id="more-282"></span></p>
<div id="bodyContent">
<h3 id="siteSub"><a href="http://wiki.memoball.info/index.php/PNG_Image_Optimization">จาก WikiBall</a></h3>
<div id="contentSub"></div>
<div id="jump-to-nav"></div>
<p>			<!-- start content --></p>
<table id="toc" class="toc" summary="เนื้อหา">
<tr>
<td>
<div id="toctitle">
<h2>เนื้อหา</h2>
</div>
<ul>
<li class="toclevel-1"><a href="./#Optimize_.E0.B8.94.E0.B9.89.E0.B8.A7.E0.B8.A2_OptiPNG_.E0.B8.AB.E0.B8.A3.E0.B8.B7.E0.B8.AD_pngcrush" ref="toc"><span class="tocnumber">1</span> <span class="toctext">Optimize ด้วย OptiPNG หรือ pngcrush</span></a>
<ul>
<li class="toclevel-2"><a href="./#PNGcrush" ref="toc"><span class="tocnumber">1.1</span> <span class="toctext">PNGcrush</span></a></li>
<li class="toclevel-2"><a href="./#Optipng" ref="toc"><span class="tocnumber">1.2</span> <span class="toctext">Optipng</span></a></li>
</ul>
</li>
<li class="toclevel-1"><a href="./#Optimize_with_Smush.it" ref="toc"><span class="tocnumber">2</span> <span class="toctext">Optimize with Smush.it</span></a></li>
<li class="toclevel-1"><a href="./#reference" ref="toc"><span class="tocnumber">3</span> <span class="toctext">reference</span></a></li>
</ul>
</td>
</tr>
</table>
<p><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; showTocToggle(); } </script><br />
<a name="Optimize_.E0.B8.94.E0.B9.89.E0.B8.A7.E0.B8.A2_OptiPNG_.E0.B8.AB.E0.B8.A3.E0.B8.B7.E0.B8.AD_pngcrush" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> Optimize ด้วย OptiPNG หรือ pngcrush </span></h2>
<p><a name="PNGcrush" href="http://wiki.memoball.info/"></a><br />
<h3> <span class="mw-headline">PNGcrush</span></h3>
<p>pngcrush เป็นโปรแกรมที่มีอยู่แล้วใน ubuntu synapticสามารถใช้ apt-get เอามาลงได้เลย
</p>
<pre>$ pngcrush -rem allb -brute -reduce original.png optimized.png</pre>
<p>โดยพารามิเตอร์ต่างๆ มีความหมายดังต่อไปนี้
</p>
<ul>
<li> <b>-rem allb</b> &#8212; remove all extraneous data. Except transparency and gamma; to remove everything except transparency, try<i> -rem alla</i>
</li>
<li> <b>-brute</b> &#8212; attempt all optimization methods. Requires more processing time and may not improve optimization by much.
</li>
<li> <b>-reduce</b> &#8212; eliminate unused colors and reduce bit-depth. ถ้าเป็นไปได้
</li>
</ul>
<p><a name="Optipng" href="http://wiki.memoball.info/"></a><br />
<h3> <span class="mw-headline">Optipng</span></h3>
<pre>$ optipng -o7 org.png</pre>
<ul>
<li> <b>-o7</b> — optimize ระดับสูงสุด โดยเริ่มจากระดับที่ 0 &#8211; 7
</li>
</ul>
<p><a name="Optimize_with_Smush.it" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> Optimize with Smush.it </span></h2>
<p>ย่อรูปด้วยโปรแกรม smush.it ซึ่งเป็นโปรแกรมสำหรับ Firefox<br />
[<a href="http://smush.it" class="external autonumber" title="http://smush.it" rel="nofollow">[1]</a>]
</p>
<p><a name="reference" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> reference </span></h2>
<ul>
<li> <a href="http://perishablepress.com/press/2009/05/17/png-image-optimization/" class="external free" title="http://perishablepress.com/press/2009/05/17/png-image-optimization/" rel="nofollow">http://perishablepress.com/press/2009/05/17/png-image-optimization/</a>
</li>
<li> <a href="http://www.dzone.com/" class="external free" title="http://www.dzone.com/" rel="nofollow">http://www.dzone.com/</a>
</li>
</ul>
<p><!--<br />
NewPP limit report<br />
Preprocessor node count: 12/1000000<br />
Post-expand include size: 0/2097152 bytes<br />
Template argument size: 0/2097152 bytes<br />
Expensive parser function count: 0/100<br />
--></p>
<p><!-- Saved in parser cache with key memoball_wiki:pcache:idhash:52-0!1!0!!th!2!edit=0 and timestamp 20090825195504 --></p>
<div class="printfooter">
<h5>รับข้อมูลจาก (Reference) : </h5>
<p>จาก WikiBall : <a href="http://wiki.memoball.info/index.php/PNG_Image_Optimization">http://wiki.memoball.info/index.php/PNG_Image_Optimization</a></div>
<div id='catlinks' class='catlinks'>
<div id="mw-normal-catlinks"><a href="http://wiki.memoball.info//index.php/%E0%B8%9E%E0%B8%B4%E0%B9%80%E0%B8%A8%E0%B8%A9:Categories" title="พิเศษ:Categories">หมวดหมู่</a>:&#32;<span dir='ltr'><a href="http://wiki.memoball.info//index.php?title=%E0%B8%AB%E0%B8%A1%E0%B8%A7%E0%B8%94%E0%B8%AB%E0%B8%A1%E0%B8%B9%E0%B9%88:PHP&amp;action=edit&amp;redlink=1" class="new" title="หมวดหมู่:PHP (ยังไม่ได้สร้าง)">PHP</a></span> | <span dir='ltr'><a href="http://wiki.memoball.info//index.php?title=%E0%B8%AB%E0%B8%A1%E0%B8%A7%E0%B8%94%E0%B8%AB%E0%B8%A1%E0%B8%B9%E0%B9%88:Web_developer&amp;action=edit&amp;redlink=1" class="new" title="หมวดหมู่:Web developer (ยังไม่ได้สร้าง)">Web developer</a></span></div>
</div>
<p>			<!-- end content --></p>
<div class="visualClear"></div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/05/png-image-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
