<?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>We Project</title>
	<atom:link href="http://www.we.in.th/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.we.in.th</link>
	<description>Fabric of the Symphony</description>
	<lastBuildDate>Sat, 29 May 2010 07:09:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Zend Framework 1.10 + Doctrine 1.2</title>
		<link>http://www.we.in.th/zf-and-doctrine/</link>
		<comments>http://www.we.in.th/zf-and-doctrine/#comments</comments>
		<pubDate>Sat, 29 May 2010 07:09:32 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Update]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=593</guid>
		<description><![CDATA[ปัญหาเริ่มต้นที่ว่า ผมใช้ Zend Framework อยู่ตอนนี้ แต่ด้วยฐานข้อมูลที่มันไม่นิ่ง และกำลังมองเรื่องปริมาณการใช้งานที่เห็นว่างานนี้ถ้าเกิด มีผู้ใช้เยอะแน่ๆ ปัญหาหนึ่งที่เห็นว่ามันยังเป็นคอขวดในโปรเจ็คก็เรื่อง transaction ของฐานข้อมูล ซึ่งตอนแรกเขียน Class Map กับตารางปวดหัวมากที่เดียว เพราะอย่างหนึ่งที่ต้องยอมรับก็เพราะไม่ได้เป็นคนออกแบบเองแล้วเอกสารประกอบให้มาน้อยมาก ได้แก่ Data Dictionary ที่หยาบเอามากๆ และ ER Diagram ที่ต้องมานั่งเล็งเอาจากภาพหน้าจอโปรแกรมออกแบบ ER Diagram อีกที อย่างสุดท้ายก็คือในการใช้งานจริง ต้องเอาไปใช้ร่วมกับ Oracle อันนี้ต้องบอกว่าเป็นที่ผมเองที่ไม่เคยลองเล่นกับ Oracle มาก่อนเลยค่อนข้างจะเป็นปัญหา สุดท้ายเลยตัดสินใจมองหา ORM (Object-Relational Mapping) มาช่วยงานดีกว่า เพราะอย่างที่เห็นได้ชัดคือ ORM มันทำงาน On top พวกฐานข้อมูลอีกที ไอ้เรื่องการจะเปลี่ยนจาก MySQL ที่ลองอยู่ไปเป็น PostgreSQL หรือ Oracle คงไม่ใช่ปัญหาใหญ่เท่าไหร่นัก อย่างมากก็แก้ที่ตัว ORM เท่านั้น แต่ก่อนอื่นต้องบอกกว่า [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/zf-and-doctrine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPUnit Setup</title>
		<link>http://www.we.in.th/phpunit-setup/</link>
		<comments>http://www.we.in.th/phpunit-setup/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 16:52:57 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=579</guid>
		<description><![CDATA[PHPUnit เป็น Unit Test Framework สำหรับ PHP ใครใช้ JUnit มาแล้วก็อารมณ์เดียวกัน แค่เปลี่ยนจาก Java มาเป็น PHP ก่อนอื่น ผมติดตั้งใน Mac OS X วิธีคงไม่ต่างกันมากนักกับ Linux แต่สำหรับ Windows อันนี้ไม่แน่ใจครับ เพราะเลิกใช้นานแล้ว วิธีการติดตั้ง ให้แน่ใจว่าใช้คำสั่ง php ที่ terminal ได้ PHPUnit ต้องการ pear ด้วย สำหรับใครที่ใช้ Windows ก็ต้องโหลดมาเพิ่ม ได้ที่ pear.php.net ส่วน Linux และ OS X ไม่ต้องเพราะมีแล้ว โหลด PHPUnit จาก pear.phpunit.de/get เลือกเอาตามชอบครับ ผมเลือกเป็น PHPUnit-3.4.9 ไฟล์ที่ได้จะเป็นไฟล์ PHPUnit-x.x.x.tgz [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/phpunit-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spica EP: I</title>
		<link>http://www.we.in.th/spica-ep-1/</link>
		<comments>http://www.we.in.th/spica-ep-1/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 13:41:39 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=576</guid>
		<description><![CDATA[ช่วงนี้เกิดอาการกระแดะเบื่อ Nokia 5800 ซะงั้น เพราะนิ้วใหญ่ จอเล็กเลยจิ้มลำบากมั้ง ตอนนี้เลยซื้อ Spica มาแล้ว อยากเอามาเขียนโปรแกรมเต็มแก่ แต่ไม่รู้ว่าจะมีความอยากได้นานเท่าไหร่ แต่เรื่องแรกที่เซ็งคือเครื่องที่ได้มาลำโพงดันแหลมพร่าซะงั้น (ออกแนวลำโพงแตก) ตอนนี้อัพเป็น 2.1 แล้วซะด้วย เหลือแค่ดาวน์เกรดเป็น 1.5 เหมือนเดิม แล้วค่อยเอาไปทะเลาะกับศูนย์ซัมซุงให้ช่างออกใบรับรองให้ก่อนว่าลำโพงมันเจ๊งจริงๆ เราไม่ได้อุบอิ๊บคิดไปเองว่ามันเสียงแตก จากนั้นค่อยเอาไปเปลี่ยนที่ร้านเพราะโชคดีที่ว่ามันยังอยู่ในระยะเวลาประกัน 7 วัน (เป็นขึ้นตอนมาตรฐานที่ call center ของ samsung บอกมาอีกที) วันศุกร์คงได้เอาไปเปลี่ยน ถ้าเปลี่ยนไม่ได้คงเห็นข่าวร้าน J-Mart ที่ฟิวเจอร์รังสิตไฟไหม้แน่นอน]]></description>
		<wfw:commentRss>http://www.we.in.th/spica-ep-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>สร้าง XML Binding Class ด้วย JAXB</title>
		<link>http://www.we.in.th/xml-binding-class-with-jax/</link>
		<comments>http://www.we.in.th/xml-binding-class-with-jax/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 12:13:05 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Slide]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=572</guid>
		<description><![CDATA[สไลด์ยังอุ่นๆ อยู่เลยเพราะพึ่งออกจากเตาใหม่ๆ สไลด์นี้ว่าด้วยการสร้าง XML Binding Class ด้วย JAXB ใน Java เป็นตัวอย่างและสรุปสั้นๆ ให้พี่ที่ทำงานฟัง ถ้าต้องการรายละเอียดถามได้ครับ JAXB: Create, Validate XML Message and Edit XML Schema View more presentations from Sitdhibong Laokok.]]></description>
		<wfw:commentRss>http://www.we.in.th/xml-binding-class-with-jax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat 6.x: Cluster Basic Checkpoints</title>
		<link>http://www.we.in.th/tomcat-6-x-cluster-basics/</link>
		<comments>http://www.we.in.th/tomcat-6-x-cluster-basics/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 03:55:43 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=566</guid>
		<description><![CDATA[ทุกๆ Session attribute ต้อง implement &#8220;java.io.Serializable&#8220; เอา comment (&#8220;&#60;!&#8211; Comment &#8211;&#62;&#8221;) ของแท็ก Cluster ใน server.xml ออก หากมีการเปลี่ยนหรือต้องการกำหนดค่า Valve สำหรับ Cluster ต้องแต่ใจว่า ReplicationValve ต้องประกาศภายใต้แท็ก Cluster ใน server.xml ถ้า instance (ของ tomcat หรือ tomcat node หรือ node) ทำงานอยู่ในเครื่องเดียวกัน ก็ต้องให้แน่ใจว่าค่าในแอททริบิวต์ port (ในแท็ก Cluster) ไม่ซ้ำกัน ซึ่ง tomcat เองก็ฉลาดพอที่จะ resolve เองได้ โดยที่หา port ที่อยู่ในช่วงระหว่าง 4000 &#8211; 4100 อย่าลืมใส่ &#60;distributable/&#62; ใน web.xml ของ [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/tomcat-6-x-cluster-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ลายน้ำใน Pages</title>
		<link>http://www.we.in.th/pages-watermark/</link>
		<comments>http://www.we.in.th/pages-watermark/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 07:55:50 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=560</guid>
		<description><![CDATA[1. เปิดเอกสารที่ต้องการใส่ลายน้ำ 2. ใส่ข้อความหรือรูปภาพที่จะน้ำมาทำลายน้ำ 3. คลิ้กที่ต้นแบบในข้อ 2 เลือกเมนู &#8220;Format&#8221; > &#8220;Advanced&#8221; > &#8220;Move Object to Section Master&#8221; 4. จะได้ลายน้ำดังรูป 5. ถ้าหากต้องการแก้ไขให้ดับเบิ้ลคลิ้กที่ลายน้ำ Pages จะถามว่าจะให้เปลี่ยนลายน้ำนี้ไปสู่โหมดที่คลิ้กเลือกได้หรือไม่ อันนี้แล้วแต่ชอบ จากนั้นจึงแก้ไขได้ตามใจ ผลการเปลี่ยนแปลงก็จะเป็นไปในทุกๆ หน้าใน Section (ในกรณีที่มีหลาย Section ในเอกสารสามารถเลือกได้ว่าส่วนไหนไม่ต้องการใส่ลายน้ำ) Pages, iWork &#8217;09, Apple]]></description>
		<wfw:commentRss>http://www.we.in.th/pages-watermark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แสดงหัวตารางซ้ำ</title>
		<link>http://www.we.in.th/repeat-table-header/</link>
		<comments>http://www.we.in.th/repeat-table-header/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:44:39 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[OpenOffice.org]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tutorail]]></category>
		<category><![CDATA[Writer]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=536</guid>
		<description><![CDATA[บันทึกความจำกันอีกตอนหนึ่งเพราะช่วงนี้ต้องใช้ OpenOffice.org (OO.o) อย่างหนักเมื่อก่อนไม่ค่อยได้ใช้มากเท่าไหร่นักอย่างมากก็พิมพ์งานนิดหน่อย แต่ช่วงนี้เริ่มต้องใช้รูปแบบที่ซับซ้อนขึ้น ตอนนี้กว่าจะหาเจอก็นานอยู่เหมือนกัน หรืออีกเหตุผลหนึ่งก็เพราะไม่คุ้นกับ OO.o เท่าไหร่นัก การสั่งให้แสดงหัวตารางซ้ำอัตโนมัติเป็นฟังก์ชั่นที่สำคัญอีกฟังก์ชั่นหนึ่งเพราะช่วยให้ทำงานกับตารางที่มีข้อมูลที่มีความยาวหลายหน้าได้ง่ายและสะดวกมากยิ่งขึ้น อย่างเช่นในตัวอย่างด้านบน ข้อมูลมีความยาวมากกว่าที่จะใส่ในหน้ากระดาษแผ่นเดียวได้ วิธีการแก้ไขของผมเองคือแยกตารางส่วนที่เกินออกมาแล้วค่อยใส่หัวตารางใหม่ แต่ปัญหาจะเกิดขึ้นเมื่อต้องการเปลี่ยนแปลงหัวตาราง ซึ่งมันจะไม่ใช่ภาระเลยหากมีแค่เพียงตารางเดียวหรือ 2 ตาราง และหากมีการเปลี่ยนแปลงเนื้อหาภายในตารางที่ส่งผลให้ความยาวของตารางก่อนหน้าเปลี่ยนไปก็จะส่งผลกระทบไปสู่ตารางถัดไปอย่างหลีกเลี่ยงไม่ได้ ดังนั้นวิธีแก้ไขที่เจอก็คือกำหนดให้แสดงหัวตารางซ้ำ สามารถเข้าไปกำหนดค่าได้ 2 วิธีคือ 1 เมื่อคลิ้กที่ตารางจะมีแถบเครื่องมือ Table ดังเช่นรูปที่ 3 จากนั้นคลิ้กที่ปุ่มที่อยู่ในกรอบสีแดง และวิธีที่ 2 คือจากเมนู Table เลือก Table Properties... ดังรูปที่ 4 จะได้หน้าต่าง Table Format ดังรูปที่ 5 จากนั้นเลือกที่แถบ Table Flow และคลิ้กเลือกที่ Repeat Heading และเปลี่ยนจำนวนแถวของหัวตารางที่ต้องการให้แสดงซ้ำตามต้องการจากนั้นจะได้ตารางดังรูปที่ 6 ซึ่งหากแก้ไขหัวตารางในรูปที่ 6 นี้ก็จะส่งผลไปยังหัวตารางที่เห็นในรูปที่ 1 ด้วย [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/repeat-table-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Ant in Actions I &#8211; Overview</title>
		<link>http://www.we.in.th/ant-in-actions-1-overview/</link>
		<comments>http://www.we.in.th/ant-in-actions-1-overview/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 16:15:25 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=521</guid>
		<description><![CDATA[ช่วงนี้ได้มีโอกาสจับงาน Java ที่ต้องมี Source ไฟล์มาเกี่ยวข้องด้วยเยอะ ไอ้การจะมานั่งจัดการไฟล์จำนวนมากด้วยมือก็เห็นจะไม่ใช่เรื่องดีเท่าไหร่ งานนี้ก็เลยต้องอาศัย Build Tools มาช่วยงานสักหน่อย ก็ได้แค่โปรแกรมที่ชื่อว่า Apache Ant หรือที่รู้จักกันดีและเรียกกันสั้นๆ ว่า Ant ตัวนี้สักหน่อย Ant เป็นเครื่องมือที่ช่วยจัดการงานต่างๆ ที่เราต้องทำเข้าไว้ด้วยกัน ในรูปแบบของชุดคำสั่ง เทียบได้กับ make ใน unix ซึ่งข้อดีของ Ant คือ มันเป็น OS Independent ที่เขียนขึ้นมาด้วย Java ทำให้เขียนโปรแกรมแล้วนำคำสั่งชุดคำสั่งนี้ไปทำงานหรือแก้ไขที่ได้ก็ได้โดยให้ผลลัพธ์ (จาก Ant) เช่นเดียวกัน Build File คือชุดคำสั่งของ Ant ที่เราเขียนและกำหนดไว้เพื่อให้ Ant ทำตาม อยู่ในไฟล์ &#8216;build.xml&#8217; (เป็นค่า default) จะเรียกว่า build file มีโครงสร้างตามรูปด้านล่าง ภายใน build file [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/ant-in-actions-1-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Architecture: Test Case Writing</title>
		<link>http://www.we.in.th/software-architecture-test-case-writing/</link>
		<comments>http://www.we.in.th/software-architecture-test-case-writing/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 08:12:44 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Slide]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=508</guid>
		<description><![CDATA[ความจริงเป็นสไลด์ที่ต้องเอาไปพูดให้พี่ที่ทำงานฟัง คิดว่ามันคงพอจะมีประโยชน์บ้าง เลยเอามาอัพใส่ไว้ใน blog ซะหน่อย แต่ต้องขอบอกก่อนนะครับว่าผมค่อนข้างใหม่กับเรื่องพวกนี้ ถ้าจะเอาจริงเอาจังล่ะก็ให้อ่านตรงสไลด์ 2 สุดท้ายแล้วกัน :D Software Architecture: Test Case Writing View more presentations from Sitdhibong Laokok. แก้ไข 2009.11.09: ตอนแรกอัพโหลดให้เป็นไฟล์ของ Keynote แต่เนื่องจากมีปัญหาเรื่อง Transition ของ สไลด์นิดหน่อยจึงเปลี่ยนเป็น PDF แทน แต่ถ้าใครต้องการไฟล์ที่เป็น Keynote ก็ยินดีให้ครับ :) (goto.champ [at] gmail [dot] com)]]></description>
		<wfw:commentRss>http://www.we.in.th/software-architecture-test-case-writing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Bootable Live USB Drive for Mac OS X</title>
		<link>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/</link>
		<comments>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 03:44:11 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=481</guid>
		<description><![CDATA[1. ดาวน์โหลด image ไฟล์ ที่ต้องการ (สำหรับผมคือubuntu-9.10-netbook-remix-i386.iso) 2. เปิด Terminal ขึ้นมา 3. สั่งแสดงรายการของ device ทั้งหมดที่เชื่อมต่ออยู่กับเครื่อง ด้วยคำสั่ง # diskutil list ผลที่ได้: จะบอกว่าขณะนี้มี device ชื่อว่า Potter ขนาด 2GB เชื่อมต่ออยู่ (ข้อมูลจะเป็นลักษณะเดียวกันแต่จะไม่เหมือนกันทุกอย่างขึ้นอยู่กับว่าเครื่องคอมพิวเตอร์เครื่องนั้นมี device เชื่อมต่ออยู่มากแค่ไหน) : /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *2.0 GB disk2 1: DOS_FAT_32 POTTER 2.0 GB disk2s1 4. แต่ตอนนี้ยังเขียน image ลงไปใน flash drive ไม่ได้ จำเป็นต้องตัดการเชื่อมต่อ [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
