5. ประวัติของ Open Source
1983 : Richard Stallman ประกาศคำาว่า Free Software
●
1991 : Linus Torvalds เริ่มทำา Linux
●
1997 : Eric S. Raymond เขียน “The Cathedral and the
●
bazaar”
1998 : Netscape เปิดเผยซอร์สของ Mozilla
●
1998 : Eric S. Raymond ประกาศคำาว่า Open Source
●
2004 : Firefox 1.0 ออก
●
9. การพัฒนาซอฟต์แวร์ด้วย Open Source
Platform
●
ส่วนที่รองรับการทำางานของซอฟต์แวร์ เช่น OS, server, library
Programming
●
ตัวโปรแกรมเอง, ภาษา, compiler, interpreter
Tools
●
เครื่องมือที่ชวยให้การพัฒนาโปรแกรมสะดวกและมีประสิทธิภาพ
่
เช่น debugger, version control
10. Platform : Normal Solutions
ใช้ Open Source ลดค่าใช้จายรวมของ Solution
่
Applications
10,000 B
Linux Windows
0B 4,900 B
ราคารวมของ Solution
10,000 B 14,900 B
11. Platform : Web Solutions
Applications
Web Server Apache IIS
MySQL Oracle
Database
OS Linux Windows
12. Platform : ลดค่าใช้จ่ายรวม
ใช้ Open Source เพือลดค่าใช้จ่ายโดยรวมของ Solution
่
●
ผู้ซอ : ได้ Solution ในราคาที่ถูกลง
ื้
●
ผู้ขาย : มีโอกาสขายได้มากขึน้
●
สามารถใช้ Open Source ร่วมกับซอฟต์แวร์อนได้ เช่น
ื่
●
– Windows + Apache + MySQL
– Linux + Oracle
14. Programming : C/C++
C เป็นภาษาหลักในการพัฒนาโปรแกรมมายาวนาน
●
– ประสิทธิภาพสูง
– เหมาะกับงานเกี่ยวกับระบบ
C++ เป็น superset ของ C
●
– เพิมความสามารถด้าน Object-Oriented
่
– เขียน C++ แบบ C ได้
– ปัจจุบันโปรแกรมขนาดใหญ่ส่วนมากเขียนด้วย C++
21. Programming : Java : Open Source
Open Source
implementations
Library Java Class Harmony
Compiler java.exe GCJ
VM javac.exe GIJ, Kaffe
22. Programming : Java : IDE
Eclipse (www.eclipse.org)
●
– IBM/Oracle
– เวอร์ชนล่าสุด : 3.1
ั
NetBeans (www.netbeans.org)
●
– Sun (Forte, Sun ONE Studio, Java Studio)
– เวอร์ชนล่าสุด : 4.1
ั
23. Programming : Java : Other
JBoss (www.jboss.org)
●
– Open Source J2EE application server
Jakarta Project (jarkata.apache.org)
●
– Open Source software for Java platform
– ดูแลโดย Apache Foundation
– ตัวอย่าง : Tomcat, Ant
– นำาไปใช้ใน IBM WebSphere
24. Programming : .NET
Microsoft เขียนตาม Java
●
Multi-Platform (ในทางทฤษฎี)
●
Multi-Language
●
– C#, VB.NET, Managed C++, JScript.NET, ASP.NET
– Python, Ada, Cobol, Boo, Perl, Fortran
.NET 2.0 Final : November 2005
●
25. Programming : .NET : Diagram
C# VB.NET
compiler
.NET Class .NET Class
CIL
(C#) (VB.NET)
(Common Intermediate Language)
CLR (Common Language Runtime)
Binary Code
33. Programming : Python
เป็น scripting language
●
มีประสิทธิภาพสูง เขียนได้ง่าย
●
ทำางานได้ขามแพลทฟอร์ม
้
●
มี library สำาคัญๆ ให้ครบ
●
กำาลังได้รบความนิยมเพิมขึ้นเรื่อยๆ เช่น
ั ่
●
– Google
– Red Hat
– BitTorrent
34. Programming : Python : Example
Python C
if (a > b): int a;
print “A is greater” int b;
else: if (a>b) {
print “B is greater” printf(“A is greater”);
} else {
printf(“B is greater”);
}
42. Tools : Version Control
Version Control
●
– จัดการเวอร์ชันของซอร์สโค้ด
– เก็บโค้ดไว้ที่เซิรฟเวอร์กลาง แล้วเรียกใช้เมื่อต้องการ
์
– สนับสนุนการทำางานร่วมกันเป็นทีม
– สามารถย้อนการแก้ไขกลับได้
– ใช้งานอย่างจริงจังในการพัฒนาระดับอุตสาหกรรม