Saturday, June 2, 2007
Sunday, May 27, 2007
แนะำนำ google adsense และ adwords part 1
หลังจากรับงานมาเลยลองวางแผนว่าจะทำงานเป็นขั้นตอนอย่างไร ก็คิดได้ว่าน่าจะลองศึกษาเป็นขั้นๆ ดังนี้
- ทดลองสร้าง web ขี้นมา ก็คือเวบที่พี่น้องอ่านอยู่นี่
- ไปลองสมัคร Google adsense ดู

Google ใช้ระบบที่เรียกว่า Pay Per click (PPC) โดย google มองเห็นว่าผู้ไ้ด้ประโยชน์จากวิธีิการโฆษณาที่กล่าวมานั้นจะเป็น web site ใหญ่ที่มีผู้เข้าชมมากพอสมควร และ ผู้ที่จะลงโฆษณา (advertisement) ได้ก็ต้องมีสตางค์มากพอควร Google เขาคงคิดแล้วว่าคนเงินน้อยอยากโฆษณาผ่านทาง Internet และก็มี Website เล็กๆที่อยากมีโฆษณาบ้าง จะทำอย่างไรให้ 2 ฝ่ายนี้ได้ประโยชน์โดย Google ได้เงินด้วย Google จึงได้คิดระบบที่เรียกว่า Google AdWord และ adSense ขึ้นมาเพื่อเติมช่องว่างดังกล่าว
ระบบการโฆษณาของ Google เป็นระบบที่แสดงโฆษณาในเวบไซท์ของ google และพันธมิตร รวมทั้งเวบไซท์ที่เข้าโปรแกรม Google Adsense โดยเลือกโฆษณาที่มีเนื้อหาสำพันธ์กับ ข้อความ(keyword)ใน web site นั้น (Contextual relevant ads) ดูรายละิเีอียดที่ Google ads
สำหรับผู้ที่ต้องการจะลงโฆษณา
กระบวนการในการโฆษณาเริ่มโดยผู้ที่จะต้องการโฆษณาไปลงทะเบียน AdWords กับ Google โดยระบุว่า ต้องการใช้ Keywords อะไรลิงก์ไปยัง Web site สินค้าของตัวเองคำพูดที่ต้องการโฆษณา ตัวอย่างเช่น บริษัทโวยวายโลจิสติกส์ไปลงทะเบียนกับ Google adw ว่าจะต้องการลงทะเบียน Keyword คำว่า "Worldwide Logistics" ให้ Link ไปที่ www.wowailog.com แ'ละมีประโยคที่โฆษณาว่า "Worldwide Logistics, best services at cheapest cost"
หลังจากได้เลือก Keyword แล้วจะต้องกำหนดว่าเราจะจ่ายเงินเท่าไรต่อการ click เช่น 3 บาทต่อ click ทีนี้ถ้าเราเลือก Keyword นี้คนเดียวโอกาสที่โฆษณาของเราจะได้แสดงใน Web site ก็สูง แต่โดยทั่วไปก็มีคนอื่นเลือก keyword นี้เหมือนกันเช่น บริษัท สุำภาพขนส่งเลือก keyword "Worldwide logistics" เหมือนกันแต่จ่ายตังก์ 10 บาทต่อ click ที่นี้โฆษณาของเราอาจจะไม่ได้แสดงหรืออยู่ในตำแหน่งที่ไม่เตะตา วิธีอย่างนี้เหมือนกับการประมูล keyword
ดูรายละิเอียด Google adWords
สำหรับผู้ที่จะใช้ adSense
อันนี้จะง่ายกว่าโดยการที่เราไปลงทะเบียนกับ google ในเวบก็จะบอกขั้นตอนต่างๆเราก็ทำตามคำแนะนำของเขาไป ไม่อยากจริงๆ ครับ ดูรายละิเอียด Google adSense
Saturday, May 26, 2007
แนะนำ Information Lifecycle Management (ILM)

ปัจจุบันความต้องการเนื้อที่ hard disk ใน file server หรือ storage server (Network Attached Storage) SAN (Storage Area Network) เพื่อเก็บข้อมูลเพิ่มขึ้นเรื่อยๆ ทั้งนี้ทั้งจากความต้องการเก็บข้อมูลในรูปแบบที่หลากหลาย รวมทั้งข้อมูลที่เป็นสื่อผสม ไม่ว่าจะเป็น ออดิโอ วิดีโอ (audio, video) เราจะบริหารอย่างไร
แนะนำ open source OS

