มีโปรเจค e-commerce ครับ backend ใช้ nodejs/express ตอนนี้เขียน css ทั้ง flow เอาไว้แล้ว frontend จะเลือกใช้อะไรดีครับ ระหว่าง Angular vs React เวปเดปนิวบี้อ่ะครับ ทำคนเดียวอ่ะครับ อยากเป็นฟูลสะแตกเดป #ไม่มีใครคบ

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

react น่าจะง่ายกว่านะครับ เขียน JS อย่างเดียว ไม่น่าจะเป็น framework เหมือน angularJS นะ
ส่วน angular เราจะต้องไปเรียนรู้ custom tag นะครับ เยอะพอสมควร

ส่วนตัวใช้ angularJS เลยไม่กล้าฟันธง รอท่านอื่น

angular 2 ที่จะมาถึงนี่ breaking changes จาก angularjs 1 น่ะครับ ดังนั้นถ้าจะตั้งต้นใหม่เริ่มที่ angular 2 เลย แต่ปัญหาคือตอนนี้ angular ยังเบต้าอยู่ แม้ api คงที่ในระดับหนึ่ง แต่ว่า documents แทบไม่มีเลยครับ ปวดหัวแน่นอนบอกตรงๆ (ซึงหากอยากใช้จริงๆ ต้องมีความอดทนพอสมควร หรือไม่ก็รอจนกว่าจะพ้น beta)

ดังนั้น ช่วงเวลานี้ผมแนะนำใช้ react ดีกว่าครับ ข้าม angular ไปก่อนจนกว่าจะทางนั้นจะนิ่ง

แต่ react ก็ไม่ใช่ framework เต็มตัว ดังนั้นปกติมักจะใช้คู่กับ flux ซึ่งเจ้าตัว flux เป็น architecture ครับไม่ใช่ไลบารี่ ดังนั้นจะมี flux implementation ต่างๆมากมาย ตรงนี้ก็มีให้เลือกเยอะมาก ส่วนตัวผมแนะนำ redux

แหล่งขุมทรัพย์ react >> awesome-react

อีกตัวที่ไม่จำเป็นเสมอไป แต่ขอเสนอเป็นตัวเลือกไว้ล่วงหน้า คือ RxJS ครับ ตัวนี้ถ้าทำเป็นแล้วความรู้จะเอาไปใช้กับ angular ได้ด้วย (angular มีรวม rx ลดรูปมาให้ในตัวเลย) แต่มันเป็นแนวคิดอีกแบบหนึ่งที่เรียกกันว่า reactive programming ซึ่งอาจจะลำบากในการทำความเข้าใจ (บทความนี้เขียนดี อ่านเข้าใจ)

ปล. ด้านประสิทธิภาพสองตัวนี้พอๆกัน เลือกใช้ตามที่ สะดวก/ชอบใจ/สนใจ ดีกว่า

ขอบคุณมากๆเลยครับ พอดีเพิ่งอ่าน angular 1 มา ใจเอนไปทางนี้ แต่ก็อ่านเจอว่ามัน angular 2 มันเบต้าอยู่ พลังวัตรคงไม่ถึงขั้น คงต้องไป react แหละครับ T_T

ถามนิดนึงครับ ถ้า production ด้วย angular 1 แล้วค่อยปรับไป angura 2 มันจะคุ้มมั้ยครับ

ถามว่าคุ้มไหมนี่ ผมคิดว่าขึ้นกับมองจากมุมไหน 0,0a

ท่านต้องประเมินเองล่ะครับว่า production ท่านเป็นยังไง มีสเกลขนาดไหน ออกแบบมาเช่นไร เทียบกับส่วนที่ต้องเปลื่ยนแปลงในภายหลัง

ในกรณี angular ผมนึกออกคร่าวๆก็เช่น angular 2 จะไม่มี $scope ให้ใช้แล้วนะครับ ทุกอย่างจะกลายเป็น component แยกหมด จิตนาการว่าท่านเขียน angular 1 มี code base จำนวนมากอิงกับ $scope ก็คิดว่าปริมาณ code base นั้นแหละที่ต้องเปลื่ยนในอนาคต เป็นต้น ท่านคิดว่ามันคุ้มหรือเปล่ากับแรง/เวลา/ความเหนื่อยยากที่เสียไป สมมุติว่าคิดว่าดี จะได้เรียนรู้มากขึ้น เข้าใจมากขึ้น มันก็คงคุ้มแหละ หากคิดว่าเสียเวลางานมากไป ได้อะไรกลับมาไม่พอ ก็คงไม่คุ้ม.. อย่างที่ผมว่า คำว่า คุ้ม นี่อยู่กับมองยังไงจากจุดไหน

ลองหาข้อมูลดูครับว่า AngularJS ไป Angular 2 เปลื่ยนแปลงไปขนาดไหน ตรงไหน ยังไงบ้าง จากนั้นก็คงเห็นภาพว่าเขียน angularjs 1 ตอนนี้แล้วอัพไป angular 2 มันงานเยอะ/น้อยแค่ไหน ไปไหวไหม ผมไม่ได้ตามรายละเอียดลึกๆเกี่ยวกับ angular มากนัก คำตอบได้แต่มาอ้อมๆแบบนี้แหละครับ แหะๆ

(จริงๆถ้า angular team เขายัง support angular 1 ต่อไปอีก ก็ใช้ angular 1 ไปเรื่อยๆไม่ต้องอัพก็ได้ครับ ค่อยไปว่ากันอีกทีตอน angular 1 end-of-life เอา ฮา ... ก็ไม่รู้เขาจะ support ถึงตอนไหนอ่ะนะ ลองหาดู)

ปล. ผมลองบทเรียน angular 2 ไปนิดหน่อย ดีขึ้นกว่า angular 1 เยอะเลยครับ ส่วนหนึ่งคงเพราะ ES2015+TypeScript ด้วยแหละ ถ้าว่างลอง angular 2 ดูเลยก็ได้ครับ อิอิ

จริง ๆ ใช้ AngularJS 1 ไปก็ได้นะครับ ถ้าใช้แล้วชอบ และตอบโจทย์

เพราะ ต่อให้ไปใช้ react แล้ว ตอนที่ AngularJS 2 ออกมาเราก็เริ่มต้นใหม่เหมือนกันอยู่ดี

ส่วนการจะปรับมาใช้ AngularJS 2 คุ้มหรือไม่ ต้องดูว่า ของเก่าที่ใช้อยู่เรามีปัญหาตรงไหนน่ะครับ แล้ว AngularJS 2 ตอบโจทย์ตรงนั้นหรือไม่?

แต่ถ้าของเดิมที่ใช้ ไม่ว่าจะเป้น react หรือ angular มันยังไม่มีปัญหาหรือข้อจำกัดอะไร ผมว่าก็ยังไม่ต้องขยับไปก็ได้ครับ (เกิดขยับแล้วเจอข้อจำกัดจะเซ้งกว่าเดิม)