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 Web 開発の場合、選択できるプログラミング言語は多数あります。フロントエンドで開発する必要がある場合、標準の開発言語は JavaScript です。バックグラウンドで開発する必要がある場合は、より多くの選択肢があります。 -PHP -JavaScript - Ruby on Rails (Ruby 言語を使用) - ASP.NET (.net 言語を使用) -JavaEE -パイソン 決定的なリストは実際にはありません。上記は、開発者が一般的に考えて使用する言語にすぎません。では、どのように選択すればよいのでしょうか。あなたの選択は、次の側面に基づいている必要があります: 雇用市場 (仕事の機会)、ホスティング サービス、利用可能な学習リソース、利用可能な学習時間、周辺の開発環境など。 どうしても開発業界で働きたい、Web開発の仕事を見つけたいと考えているのであれば、最も重要な選択要素は求人市場(雇用機会)です。業界の状況を分析し、学ぶプログラミング言語を選択する必要があります。もう 1 つの重要な要素はホスティング サービスです。たとえば、PHP ホスティングは Java ホスティングよりもはるかに安価です。また、エンタープライズ アプリケーションを開発する場合は、Java EE が適しています。しかし、アプリケーションをオンラインにしたい場合、Java EE は他の言語よりもはるかに高価です。 Node.js の普及に伴い、JavaScript もバックエンド開発で普及しましたが、結局のところ、まだ新しい技術であり、Web 開発の初心者が学習して使用することはお勧めできません。 私の意見では、PHP は最も簡単な学習曲線、安価なホスティング サービス、十分な学習リソース (PHP100 が適しています)、比較的単純な開発環境を備えているため、初心者の Web 開発者に PHP の使用方法を学ぶことをお勧めします。もちろん、ASP.NET も良い選択です。 Microsoft は、多くの ASP.NET 関連の学習リソースと無料の開発ツールを提供しています。 Microsoft 環境が好きなら、ASP.NET を検討する価値があります ## フレーム あなたがまだ初心者である場合でも、フレームワークの学習を開始する前に、十分な基礎を築く必要があります。このフレームワークは、開発作業を簡素化するのに役立ちます。 Web アプリケーションの構造を提供する既製のコード ライブラリが多数あり、プログラミング作業をより簡単かつ迅速に行うことができます。プロの Web 開発者になりたい場合は、Web 開発を加速するために、少なくとも 1 つのフレームワークに習熟している必要があります。 フレームワークには、汎用的なソリューションから特定の問題に至るまで、さまざまな種類があります。まず、ニーズを評価する必要があります。 PHP 開発を選択する場合は、フレームワークとして Laravel を使用することをお勧めします。近年非常に人気のある MVC フレームワークです。 ASP.NET を選択する場合は、ASP.NET MVC と EntityFramework の使い方を学ぶことをお勧めします Web 開発は、コンテンツ管理システム (CMS) などの 1 つのアプリケーションだけに特化したいほど大規模になる場合があります。それでも PHP を選択する場合は、Web サイトやブログを作成したり、既存のプラグインやテーマを拡張機能として使用したりできる 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