If you click on this article, it means that you are interested in web development, or you are thinking about starting to learn web development. Here, I will tell you the route of becoming a web developer, a guide to web development for beginners. This article will not teach you how to write code, but point out things to think about before you actually write code. Web development is exciting and exciting, which is exactly what caters to this fast-changing world. To understand web development, let's first define a few basic concepts ## Frontend VS. Backend At the beginning, we must distinguish between front-end development and back-end development, let's introduce them separately **front end** Web applications are classified as distributed applications, generally with a client-server structure, so we have part of the code running on the client and another part of the code running on the server. Those applications on the client are the front end, which usually refers to our browser. The most commonly used technology for front-end development is HTML+CSS+JavaScript. Advanced front-end developers usually use a combination of these technologies to develop the front-end of the application. Another common front-end technology is to use Photoshop to design and cooperate with other technologies to complete the production of Web pages. **rear end** Back-end developers write the code that runs on the server. Generally speaking, this part of the work needs to deal with the database, such as reading and writing data, reading and writing files, and implementing business logic. Sometimes, the business logic is stored on the client side, and the background is used to provide the data in the database in the form of Web services. Back-end developers generally need to master a web programming language and a database management system You can master front-end and back-end technologies at the same time, but most web developers still have certain preferences, and even only in-depth research in one aspect. Although the front and back ends are distinguished, their respective specific tasks are not specified. Sometimes the front end just completes the display of data, while other major work is done on the back end. But sometimes, the backend just provides data, and all calculations and specific functions are done on the frontend. The distribution of front-end and back-end work is usually determined by the design and architecture of the project ## Programming language สำหรับการพัฒนาเว็บมีภาษาโปรแกรมให้เลือกมากมาย เมื่อคุณต้องการพัฒนาในส่วนหน้า ภาษาสำหรับการพัฒนามาตรฐานคือ JavaScript และเมื่อคุณต้องการพัฒนาในเบื้องหลัง เรามีตัวเลือกเพิ่มเติม: -PHP -จาวาสคริปต์ - Ruby on Rails (พร้อมภาษา Ruby) - ASP.NET (พร้อมภาษา .net) - Java EE - หลาม ไม่มีรายการที่แน่นอน ด้านบนเป็นเพียงภาษาที่นักพัฒนามักจะคิดและใช้งาน แล้วควรเลือกอย่างไร? ทางเลือกของคุณควรขึ้นอยู่กับประเด็นต่อไปนี้: ตลาดงาน (โอกาสในการทำงาน), บริการโฮสต์, ทรัพยากรการเรียนรู้ที่มีอยู่, เวลาการเรียนรู้ที่มีอยู่, สภาพแวดล้อมการพัฒนาโดยรอบ ฯลฯ หากคุณต้องการทำงานในอุตสาหกรรมการพัฒนาและหางานในการพัฒนาเว็บจริง ๆ ปัจจัยการคัดเลือกที่สำคัญที่สุดคือตลาดงาน (โอกาสในการทำงาน) คุณต้องวิเคราะห์สถานการณ์อุตสาหกรรมและเลือกภาษาโปรแกรมที่จะเรียนรู้ ปัจจัยสำคัญอีกประการหนึ่งคือบริการโฮสติ้ง เช่น โฮสติ้ง PHP มีราคาถูกกว่าโฮสติ้ง Java มาก และหากคุณต้องการพัฒนาแอปพลิเคชันระดับองค์กร Java EE อาจเป็นตัวเลือกที่ดี แต่ถ้าคุณต้องการทำให้แอปพลิเคชันของคุณออนไลน์ Java EE มีราคาแพงกว่าภาษาอื่นมาก ด้วยความนิยมของ Node.js ทำให้ JavaScript กลายเป็นที่นิยมในการพัฒนาส่วนหลัง แต่ก็ยังเป็นเทคโนโลยีใหม่อยู่ดี และไม่แนะนำให้ผู้เริ่มต้นในการพัฒนาเว็บเรียนรู้และใช้งาน ในความคิดของฉัน PHP มีช่วงการเรียนรู้ที่ง่ายที่สุด บริการโฮสติ้งราคาถูก มีทรัพยากรการเรียนรู้เพียงพอ (PHP100 เป็นตัวเลือกที่ดี) และสภาพแวดล้อมการพัฒนาที่ค่อนข้างเรียบง่าย ดังนั้นฉันจึงแนะนำให้นักพัฒนาเว็บรุ่นเยาว์เรียนรู้การใช้ PHP แน่นอนว่า ASP.NET ก็เป็นตัวเลือกที่ดีเช่นกัน Microsoft มีทรัพยากรการเรียนรู้เกี่ยวกับ ASP.NET มากมายและเครื่องมือในการพัฒนาฟรี หากคุณชอบสภาพแวดล้อมของ Microsoft คุณควรพิจารณา ASP.NET ##กรอบ หากคุณยังเป็นมือใหม่ คุณยังต้องวางรากฐานที่ดีก่อนที่จะเริ่มเรียนรู้กรอบงาน กรอบงานสามารถช่วยให้คุณลดความซับซ้อนของงานพัฒนาได้ มีไลบรารีโค้ดสำเร็จรูปจำนวนมาก ซึ่งให้โครงสร้างของเว็บแอปพลิเคชันแก่คุณ ทำให้การเขียนโปรแกรมของคุณทำงานได้ง่ายและรวดเร็วขึ้น หากคุณต้องการเป็นนักพัฒนาเว็บมืออาชีพ คุณต้องมีความเชี่ยวชาญอย่างน้อยหนึ่งเฟรมเวิร์กเพื่อเร่งการพัฒนาเว็บของคุณ เฟรมเวิร์กมีหลายประเภท ตั้งแต่วิธีแก้ปัญหาทั่วไปไปจนถึงปัญหาเฉพาะ คุณต้องประเมินความต้องการของคุณก่อน หากคุณเลือกการพัฒนา PHP ฉันแนะนำให้ใช้ Laravel เป็นเฟรมเวิร์ก เป็นกรอบ MVC ที่ได้รับความนิยมอย่างมากในช่วงไม่กี่ปีที่ผ่านมา หากคุณเลือก ASP.NET ฉันขอแนะนำให้เรียนรู้การใช้ ASP.NET MVC และ EntityFramework การพัฒนาเว็บอาจมีขนาดใหญ่จนคุณต้องการเฉพาะในแอปพลิเคชันเดียว เช่น ระบบจัดการเนื้อหา (CMS) หากคุณยังคงเลือก PHP ฉันขอแนะนำ WordPress ซึ่งสามารถช่วยคุณสร้างเว็บไซต์ บล็อก หรือใช้ปลั๊กอินหรือธีมที่มีอยู่เป็นส่วนขยาย ## จะทำอย่างไรต่อไป แม้ว่าคุณจะเลือกทำงานเพียงด้านเดียวของการพัฒนาส่วนหน้าหรือส่วนหลัง คุณก็ควรเข้าใจการพัฒนาของอีกด้านด้วย การทำเช่นนั้นจะทำให้ทีมของคุณมีประสิทธิภาพมากขึ้น หากคุณได้เรียนรู้ภาษาโปรแกรมและเฟรมเวิร์กที่เกี่ยวข้องแล้ว คุณควรเริ่มเรียนรู้ภาษาอื่น ภาษาโปรแกรมแต่ละภาษามีข้อดีและกระบวนทัศน์ของตัวเอง ความเข้าใจในปัญหาที่ลึกซึ้งยิ่งขึ้นจะนำไปสู่วิธีแก้ปัญหาที่ดีขึ้น ทำให้คุณเป็นนักพัฒนาที่ดีขึ้น สุดท้ายนี้ อย่างที่เคยบอกไปว่าการเลือกภาษาโปรแกรมนั้นต้องคำนึงถึงปัจจัยหลายอย่าง ตัวเลือกของฉันยังคงเป็น JavaScript, PHP, ASP.NET และ Java EE คุณสามารถอ้างถึงพวกเขา ต้นฉบับ: httparian-celina.com/a-beginners-guide-to-web-development การแปล: httpwww.php100.com/html/dujia/2015/0120/8425.html