Corona, PhoneGap, Titanium ทั้งสามเป็น Cross-platform SDK เขียนครั้งเดียว รันได้หลาย Platform (iOS, Android, Desktop)
Corona SDK
- ภาษา: Lua (บน C++/OpenGL)
- จุดแข็ง: 2D Game Development, Graphics Performance สูง, Physics Engine (Box2D)
- รองรับ: iOS, Android, Windows, macOS, tvOS, HTML5
- ราคา: ฟรี (Core) / Enterprise งบประมาณสูง
- เหมาะสำหรับ: Game 2D, App ที่ต้องการ Graphics สูง
PhoneGap / Apache Cordova
- ภาษา: HTML5, CSS3, JavaScript
- จุดแข็ง: Web Developer ใช้ทักษะเดิม, Plugin มากมาย, Community ใหญ่
- รองรับ: iOS, Android, Windows, Electron (Desktop)
- ราคา: ฟรี Open Source (Apache Cordova)
- เหมาะสำหรับ: App แบบ Content-based, Prototype, Team Web Dev
- ข้อจำกัด: Performance ต่ำกว่า Native, UI ไม่ Native Feel
Titanium (Appcelerator)
- ภาษา: JavaScript (Compile to Native)
- จุดแข็ง: Native UI Components, 60%+ Code Reuse, 5000+ APIs
- รองรับ: iOS, Android, Windows, Tizen
- ราคา: ฟรี / Enterprise
- เหมาะสำหรับ: App ต้องการ Native Look & Feel, Enterprise App
ตารางเปรียบเทียบ
| คุณสมบัติ | Corona | PhoneGap | Titanium |
|---|---|---|---|
| ภาษา | Lua | JS/HTML/CSS | JavaScript |
| UI Rendering | Custom (OpenGL) | WebView | Native |
| Performance | สูง (Game) | ปานกลาง | สูง (Near Native) |
| Native Access | ผ่าน Plugin | ผ่าน Plugin | Built-in APIs |
| Learning Curve | ปานกลาง (Lua ใหม่) | ต่ำ (Web Skills) | ปานกลาง |
สรุปเลือกไหนดี?
- Game 2D → Corona
- Web Team, เร็ว, Budget ต่ำ → PhoneGap/Cordova
- Native UX, Enterprise, Long-term → Titanium
- ปัจจุบัน Trend: React Native, Flutter, Swift/Kotlin Native
หมายเหตุ: บทความนี้สะท้อนสถานะย้อนหลัง ปัจจุบัน Framework ใหม่ๆ นิยมมากกว่า