เกิดอยากจะเป็น โปรแกรมเมอร์ ด้วย Javascript
หนังสือสอน Javascript สำหรับผู้เริ่มต้นทุกคน
Authored by
ซื้อหนังสือผ่านการโอนเงินง่ายๆ แอดไลน์ @geekstart ได้เลยครับ
The author is letting you choose the price you pay for this book!
Authored by
ซื้อหนังสือผ่านการโอนเงินง่ายๆ แอดไลน์ @geekstart ได้เลยครับ
About
About the Book
ซื้อหนังสือผ่านการโอนเงินง่ายๆ แอดไลน์ @geekstart ได้เลยครับ
ผมเขียนหนังสือเล่มนี้เพื่อดึงดูดคนที่อยากเขียนโปรแกรมเป็น ถึงจะไม่ได้เรียนด้านนี้มา หรือว่าจะไม่เก่งเลขก็ตาม
หวังว่าจะทำให้คุณมองเห็นว่า คุณแค่ต้องเริ่มศึกษา คุณก็จะใช้ Computer ได้มากกว่าคนอื่นแล้ว
เมื่อคุณอ่านหนังสือเล่มนี้จบ การที่จะไปศึกษาต่อด้านนี้ก็จะง่ายขึ้น และอาจจะช่วยให้สมองทำงานแบบมี Logic ได้มากขึ้นด้วย
หนังสือเล่มนี้ เป้าหมายคือ ให้คนที่ต้องการเริ่มต้นจากศูนย์จริงๆอ่าน เมื่อจบแล้ว ไปเปิด Video VueJS ของผมดู สามารถเรียนต่อได้เลยครับ
ผมเขียนหนังสือเล่มนี้แบบตามใจตัวเอง
ภาษาไทยก็อาจจะแปลกๆไปบ้าง ตามเด็กที่ไม่ได้ใส่ใจเรียนภาษาไทยตั้งแต่เด็ก
หนังสือเล่มนี้ เป็นหนังสือแบบสอนตามใจคนเขียน โดยใช้ภาษา Javascript เป็นหลัก
เหตุผลที่ใช้ Javascript คือ
- เขียนบนคอมได้ทั้ง Windows และ MacOS
- เขียนเสร็จแล้วเอาไปรันบน Browser เช่น Chrome/Firefox/etc ได้ง่าย
- คนเขียนเยอะ มีความต้องการบุคคลากรด้านนี้สูงในตลาดโปรแกรมเมอร์ปัจจุบัน
- หาข้อมูลเสริมได้ง่าย
- เขียนได้ทั้ง Backend, Frontent Web Application, Mobile Application และ อีกหลายๆอย่าง
Javascript อาจจะไม่ใช่ภาษาที่ดีที่สุดสำหรับทุกๆคน แต่ผมเลือกตามใจผมเอง ส่วนตัวแล้วผมเป็นคนที่ชอบ ruby มากๆด้วยซ้ำ แต่ว่าก็ยังจะเลือกจะใช้ภาษานี้สอน
หวังว่าผู้อ่านจะชอบ และ สนุกกับการเขียนโปรแกรมนะครับ
Price
Pick Your Price...
Minimum price
$9.99
$9.99
You pay
$9.99Author earns
$7.99Author
About the Author
SaKKo Sama
I'm a self taught programmer with over 10 years experience.
I joined Leanpub to share my knowledge and experience.
I started my own company, a software house, in the year 2010.
I coded lots of projects throughout those years trying out lots of stuffs like
ObjectiveC, Ruby on Rails, Nodejs, Swift, Java, Kotlin, Dart, Golang, ionic, react-native, Vue, React, ....
Deployed them on a bunch for infrastructures
Bare Metal, Government Cloud, VPS, Digital Ocean, AWS, Google Cloud Platform, and on some Serverless arch
Taught Internet Programming to 70+ students in University as part-time lecturer in Thailand.
Trained over 100+ people in iOS Basic and Advance courses ages ago when there were no Swift.
Taught high school math for a year, 36 hours a week.
My dream is to start a school where all students can do what the love. (and not hate Math)
Obviously, it takes a lot of money to start a school. If you can fund me a few million $ to start a school in Thailand, Please contact me.
I hope you enjoy my books.
Visit my youtube channel at https://youtube.com/sakkosama
Contents
Table of Contents
1Introduction
2การจัดเตรียมอุปกรณ์
- 2.1Softwares ทั่วไป
- Atom
- Google Chrome
- Mac Terminal หรือ Windows Terminal
- 2.2Environment Setup
- NVM (NodeJS)
- การลง NodeJS โดยกำหนด Version เอ ง
3Data types เบื้องต้น and Variables
- 3.1Number
- Arithmetic Operator
- 3.2String
- 3.3Boolean
- 3.4ค่ากึ่ง
false falsenullและundefinedNaN- 3.5Data types อื่นๆ
4if else elseif
- 4.1การใช้ Terminal เบื้องต้น
- 4.2if condition
- 4.3else
- 4.4else if
- 4.5And
&& - 4.6Or
|| - 4.7Multiple And Or
5Functions
- 5.1หัดสร้าง Function
- Function แบบรับข้อมูล
- 5.2console.assert
- 5.3การส่งค่ากลับจาก Function
- 5.4Arrow Function
6Built-in Functions
- 6.1Number
- Number.isFinite(x)
- Number.parseInt(s)
- 6.2Math
- Math.pow(base, exponent)
- Math.abs(x)
7var let const
- 7.1var
- 7.2let
- 7.3const
- 7.4using variable with function
- 7.5Arrow function usage
- 7.6Reserve Words
8Objects / Array
- 8.1Object
- Object with function
- 8.2Array
- Object with Array
- 8.3Array of Objects
- 8.4Array of anything
9For loops
- 9.1Simple
forloop - แบบฝึกหัดสั้นๆ
- 9.2Looping an Array
10While loops
- 10.1While Loop
- 10.2Do While
11User Input
- 11.1readline module
12Date Time
- 12.1Date Methods
- การดึงค่าจาก Date
- การเปลี่ยนค่าใน Date
13Node Package Manager (npm)
- 13.1npm init
- 13.2Moment JS
14Promise
- 14.1resolve .then
- 14.2reject .catch
15Async Await
- 15.1Async Await
- 15.2resolve values
- 15.3reject values
- try catch finally
16Looking inside array
- 16.1Find using for loop
- 16.2Find using
.filter - 16.3Find using
.find - 16.4Pulling data from array using
.map
17HTML with Javascript
- 17.1HTML
- 17.2Javascript in HTML
- 17.3Javascript in action
18Easy Challenges
- 18.1วิธีทำแบบฝึกหัด
- 18.2เริ่มแบบฝึกหัด
19ไปต่อกันเถอะ
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.