คำโปรยหนังสือ
TypeScript Programming
คู่มือฉบับสมบูรณ์ที่พาคุณก้าวสู่โลกการพัฒนาโปรแกรมด้วย TypeScript อย่างมั่นใจและเป็นระบบ เรียนรู้ตั้งแต่พื้นฐานแนวคิด วิธีใช้งาน ไปจนถึงเทคนิคขั้นสูงที่นักพัฒนามืออาชีพใช้สร้างซอฟต์แวร์คุณภาพสูง หนังสือเล่มนี้จัดลำดับเนื้อหาอย่างละเอียด พร้อมตัวอย่างโค้ดจริงและคำอธิบายเชิงลึก ครอบคลุมทุกประเด็นสำคัญของภาษา TypeScript
หน้า-สารบัญ
1-บทที่ 1 รู้จักกับ TypeScript (Introduction to TypeScript) เริ่มต้นรู้จัก TypeScript, ความแตกต่างกับ JavaScript, ข้อดีของการใช้ TypeScript, การติดตั้ง, การตั้งค่า tsconfig.json, และทดลองรันโปรแกรมแรกด้วย tsc และ ts-node
28-บทที่ 2 ตัวแปรและชนิดข้อมูลพื้นฐาน (Variables and Basic Data Types) ทำความเข้าใจการประกาศตัวแปร, ชนิดข้อมูลหลัก เช่น string, number, boolean, และชนิดพิเศษ เช่น any, unknown, never
64-บทที่ 3 ฟังก์ชันพื้นฐาน (Basic Functions) เจาะลึกการประกาศฟังก์ชัน, การกำหนดชนิดพารามิเตอร์, Optional, Default, และ Rest Parameters, การเขียน Arrow Functions
101-บทที่ 4 Array และ Tuple (Array and Tuple) อธิบายโครงสร้างข้อมูล Array และ Tuple การเข้าถึงสมาชิก การประกาศหลายรูปแบบ
124-บทที่ 5 Object Type พื้นฐาน (Object Type) การกำหนดรูปแบบอ็อบเจกต์, การใช้ Optional และ Readonly Property
154-บทที่ 6 Interface และ Type Alias (Interface and Type Alias) ความสำคัญของ Interface และ Type Alias, การใช้ Union และ Intersection Types, วิธีเลือกใช้ระหว่างสองแนวทาง
187-บทที่ 7 Class และ OOP (Class and OOP) พื้นฐานการสร้าง Class, Constructor, Property, Method, Access Modifiers, การใช้ this และ Context
230-บทที่ 8 Inheritance และ Abstract Class (Inheritance and Abstract Class) การสืบทอดคลาส, การใช้ extends, super, การประกาศ Abstract Class และการ Implements Interface
267-บทที่ 9 Enum และ Literal Types (Enum and Literal Types) สร้าง Enum แบบ Numeric, ใช้ Literal Type เช่น 'small' | 'medium' | 'large', และวิธี Validate ค่า
303-บทที่ 10 Generics (Generics) เรียนรู้ Generics สำหรับเขียนโค้ดที่ Reusable, การจำกัดชนิดข้อมูลด้วย Constraints
339-บทที่ 11 Union, Intersection, Type Guard (Union, Intersection, Type Guard) ใช้ Union/Intersection Types, Type Guards, และ User-Defined Type Guard ตรวจสอบชนิดข้อมูลอย่างปลอดภัย
378-บทที่ 12 Modules, Import/Export (Modules, Import/Export) แนวทางการจัดระเบียบโครงการด้วย Modules, การใช้ Named และ Default Export, Path Alias
417-บทที่ 13 Advanced Type Features (Advanced Type Features) เจาะลึก Mapped Types, Conditional Types, Template Literal Types และ Recursive Types
449-บทที่ 14 Utility Types (Utility Types) รู้จัก Utility Types มาตรฐาน เช่น Partial, Required, Readonly, Pick, Omit และการสร้าง Utility Types เอง
482-บทที่ 15 Decorators (Experimental) (Decorators (Experimental)) การใช้งาน Decorators, การเปิดใช้งานใน tsconfig.json, และการประยุกต์กับ Dependency Injection
536-บทที่ 16 Mixins (Mixins) เทคนิค Multiple Inheritance ด้วย Mixins, การแยกพฤติกรรมออกเป็นคลาสย่อย, และผสานการใช้ Interface
582-บทที่ 17 Advanced Type Narrowing (Advanced Type Narrowing) การจำกัดชนิดข้อมูลขั้นสูง, Discriminated Unions, User Defined Type Guard แบบซับซ้อน
623-บทที่ 18 Error Handling แบบ Type-Safe (Error Handling Type-Safe) การจัดการข้อผิดพลาดแบบ Type-Safe, การสร้าง Custom Error Class, การใช้ Result / Either Pattern
657-บทที่ 19 การใช้ TypeScript กับ Framework (TypeScript and Framework) การใช้ TypeScript ในโปรเจกต์ React, Angular, Node.js, NestJS อย่างมืออาชีพ
712-บทที่ 20 Best Practices & Project Architecture (Best Practices & Project Architecture) แนวทางการออกแบบระบบที่มั่นคง ปลอดภัย ตั้งค่า tsconfig สำหรับ Production, จัดการ Dependency, และปรับปรุงคุณภาพโค้ดด้วย ESLint + Prettier
763-บรรณานุกรม
____________________________________
หนังสือเล่มนี้จะเป็นแหล่งความรู้ที่ครอบคลุมทั้งทฤษฎีและการใช้งานจริง ถ่ายทอดด้วยภาษาเข้าใจง่ายและตัวอย่างที่นำไปปรับใช้ได้ทันที ไม่ว่าคุณจะเพิ่งเริ่มต้นก้าวแรกกับ TypeScript หรือกำลังมองหาแนวทางเขียนโปรแกรมที่ปลอดภัยและยืดหยุ่น หนังสือ TypeScript Programming จะพาคุณไปสู่การเขียนซอฟต์แวร์ที่ทรงพลังและมีมาตรฐานระดับมืออาชีพ.
วันที่วางขาย
07 กรกฎาคม 2568
ราคาปก
773 บาท (ประหยัด 87%)