เดี๋ยวนี้มี Open source Software แจกจ่ายให้ใช้ฟรีมากมาย Open source software นั้นต่างจาก freeware ตรงที่นอกจากจะแจก Software ให้ใช้ฟรีแล้วผู้พัฒนาแกยังแถมตัว Source code ของโปรแกรมให้ด้วย แต่ก็มีเงื่อนไขว่าถ้าเราเอาโปรแกรมเขามาแก้ไขแล้วห้ามเอาไปขายต่อให้แจกฟรีได้เท่านั้น
บทความนี้จะแนะนำระบบ Operating System ที่เป็น Open source
1. Linux
Linux เป็น Operating System ที่ได้รับความนิยมสูงสุด รวมทั้งได้รับการสนับสนุนจากบริษัทใหญ่ๆเช่น IBM Dell Intel. คุณคงเคยได้ยินคำว่า Linux Distribution อันว่า Linux Distribution นี้เกิดจากการที่ Linux นั้นเป็น Opensource แต่จะให้ผู้ใช้ทั่วไปอย่างผมไป Download หรือติดตั้งเองก็จะยุ่งยากเกินไป ก็เลยมีคนใจดีเขาทำการจัดรวมรวม Linux และก็ Software ต่างๆรวมทั้งทำโปรแกรมที่ช่วยในการ installation ให้ เราก็เรียกว่า Linux distribution ที่ได้รับความนิยมก็ได้แก่ Redhat Linux, Suse, Debian, CentOS, Knoppix (Linux ที่รันได้จาก CD, DVD)
Linux แต่ละ Distribution ถูกสร้างมาให้เหมาะสมกับการใช้งานที่ต่างกันเช่น สำหรับ Server สำหรับ Deskop สำหรับใช้บน Thumb drive
Linux สามารถทำงานได้กับหลากหลาย hardware และ CPU หลายประเภทเช่น SPARC MC Intel MIPS PocketPC Mobile
2. FreeBSD, OpenBSD, NetBSD
Operating system กลุ่มนี้จะเป็นระบบปฏิบัติการในสกุล BSD Unix ซึ่งเน้นเรื่อง Reliability (ความแน่นอน) Robust (ความอึด) และเรื่องของ Security เช่น IPSEC มี down time ที่ต่ำ มี ISP มากมายที่เลือกใช้ FreeBSD รวมทั้ง Yahoo ด้วย
นอกจากนี้ระบบปฎิบัติการนี้ยังสามารถรัน Application ของ Linux ด้วย
3. Darwin
เป็นระบบปฏิบัติการของบริษัท Apple โดยพัฒนาต่อมาจาก FreeBSD เพื่อให้สามารถทำงานได้บนเครื่อง Macintosh
Friday, May 25, 2007
แนะนำ XSL-FO

