Post by account_disabled on Nov 29, 2023 8:11:59 GMT 1
React is one technology that is very popular these days. No matter where you go to a website creation event, people will inevitably talk about React, which is a very strong trend both in Thailand and abroad. Recently, an admin had the opportunity to work on a project that used React and Redux, so he took it upon himself to study React from the beginning and found that the concept was actually not difficult to understand. But because most people in the community like to talk about high-level applications, it makes us confused about where to start. In this article, I will tell you in an easy to understand way, Designil style, what exactly React is. This article was written so that people who are new to it can't read it until the end. You can understand that: What is React? The method for learning React that I use: what is important? What kind of work is React suitable for? Is React worth studying? Before we get into what React is, let's first take a look at the traditional web design we do.
How is it? And how is creating a new website with React different from before? What does this article Phone Number List have? Show The era of making websites Traditional website creation Making a website using the same techniques as HTML, CSS, JavaScript, PHP (or any backend language) mostly "all work will be on the server" like this: Traditional website functionality User enters our website will send it to the server. The Server (PHP) will process through the Backend language what the User must provide when entering this page, such as wanting the 10 most recent articles. The server takes the stored data from a database (such as MySQL) and places it into the prepared HTML template. Server sends HTML back to user. Advantages of traditional websites: The infrastructure is very cheap - now you can find web hosting that supports PHP & MySQL for just a few hundred per year. This allows us to save on expenses that must be paid every month. Every year you can go a lot.
There are many good systems to choose from – for example WordPress, a popular website creation system, and WooCommerce , an online store system that allows anyone to sell products on the Internet. Disadvantages of traditional websites: Server works hard - because it has to manage the flow of data in the system as well. And placing data in HTML to send back to the user every time makes each data transmission very large. This is the origin of the idea of making the server work lighter by storing the website's appearance in JavaScript that is loaded on the Web Browser on all user machines, and then having the server do the job of sending only light data files to JavaScript to handle displaying instead. That is a modern website. Creating a new website This idea in the past was called AJAX, which is to use JavaScript to send a request to request information from the server, and the server replies with only information. We will use JavaScript to display the information again.
How is it? And how is creating a new website with React different from before? What does this article Phone Number List have? Show The era of making websites Traditional website creation Making a website using the same techniques as HTML, CSS, JavaScript, PHP (or any backend language) mostly "all work will be on the server" like this: Traditional website functionality User enters our website will send it to the server. The Server (PHP) will process through the Backend language what the User must provide when entering this page, such as wanting the 10 most recent articles. The server takes the stored data from a database (such as MySQL) and places it into the prepared HTML template. Server sends HTML back to user. Advantages of traditional websites: The infrastructure is very cheap - now you can find web hosting that supports PHP & MySQL for just a few hundred per year. This allows us to save on expenses that must be paid every month. Every year you can go a lot.
There are many good systems to choose from – for example WordPress, a popular website creation system, and WooCommerce , an online store system that allows anyone to sell products on the Internet. Disadvantages of traditional websites: Server works hard - because it has to manage the flow of data in the system as well. And placing data in HTML to send back to the user every time makes each data transmission very large. This is the origin of the idea of making the server work lighter by storing the website's appearance in JavaScript that is loaded on the Web Browser on all user machines, and then having the server do the job of sending only light data files to JavaScript to handle displaying instead. That is a modern website. Creating a new website This idea in the past was called AJAX, which is to use JavaScript to send a request to request information from the server, and the server replies with only information. We will use JavaScript to display the information again.