Before launching your first project in the World Wide Web, it needs to be created.. Immediately arise questions «where?»And» how?». To find out, you need to learn a little theory and have an idea of how all the mechanisms of the World Wide Web are realized. This post will be devoted to this topic. So that novice web developers would not be particularly difficult to delve into the essence of things, which is not so simple, I went through it myself, I will try to write all the posts as a simple and understandable language as possible.
So, how are the mechanisms of the interaction of network components implemented? The answer to this question lies in the understanding of the so-called client-server model. Its essence is that most modern sites are written using several programming languages and hypertext marking (HTML). And they are divided into groups, one group is processed by a browser, on the client’s side (that is, you, when you switch to any site and browser loads it), and the other on the side of the so -called server (on the remote side where the bulk of the files is located, as well as tongue handlers). Hence the name of the customer server model. Clients include HTML, JavaScript and CSS.. Well, these are the main ones you need. And the server can be attributed to PHP, MySQL, etc.. Well, since we are not going to manually program online stores, well, so far)), we will not go into details. So, we have two groups consisting of certain elements written in different languages. Now you need to ensure their interaction and processing. To do this, there are special handlers, similar to languages, as well as special software servers.. The most popular and free, for example, in my opinion, is Apache. You can also read about him on our website. So, this software just allows you to implement the mechanisms of processing and interaction of individual components of sites, as well as the transmission of these data on the network. We also do not need to go into the essence of the data exchange now, but what software you need to install and how to configure you need to know as an alphabet, because without this we will not be able to create our site with you. Going right away to business, we need to successfully install and launch our local server on our computer, which will process data requiring its availability. Typically, the following software includes the composition of the local server: — the server itself, as a rule, is Apache, versions of at least 2. 2. 17 — PHP, usually PHP, versions of at least 5. 3. 8 — Database Processer, usually MySQL, versions of at least 3. 4. 5 These components will need to be installed, configured and knitted. You can not do this, but download ready -made assemblies, install and immediately start creating a site.