Format) ของข้อมูล ลักษณะคล้ายๆกับภาษา HTML
ต่างกันที่ภาษา็ HTML ใช้อฺธิบายรูปแบบของข้อมูลเช่น อักษรตัวหนา header เพื่อให้ แสดงผลได้โดยการใช้ Browser เชน Internet Explorer หรือ Firefox แต่ XSL-FO เน้นไปที่งานพิมพ์ หรือการแสดงผลลัพท์ในรูปแบบของ PDF ไฟล์ Postscript file หรือการสั่งพิมพ์ออกไปยัง printer
ตัวอย่าง XSL-FO ไฟล์
<?xml version="1.0" encoding="utf-8" ?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin-right="0.0in" margin-left="0.0in"
margin-bottom="0.5in" margin-top="0.0in" page-width="210mm"
page-height="297mm" master-name="book-page">
<fo:region-body margin="0in"/>
</fo:simple-page-master>"
</fo:layout-master-set>
<fo:page-sequence master-reference="book-page">
<fo:flow flow-name="xsl-region-body">
<fo:block>Hello World
</fo:flow>
</fo:page-sequence>
</fo:root>
สังเกตได้ว่าคำสั่ง (Tag) จะเป็นประเภทที่เกี่ยวข้องกับการจัดรูปแบบงานพิมพ์เช่น set layout, margin, page, size สำหรับรายละเอียดที่มากว่านี้ลองหาอ่านจาก web XSL-FO Tutorial
การสร้างไฟล์ก็ใช้พวก notepad ก็ได้ หลังจากที่เราได้สร้างข้อมูลแล้วขั้นต่อไปก็เตรียมเอาไปใช้ ลอง copy ตัวอย่างข้างบนไปใส่ใน notepad แล้ว save โดยตั้งชื่อไฟล์เป็น c:\hello.fo
การนำไฟล์ XSL-FO ไปใช้งานทำได้โดยใช้โปรแกรมมาแปลงไฟล์ไปเป็น format ที่เราต้องการตัวอย่างนี้เราจะแปลงไปเป้น ไฟล์ PDF ถ้าเรานึกถึง HTML เราไม่อ่านไฟล์นั้นตรงๆแต่จะดู file ผ่าน Internet explorer หรือ Firefox
ในกรณีของ XSL-FO ก็จะมีคนพัฒนาโปรแกรมที่ผมเรียกเองว่า FO processer ใช้ในการแปลงไฟล์ ในตัวอย่างนี้เราจะแปลง hello.fo ให้เป็นไฟล์ PDF โดยใช้โปรแกรมชื่อ Apache FOP ดาวน์โหลดได้จาก xmlgraphics.apache.org/fop/ FOPเป็นโปรแกรมที่เขียนด้วยจาวา การติดตั้งก็ไม่ยากดาวน์โหบดจากเวบเสร็จแล้วกั็ unzip ลงใน hard disk ที่โฟลเดอร์ที่เรากำหนด
จากคอมมานด์ไล์ให้ลองพิมพ์คำสั่ง
fop.bat c:\hello.fo c:\hello.pdf
โปรแกรมจะทำการแปลงไฟล์ได้ผลเป็น c:\hello.pdf เปิดดูได้ acrobat writer
FOP แปลงไฟล์ XSL-FO เป็นรูปแบบ postscript, PDF, RTF ตัวอย่างเช่น
fop.bat -ps hello.fo hello.ps ได้ผลลัพธ์เป็น postscript
โดยหลักการ XSL-FO เหมาะสำหรับการสร้าง report โดยความฝันของผู้ออกแบบเขาก็หวังว่าจะใชั Format นี้กับงานพิมพ์หนือ report โดยไม่ขึ้นกับช hardware หรือ OS
Thursday, May 17, 2007
test again express delivery
By Paul McDougall
InformationWeek
Microsoft general counsel Brad Smith said the Linux kernel itself violates 42 of the company's patents; Linux graphical user interfaces infringe 65; Open Office programs violate 45; various open source e-mail applications step on 15; while a number of other free or open-source software programs violate an additional 68 patents held by Microsoft. The claims are made in a Fortune magazine article published Sunday. In the article, the Microsoft executive declined to say which specific Microsoft patents he believes are being violated, but maintains the total is 235. Microsoft has long intimated that it believes Linux and other open-source software programs infringe on some of its patents, but the comments published in Fortune indicate that the company may now be ready to push its claims more aggressively -- possibly in court. "It's the first time that Microsoft has made a public statement in which a specific number of patents has been discussed," said Eben Moglen, a Columbia University law professor who is counsel to open-source advocates the Free Software Foundation. Microsoft recently cut a deal with Linux distributor Novell, under which the two companies agreed not to sue each other, or each other's customers, for patent claims. Last week, Dell agreed to participate. However, customers of other Linux distributors -- from Red Hat to Ubuntu -- could be fair game for Microsoft's attorneys if it chooses to press its claims through litigation. Moglen said it's too early to say whether open-source software users should be worried about lawsuits. "What Microsoft has not done is identify specific patents, which is the only thing that, from the point of view of somebody who has been told he's infringing patents, cares about," said Moglen, in an interview with InformationWeek. Many open-source software programs, including Linux, are copyrighted under the terms of the General Public License, which is authored and governed by the Free Software Foundation. A forthcoming, third major revision of the GPL would, in its current draft form, prevent Linux distributors like Novell from cutting any more mutual protection agreements with Microsoft or other commercial software companies in the future. As a result, large corporate Linux users that aren't using the current Novell distribution would be left to either forego the OS altogether or take a chance that their use of the open-source operating system won't earn them a visit from Microsoft attorneys. Microsoft officials were not immediately available for comment.