<?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>Bopit Towaranon</title>
	<atom:link href="http://www.bopit.in.th/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bopit.in.th</link>
	<description>Blog บพิตร โตวรานนท์</description>
	<lastBuildDate>Mon, 25 Jun 2018 04:25:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.4.2</generator>
	<item>
		<title>รอยยิ้ม &#8211; Silly Fools</title>
		<link>https://www.bopit.in.th/%e0%b8%a3%e0%b8%ad%e0%b8%a2%e0%b8%a2%e0%b8%b4%e0%b9%89%e0%b8%a1-silly-fools/</link>
					<comments>https://www.bopit.in.th/%e0%b8%a3%e0%b8%ad%e0%b8%a2%e0%b8%a2%e0%b8%b4%e0%b9%89%e0%b8%a1-silly-fools/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 03 Aug 2017 16:19:57 +0000</pubDate>
				<category><![CDATA[Music]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=1100</guid>

					<description><![CDATA[ฟังได้ที่ JOOX version live (FatLive) ฝัน สิ่งที่เห็นข้างหน้า คือเส้นขอบฟ้า ที่สวยงาม อย่างไรนั้น ตะวัน บอกลาทุกสิ่ง ทิ้งไว้แค่รอยยิ้ม กับแสงสีทอง ประกายนั้น ต่อมา ความมืดมนครอบงำ ฉันได้แต่ร้องขอ ให้ตะวัน นั้นหันกลับมาทักทายบ้าง รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส แต่รู้ไหมอะไร ที่ซ่อนอยู่ข้างใน ข้างในนั้น ความจริง สิ่งที่เห็นก็อยู่ในใจ ความโลภช่างยิ่งใหญ่ จิตใจมันกลาย มันหายไปแล้ว ผิดหวัง ตะวันที่เคย ฝังอยู่ข้างในใจ กลับหันหลังไป ทำได้ไง พายุ กลับมาแทงหัวใจ เลือดของฉันรินไหล ความแค้น ข้างใน บอกไม่ได้ คำถาม ขอถามหัวใจ ว่าทำไมคนเรา จึงใช้ ไม่เป็น กับรอยยิ้ม รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส แต่รู้ไหมอะไร ที่ซ่อนอยู่ข้างใน ข้างในนั้น ความจริง สิ่งที่เห็นก็อยู่ในใจ ความโลภช่างยิ่งใหญ่ จิตใจมันกลาย มันหายไปแล้ว รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส แต่รู้ไหมอะไร &#8230; <a href="https://www.bopit.in.th/%e0%b8%a3%e0%b8%ad%e0%b8%a2%e0%b8%a2%e0%b8%b4%e0%b9%89%e0%b8%a1-silly-fools/" class="more-link">Continue reading <span class="screen-reader-text">รอยยิ้ม &#8211; Silly Fools</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2"><strong><a href="http://music.sanook.com/music/song/rQVBhK67+f4rRa4FcjUhwQ==/lyric/">ฟังได้ที่ JOOX version live (FatLive)</a></strong></div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2">ฝัน สิ่งที่เห็นข้างหน้า</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:4">คือเส้นขอบฟ้า</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:6">ที่สวยงาม</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:8">อย่างไรนั้น</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:a">ตะวัน บอกลาทุกสิ่ง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:c">ทิ้งไว้แค่รอยยิ้ม</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:e">กับแสงสีทอง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:g">ประกายนั้น</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:i">ต่อมา</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:k">ความมืดมนครอบงำ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:m">ฉันได้แต่ร้องขอ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:o">ให้ตะวัน</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:q">นั้นหันกลับมาทักทายบ้าง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:s">รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:u">แต่รู้ไหมอะไร</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:w">ที่ซ่อนอยู่ข้างใน</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:y">ข้างในนั้น</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:10">ความจริง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:12">สิ่งที่เห็นก็อยู่ในใจ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:14">ความโลภช่างยิ่งใหญ่</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:16">จิตใจมันกลาย</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:18">มันหายไปแล้ว</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1a">ผิดหวัง ตะวันที่เคย</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1c">ฝังอยู่ข้างในใจ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1e">กลับหันหลังไป</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1g">ทำได้ไง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1i">พายุ กลับมาแทงหัวใจ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1k">เลือดของฉันรินไหล</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1m">ความแค้น ข้างใน บอกไม่ได้</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1o">คำถาม ขอถามหัวใจ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1q">ว่าทำไมคนเรา</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1s">จึงใช้ ไม่เป็น กับรอยยิ้ม</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1u">รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1w">แต่รู้ไหมอะไร</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:1y">ที่ซ่อนอยู่ข้างใน</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:20">ข้างในนั้น</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:22">ความจริง</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:24">สิ่งที่เห็นก็อยู่ในใจ</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:26">ความโลภช่างยิ่งใหญ่</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:28">จิตใจมันกลาย</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2a">มันหายไปแล้ว</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2c">รอยยิ้มยิ่งดูยิ่งรู้สึกสดใส</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2e">แต่รู้ไหมอะไร</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2g">ที่ซ่อนอยู่ข้างใน</div>
<div style="text-align: center;" data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2i">ข้างในนั้น</div>
<div data-reactid=".1hfsbslsbuo.3.1.0.0.0.1:2j"></div>
<p><iframe src="https://www.youtube.com/embed/N7D-tJyBJKo" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/%e0%b8%a3%e0%b8%ad%e0%b8%a2%e0%b8%a2%e0%b8%b4%e0%b9%89%e0%b8%a1-silly-fools/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>คติที่พ่อสอนผม ..</title>
		<link>https://www.bopit.in.th/last-quote-from-father/</link>
					<comments>https://www.bopit.in.th/last-quote-from-father/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 23 Oct 2013 11:47:35 +0000</pubDate>
				<category><![CDATA[Quote]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=820</guid>

					<description><![CDATA[จงมานะพยายามสร้างชีวิต จงเป็นมิตรคนทั้งหลายชายและหญิง คบผู้ใดด้วยน้ำใสและใจจริง จะได้เป็นมิ่งขวัญทั่วไป เอย ยงเกียรติ โตวรานนท์]]></description>
										<content:encoded><![CDATA[<p style="text-align: center;">จงมานะพยายามสร้างชีวิต</p>
<p style="text-align: center;">จงเป็นมิตรคนทั้งหลายชายและหญิง</p>
<p style="text-align: center;">คบผู้ใดด้วยน้ำใสและใจจริง</p>
<p style="text-align: center;">จะได้เป็นมิ่งขวัญทั่วไป เอย</p>
<h3 style="text-align: center;"></h3>
<h3 style="text-align: center;"><em>ยงเกียรติ โตวรานนท์</em></h3>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/last-quote-from-father/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>เครื่องมือ ทำ Ipad-Application โดย html / css / javascript</title>
		<link>https://www.bopit.in.th/ipad-application-html5/</link>
					<comments>https://www.bopit.in.th/ipad-application-html5/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 21 Aug 2012 05:46:24 +0000</pubDate>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[phonegap]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=789</guid>

					<description><![CDATA[รวบรวมเครื่องมือที่ผมใช้ พัฒนา Phone gap   framework cross platform mobile App ช่วยให้ผมสามารถสร้าง application โดยไม่ต้องกังวลเรื่อง platform ตัว phone-gap เองเหมาะสำหรับงานที่ไม่ต้องการ response ที่รวดเร็วเหมือน native แต่ตอบโจทย์เรื่องการทำงานทั่วๆไปและที่สำคัญประหยัดต้นทุน Jquery mobile UI framework for mobile App หลังจากที่เริ่มต้นงาน Project นี้มาผมได้ทดลองใช้ framework javascript มาหลายตัวเช่น  kendo UI,  Sencha touch 2 (ext.js) พบว่าปัญหาเรื่องการ custom UI เองนั้นทำได้ยากสำหรับทั้งสองตัวแต่ใน layer ของ data model นั้นทั้งสองตัวทำได้ดีมากแต่ต้องตัดใจเพราะว่าไม่ตอบโจทย์การแก้ UI ของผม iScroll ช่วยให้ตัว scroll bar มีน้ำหนักและสมจิงเนื่องจากการแสดงผลของ phone-gap ใช้ความสามารถของ webview &#8230; <a href="https://www.bopit.in.th/ipad-application-html5/" class="more-link">Continue reading <span class="screen-reader-text">เครื่องมือ ทำ Ipad-Application โดย html / css / javascript</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>รวบรวมเครื่องมือที่ผมใช้ พัฒนา</p>
<ul>
<li><a href="http://www.phonegap.com/">Phone gap </a>  framework cross platform mobile App ช่วยให้ผมสามารถสร้าง application โดยไม่ต้องกังวลเรื่อง platform ตัว phone-gap เองเหมาะสำหรับงานที่ไม่ต้องการ response ที่รวดเร็วเหมือน native แต่ตอบโจทย์เรื่องการทำงานทั่วๆไปและที่สำคัญประหยัดต้นทุน</li>
<li><a href="http://www.jquerymobile.com/">Jquery mobile</a> UI framework for mobile App</li>
</ul>
<div>
<p style="padding-left: 60px;">หลังจากที่เริ่มต้นงาน Project นี้มาผมได้ทดลองใช้ framework javascript มาหลายตัวเช่น  <a href="http://www.kendoui.com/mobile.aspx">kendo UI</a>,  <a href="http://www.kendoui.com/mobile.aspx">Sencha touch 2</a> (ext.js)</p>
<p style="padding-left: 60px;">พบว่าปัญหาเรื่องการ custom UI เองนั้นทำได้ยากสำหรับทั้งสองตัวแต่ใน layer ของ data model นั้นทั้งสองตัวทำได้ดีมากแต่ต้องตัดใจเพราะว่าไม่ตอบโจทย์การแก้ UI ของผม</p>
</div>
<ul>
<li><a href="http://cubiq.org/iscroll-4">iScroll</a> ช่วยให้ตัว scroll bar มีน้ำหนักและสมจิงเนื่องจากการแสดงผลของ phone-gap ใช้ความสามารถของ webview component ของ platform นั้นๆ ทำให้ การ scrolling ของ element นั้นไม่ให้ความรู้สึกแบบ native ตัว javascript ตัวนี้ข่วยได้</li>
<li><a title="Christophe Coenraets" href="http://coenraets.org/blog/">CHRISTOPHE COENRAETS</a> blog ที่มีประโยชน์กับผมมาตลอดตั้งแต่ทำ Flex จนมาถึง phone-gap</li>
</ul>
<p id="title">ในส่วนต่อที่จะทำเป็นเรื่อง Off-line storage และ synchronize กับ server</p>
<ul>
<li><a title="persistence.js" href="http://persistencejs.org/">persistence.js</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/ipad-application-html5/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>เรื่องสั้นของฉัน (ต่อ)</title>
		<link>https://www.bopit.in.th/shot-story-2/</link>
					<comments>https://www.bopit.in.th/shot-story-2/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 03 Aug 2012 21:38:54 +0000</pubDate>
				<category><![CDATA[Drama]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=610</guid>

					<description><![CDATA[&#160; จากบ้านที่ว่างเปล่าจนถึงวันที่บ้านไม่มีสี จากหัวใจจนถึงสมอง ถ้าเขาทำได้เขาจะไม่ย้อนเวลากลับไปแก้ไขอะไร เพราะว่าเขาพบว่าตัวเองไม่ต้องการสิ่งที่ เสียใจอีกแล้ว เขาไม่เคลื่อนย้ายความทรงจำในอดีตหรือบิดเบือนมัน เพราะว่าไม่มีทางที่จะเอาส่วนที่ดีออกจากความทรงจำ การพกพาความทรงจำทั้งหมดไปในชีวิตไม่ใช่เรื่องเศร้าหรือเสียใจอีก…… เสมือนการหายใจ ….. ความรู้สึกได้ถึงลมหายใจไม่ได้เกิดขึ้นตลอดเวลา มันรับรู้ได้เมื่อเราคิดถึง เช่นเดียวกัน ความรักและคิดถึง มีจริงแต่ไม่ได้รู้สึกตลอดเวลา ถ้าเราดำเนินชีวิตพร้อมกับลมหายใจนั้นอยู่แล้ว เราจึงไม่จำเป็นต้องนึกถึงลมหายใจนั้นตลอดเวลา เพราะมันมีอยู่จริงและคงอยู่ให้ได้รู้สึกในบางเวลา… ตอนที่หนึ่ง]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><img class="size-medium wp-image-783 aligncenter" title="Camera 360" src="http://www.bopit.in.th/wp-content/uploads/2012/08/2012-07-01-12.57.47-1-225x300.jpg" alt="" width="225" height="300" srcset="https://www.bopit.in.th/wp-content/uploads/2012/08/2012-07-01-12.57.47-1-225x300.jpg 225w, https://www.bopit.in.th/wp-content/uploads/2012/08/2012-07-01-12.57.47-1-768x1024.jpg 768w, https://www.bopit.in.th/wp-content/uploads/2012/08/2012-07-01-12.57.47-1.jpg 1200w" sizes="(max-width: 225px) 100vw, 225px" /></p>
<p style="text-align: center;">จากบ้านที่ว่างเปล่าจนถึงวันที่บ้านไม่มีสี</p>
<p style="text-align: center;">จากหัวใจจนถึงสมอง</p>
<p style="text-align: center;">ถ้าเขาทำได้เขาจะไม่ย้อนเวลากลับไปแก้ไขอะไร เพราะว่าเขาพบว่าตัวเองไม่ต้องการสิ่งที่ เสียใจอีกแล้ว</p>
<p style="text-align: center;">เขาไม่เคลื่อนย้ายความทรงจำในอดีตหรือบิดเบือนมัน เพราะว่าไม่มีทางที่จะเอาส่วนที่ดีออกจากความทรงจำ</p>
<p style="text-align: center;">การพกพาความทรงจำทั้งหมดไปในชีวิตไม่ใช่เรื่องเศร้าหรือเสียใจอีก……</p>
<p style="text-align: center;">เสมือนการหายใจ ….. ความรู้สึกได้ถึงลมหายใจไม่ได้เกิดขึ้นตลอดเวลา มันรับรู้ได้เมื่อเราคิดถึง</p>
<p style="text-align: center;">เช่นเดียวกัน ความรักและคิดถึง มีจริงแต่ไม่ได้รู้สึกตลอดเวลา</p>
<p style="text-align: center;">ถ้าเราดำเนินชีวิตพร้อมกับลมหายใจนั้นอยู่แล้ว เราจึงไม่จำเป็นต้องนึกถึงลมหายใจนั้นตลอดเวลา</p>
<p style="text-align: center;">เพราะมันมีอยู่จริงและคงอยู่ให้ได้รู้สึกในบางเวลา…</p>
<p><a href="http://www.bopit.in.th/shot-story/">ตอนที่หนึ่ง</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/shot-story-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Sencha Touch 2: fireEvent from view to component (custom event)</title>
		<link>https://www.bopit.in.th/sencha-touch-2-fireevent-custom-event/</link>
					<comments>https://www.bopit.in.th/sencha-touch-2-fireevent-custom-event/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 26 Apr 2012 11:08:14 +0000</pubDate>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[senchatouch]]></category>
		<category><![CDATA[ตัวอย่าง]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=768</guid>

					<description><![CDATA[อ้างอิงตัวอย่างจาก http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-4/ จาก framework ที่ Sencha Touch 2 จัดเตรียมไว้ให้แบบ MVC ทำให้ผมเลือกใช้การ pass custom event ไปยัง controller ที่จัดเตรียมเอาไว้ ส่วนสำคัญของตัวอย่างนี้คือการ initialize  view ใน method “initialize ”  เนื่องจากครั้งแรกได้ทำนอก method เป็นแบบ config object ผลคือไม่สามารถ dispatch ไปถึงตัว listener ที่ controller ได้ View Ext.define("NotesApp.view.NotesListContainer", { extend: "Ext.Container", alias: "widget.noteslistcontainer", initialize: function () { this.callParent(arguments); var notesList = { xtype: "noteslist", store: Ext.getStore("Notes"), listeners: &#8230; <a href="https://www.bopit.in.th/sencha-touch-2-fireevent-custom-event/" class="more-link">Continue reading <span class="screen-reader-text">Sencha Touch 2: fireEvent from view to component (custom event)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>อ้างอิงตัวอย่างจาก <a href="http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-4/">http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-4/</a></p>
<p>จาก framework ที่ Sencha Touch 2 จัดเตรียมไว้ให้แบบ MVC ทำให้ผมเลือกใช้การ pass custom event ไปยัง controller ที่จัดเตรียมเอาไว้</p>
<p>ส่วนสำคัญของตัวอย่างนี้คือการ initialize  view ใน method “initialize ”  เนื่องจากครั้งแรกได้ทำนอก method เป็นแบบ config object ผลคือไม่สามารถ dispatch ไปถึงตัว listener ที่ controller ได้</p>
<h2 class="prettyprint [lang-js]"><strong>View</strong></h2>
<pre class="prettyprint [lang-js]">Ext.define("NotesApp.view.NotesListContainer", {
	extend: "Ext.Container",
	alias: "widget.noteslistcontainer",

	 initialize: function () {
	  this.callParent(arguments);
	  var notesList = {
	  xtype: "noteslist",
	  store: Ext.getStore("Notes"),
	  listeners: {
	    disclose: { fn: this.onNotesListDisclose, scope: this }
	  }
         };
         this.add([notesList]);
        },
	onNotesListDisclose: function (list, record, target, index, evt, options) {
	  console.log("editNoteCommand");
          this.fireEvent('editNoteCommand', this, record);
	}
});</pre>
<p>ในส่วนของตัวรับ สามารถกำหนด event เป็น ‘editNoteCommand’ ได้เลย</p>
<h2 class="prettyprint [lang-js]"><strong>Controller</strong></h2>
<pre class="prettyprint [lang-js]">Ext.define("NotesApp.controller.Notes", {

    extend: "Ext.app.Controller",
    config: {
        refs: {
         notesListContainer: "noteslistcontainer",
	},
        control: {
            notesListContainer: {
                editNoteCommand: "onEditNoteCommand"
            },
	},
	// Commands.
    onNewNoteCommand: function () {
	console.log("onNewNoteCommand");
    }
});</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/sencha-touch-2-fireevent-custom-event/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>เวลา และ เหตุการณ์</title>
		<link>https://www.bopit.in.th/%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2-%e0%b9%81%e0%b8%a5%e0%b8%b0-%e0%b9%80%e0%b8%ab%e0%b8%95%e0%b8%b8%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%93%e0%b9%8c/</link>
					<comments>https://www.bopit.in.th/%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2-%e0%b9%81%e0%b8%a5%e0%b8%b0-%e0%b9%80%e0%b8%ab%e0%b8%95%e0%b8%b8%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%93%e0%b9%8c/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 16 Apr 2012 15:37:17 +0000</pubDate>
				<category><![CDATA[Quote]]></category>
		<category><![CDATA[ทั่วไป]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=739</guid>

					<description><![CDATA[เมื่อสิ่งที่เห็นคือปัจจุบัน แล้วความทรงจำคืออดีต &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;คิด อยู่ ตอนนี้ว่า ถ้าผมมองหาตัวเอง ในมุมมองคนอื่น กับ มองตัวเองในกระจก ภาพที่ได้จะต่างกัน หรือไม่ และ ถ้าเสียงที่ดังขึ้นไม่ได้เกิดจากการเพิ่มเสียงนั้น แต่เกิดจากเสียงรบกวนนั้นน้อยลง ภาพจาก  Extremely Loud &#38; Incredibly Close ]]></description>
										<content:encoded><![CDATA[<h3 style="text-align: center"><a href="http://www.bopit.in.th/wp-content/uploads/2012/03/Extremely-loud-and-incredibly-close1.jpg"><img class="wp-image-746 aligncenter" title="Extremely loud and incredibly close" src="http://www.bopit.in.th/wp-content/uploads/2012/03/Extremely-loud-and-incredibly-close1.jpg" alt="" width="415" height="399" srcset="https://www.bopit.in.th/wp-content/uploads/2012/03/Extremely-loud-and-incredibly-close1.jpg 640w, https://www.bopit.in.th/wp-content/uploads/2012/03/Extremely-loud-and-incredibly-close1-300x288.jpg 300w" sizes="(max-width: 415px) 100vw, 415px" /></a></h3>
<blockquote>
<h3 style="text-align: center">เมื่อสิ่งที่เห็นคือปัจจุบัน แล้วความทรงจำคืออดีต</h3>
</blockquote>
<p style="text-align: center">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;คิด อยู่ ตอนนี้ว่า</p>
<p style="text-align: center">ถ้าผมมองหาตัวเอง ในมุมมองคนอื่น กับ</p>
<p style="text-align: center">มองตัวเองในกระจก ภาพที่ได้จะต่างกัน หรือไม่</p>
<p style="text-align: center">และ ถ้าเสียงที่ดังขึ้นไม่ได้เกิดจากการเพิ่มเสียงนั้น แต่เกิดจากเสียงรบกวนนั้นน้อยลง</p>
<p style="text-align: center">
<div style="text-align: center"></div>
<p style="text-align: center">ภาพจาก  <a href="http://www.imdb.com/media/rm2537272064/tt0477302">Extremely Loud &amp; Incredibly Close </a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2-%e0%b9%81%e0%b8%a5%e0%b8%b0-%e0%b9%80%e0%b8%ab%e0%b8%95%e0%b8%b8%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%93%e0%b9%8c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sencha Touch2 &#8211; create app problem</title>
		<link>https://www.bopit.in.th/sencha-touch2-create-app-problem/</link>
					<comments>https://www.bopit.in.th/sencha-touch2-create-app-problem/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 09 Apr 2012 15:06:16 +0000</pubDate>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[app-create]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[senchatouch]]></category>
		<category><![CDATA[ตัวอย่าง]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=754</guid>

					<description><![CDATA[เริ่มต้นก็จะ create app ตาม tutorial  (Window OS) http://www.sencha.com/learn/getting-started-with-sencha-touch-2/ สุดท้ายนั่งงมอยู่นานติดตรง พอเรา &#8220;sencha app create &#8221; มันก็เงียบไปไม่มี INFO การสร้างออกมาปรากฏว่ามีปัญหาเรื่องการอ้าง ตัว sencha ที่ใช้ในการ run เพราะว่าขั้นตอนบอกให้ลง Tool Kit และ SDK แต่สุดท้าย sencha ที่จะใช้สร้างจริงๆ ต้องตัวที่อยู่ SDK แต่พอเราติดตั้ง Toolkit มันจะสร้าง Path Environment ให้เรียกที่ Toolkit Solution  ให้เรียก Sencha ด้วย Full Path Example.   D:\web\medico-mobile\lib\sencha-touch-2-sdk\command\sencha app create  [App Name]  [Destination APP] &#160;]]></description>
										<content:encoded><![CDATA[<p>เริ่มต้นก็จะ create app ตาม tutorial  (Window OS)<br />
<a href="http://www.sencha.com/learn/getting-started-with-sencha-touch-2/">http://www.sencha.com/learn/getting-started-with-sencha-touch-2/</a></p>
<p>สุดท้ายนั่งงมอยู่นานติดตรง พอเรา &#8220;sencha app create &#8221; มันก็เงียบไปไม่มี INFO การสร้างออกมาปรากฏว่ามีปัญหาเรื่องการอ้าง ตัว sencha ที่ใช้ในการ run</p>
<p>เพราะว่าขั้นตอนบอกให้ลง Tool Kit และ SDK แต่สุดท้าย sencha ที่จะใช้สร้างจริงๆ ต้องตัวที่อยู่ SDK แต่พอเราติดตั้ง Toolkit มันจะสร้าง Path Environment ให้เรียกที่ Toolkit</p>
<p><strong>Solution  </strong>ให้เรียก Sencha ด้วย Full Path</p>
<p>Example.   D:\web\medico-mobile\lib\sencha-touch-2-sdk\command\sencha app create  [App Name]  [Destination APP]</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/sencha-touch2-create-app-problem/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>คิดถึง เด็กหญิงขายไม้ขีดไฟ</title>
		<link>https://www.bopit.in.th/%e0%b9%80%e0%b8%94%e0%b9%87%e0%b8%81%e0%b8%ab%e0%b8%8d%e0%b8%b4%e0%b8%87%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%a1%e0%b9%89%e0%b8%82%e0%b8%b5%e0%b8%94%e0%b9%84%e0%b8%9f/</link>
					<comments>https://www.bopit.in.th/%e0%b9%80%e0%b8%94%e0%b9%87%e0%b8%81%e0%b8%ab%e0%b8%8d%e0%b8%b4%e0%b8%87%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%a1%e0%b9%89%e0%b8%82%e0%b8%b5%e0%b8%94%e0%b9%84%e0%b8%9f/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Dec 2011 16:09:12 +0000</pubDate>
				<category><![CDATA[Drama]]></category>
		<category><![CDATA[ทั่วไป]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=723</guid>

					<description><![CDATA[เนื้อเรื่องกล่าวถึงเด็กหญิงคนหนึ่งที่ถูกพ่อเลี้ยงบังคับให้เดินขายไม้ขีดไฟ ท่ามกลางความหนาวเย็นในคืนวันส่งท้ายปีเก่า เด็กหญิงกำลังจะทุกข์ทรมานเนื่องจากความหิวและความหนาวเย็น เธอจึงจุดไม้ขีดไฟเพื่อให้ความอบอุ่นกับร่างกาย เมื่อเธอจุดไม้ขีดไฟแต่ละก้าน เธอก็ได้ระลึกถึงความสุขที่เคยมี ความรักที่เคยได้รับจากคุณยายที่เสียชีวิตไปแล้ว ในเช้าวันปีใหม่ ชาวเมืองที่เดินผ่านมาได้พบกับร่างไร้ชีวิตของเด็กหญิง กับก้านไม้ขีดไฟที่ถูกจุดแล้วอยู่รอบตัวเธอ เป็นเรื่องราวนิทานในวัยเด็กที่ ดูหรืออ่านมานานแล้ว ทำให้ผมนึกถึงเมื่ออากาศหนาวช่วงปีใหม่ปีนี้ 2011 ที่มาข้อมูล wiki (TH)  , wiki (ENG)]]></description>
										<content:encoded><![CDATA[<blockquote>
<p>เนื้อเรื่องกล่าวถึงเด็กหญิงคนหนึ่งที่ถูกพ่อเลี้ยงบังคับให้เดินขายไม้ขีดไฟ ท่ามกลางความหนาวเย็นในคืนวันส่งท้ายปีเก่า เด็กหญิงกำลังจะทุกข์ทรมานเนื่องจากความหิวและความหนาวเย็น เธอจึงจุดไม้ขีดไฟเพื่อให้ความอบอุ่นกับร่างกาย เมื่อเธอจุดไม้ขีดไฟแต่ละก้าน เธอก็ได้ระลึกถึงความสุขที่เคยมี ความรักที่เคยได้รับจากคุณยายที่เสียชีวิตไปแล้ว ในเช้าวันปีใหม่ ชาวเมืองที่เดินผ่านมาได้พบกับร่างไร้ชีวิตของเด็กหญิง กับก้านไม้ขีดไฟที่ถูกจุดแล้วอยู่รอบตัวเธอ</p>
</blockquote>
<p>เป็นเรื่องราวนิทานในวัยเด็กที่ ดูหรืออ่านมานานแล้ว ทำให้ผมนึกถึงเมื่ออากาศหนาวช่วงปีใหม่ปีนี้ 2011</p>
<p>ที่มาข้อมูล <a href="http://th.wikipedia.org/wiki/%E0%B9%80%E0%B8%94%E0%B9%87%E0%B8%81%E0%B8%AB%E0%B8%8D%E0%B8%B4%E0%B8%87%E0%B8%82%E0%B8%B2%E0%B8%A2%E0%B9%84%E0%B8%A1%E0%B9%89%E0%B8%82%E0%B8%B5%E0%B8%94%E0%B9%84%E0%B8%9F">wiki</a> (TH)  , <a href="http://en.wikipedia.org/wiki/The_Little_Match_Girl">wiki </a>(ENG)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/%e0%b9%80%e0%b8%94%e0%b9%87%e0%b8%81%e0%b8%ab%e0%b8%8d%e0%b8%b4%e0%b8%87%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%a1%e0%b9%89%e0%b8%82%e0%b8%b5%e0%b8%94%e0%b9%84%e0%b8%9f/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Shop at IKEA</title>
		<link>https://www.bopit.in.th/how-to-shop-at-ikea/</link>
					<comments>https://www.bopit.in.th/how-to-shop-at-ikea/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 05:40:39 +0000</pubDate>
				<category><![CDATA[Furniture]]></category>
		<category><![CDATA[IKEA]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=714</guid>

					<description><![CDATA[วิธีการซื้อ We create our store to let you shop on your own รายละเอียดอื่นๆ Facebook : https://www.facebook.com/IKEAThailand Homepage: http://www.ikea.com/th/th/ &#160;]]></description>
										<content:encoded><![CDATA[<p>วิธีการซื้อ</p>
<p style="text-align: center;">We create our store to let you shop on your own</p>
<p><iframe src="http://www.youtube.com/embed/yvgf3butkkM" frameborder="0" width="420" height="243"></iframe></p>
<p>รายละเอียดอื่นๆ</p>
<p>Facebook : <a href="https://www.facebook.com/IKEAThailand">https://www.facebook.com/IKEAThailand</a></p>
<p>Homepage: <a href="http://www.ikea.com/th/th/">http://www.ikea.com/th/th/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/how-to-shop-at-ikea/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tortured Soul</title>
		<link>https://www.bopit.in.th/tortured-soul/</link>
					<comments>https://www.bopit.in.th/tortured-soul/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 15 Aug 2011 07:22:45 +0000</pubDate>
				<category><![CDATA[ทั่วไป]]></category>
		<guid isPermaLink="false">http://www.bopit.in.th/?p=679</guid>

					<description><![CDATA[Official Web&#124; Won&#8217;t you give me your hand baby? Won&#8217;t you give me your hand to hold in mine Won&#8217;t you give me a kiss baby? all I need is your kiss to fee come on over and dance with me I can see you move the way I do If you give it a chance &#8230; <a href="https://www.bopit.in.th/tortured-soul/" class="more-link">Continue reading <span class="screen-reader-text">Tortured Soul</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.torturedsoulmusic.com/">Official Web</a>|</p>

<a href='https://www.bopit.in.th/tortured-soul/grandcentral/'><img width="150" height="150" src="https://www.bopit.in.th/wp-content/uploads/2011/08/grandcentral-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.bopit.in.th/tortured-soul/car1/'><img width="150" height="150" src="https://www.bopit.in.th/wp-content/uploads/2011/08/car1-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>

<p><iframe src="http://www.youtube.com/embed/zBlUi_OhBuY" frameborder="0" width="420" height="269"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/on-m-jmskaU" frameborder="0" width="420" height="345"></iframe></p>
<p style="text-align: center;"><span id="more-679"></span></p>
<p style="text-align: center;">Won&#8217;t you give me your hand baby?<br />
Won&#8217;t you give me your hand<br />
to hold in mine<br />
Won&#8217;t you give me a kiss baby?<br />
all I need is your kiss to fee<br />
come on over and dance with me<br />
I can see you move the way I do<br />
If you give it a chance baby<br />
maybe you&#8217;ll fall in love<br />
like I love you</p>
<p style="text-align: center;">I just want you<br />
to fall in love<br />
I just want you<br />
to fall in love with me<br />
I just want you<br />
to fall in love<br />
I just want you<br />
to fall in love like me</p>
<p style="text-align: center;">Always wanted to make you mine<br />
ever since the first night<br />
that we met<br />
but I knew it would take some time<br />
cause you&#8217;re the kind of girl<br />
thats hard to get<br />
but I could tell by the way you smile<br />
if I gave it a try you wouldn&#8217;t mind it<br />
everyone&#8217;s looking for love<br />
we can try together and we might even find it</p>
<p style="text-align: center;">just like me baby<br />
(I want you to love me)<br />
oh baby yea<br />
yea oh yea baby<br />
hey fall in love<br />
lets fall in love<br />
cause I&#8217;m fallin baby<br />
well, I&#8217;m fallin girl</p>
<p style="text-align: center;">I know that you and me are friends,<br />
oh yea<br />
but I know that I won&#8217;t be satisfied<br />
If thats the way our relationship ends<br />
I could say thats cool but that would be a lie<br />
you might be afraid<br />
but theres no need to be<br />
I will treat you right<br />
and theres no doubt about it<br />
let yourself go<br />
come on and trust<br />
I won&#8217;t betray this love cause<br />
I don&#8217;t wanna live without it</p>
<p style="text-align: center;">come on baby lets fall in love<br />
(don&#8217;t you be scared cause I will always be there for you)<br />
come on baby lets fall in love<br />
(All I wanna do is lay around with you, yea)<br />
come on baby lets fall in love<br />
(yes I&#8217;ll take my time and I&#8217;ll make you mine baby)<br />
come on baby lets fall in love<br />
(won&#8217;t you come over tonight so we can feel alright, thats right)<br />
come on baby lets fall in love<br />
(touch me and feel yea my love is for real)<br />
yea yea yea<br />
come on baby lets fall in love<br />
(I will catch you when you&#8217;re falling,<br />
you can trust me baby)<br />
come on baby lets fall in love<br />
(you&#8217;ve got to believe that what I&#8217;ve got<br />
is what you need its love baby)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bopit.in.th/tortured-soul/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
