what is front end
This time I will bring you what is the front-end and a detailed explanation of the concept of the front-end. Let’s take a look.
I was chatting with my cousin during the Chinese New Year. He said that he had written web pages using HTML, JS, and CSS before. What was the difference between the front-end now and that time? I introduced the front-end to him at that time.
But I didn’t have a thorough understanding of the front-end at that time, so I didn’t feel like I had a clear introduction to myself.
As my own learning deepens, I feel it is necessary to summarize a blog post about the differences between front-end and web page writing. At the same time, I also want to record my current opinions and understandings. When I look back at them after a while, I will definitely gain a lot of insights into my own improvement.
Due to the limited knowledge level, if there are any mistakes, please point them out in the comment area, thank you!
Web development era
At that time, people wrote web pages through html and adjusted styles with js and css.
What we learned from various classic books "Head First HTML and CSS", "Mastering CSS: Advanced Web Standard Solutions" and "JavaScriptAdvanced Programming" are basically this. aspects of things. Most of the videos on MOOC are limited to this aspect.
Webpage Template Era
As the complexity of webpages increases, programmers develop various webpage template languages for the convenience of development.
For example, the less language simplifies writing css, coffeejs simplifies writing js, and there are many various templates that are mixed with html and js.
ajax era
With the development of js, the invention of XHR allows programmers to process data on the front end and share some back-end work.
A good example is Form verificationAh, the browser slider slides to the bottom before starting to load images and so on.
SPA era
SPA=Single Page Application single page application.
With the development of ajax, people can do data processing on the browser side, which means that the front end can write an entire application, that is, SPA.
In the SPA era, programmers use js to handle the entire front-end part. Users download all js when they open the website. In subsequent interactions such as opening pages, they use js directly on the browser side. Processing, no need to send http request to the server.
A very important concept at this time is routing. Since the http request is not sent when opening the page, the browser does not know what to do with a URL. At this time, there needs to be a mechanism to guide the browser to open what content on which URL. This is routing.
MVC era
With the development of the SPA era, people often divide projects into various modules for the convenience of development. The most typical one is MVC, which is model, view and control.
Various frameworks have emerged in this era, such as backbone framework and so on.
MVVM Era
Since the control module of MVC is generally processed by the server, this does not belong to the front-end content. In order to solve this problem, people have proposed a solution, which is to use view model instead of control. This is the origin of the MVVM framework. The technology implemented is called two-way binding.
In this era, modern front-end frameworks appeared: reactjs, angularjs, etc. At this time, front-end engineers can already develop software that runs on browsers and application software, including those that run on mobile browsers.
I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!
Related reading:
Two methods to implement waterfall flow layout
Detailed explanation of the browser rendering process
What is the importance of overflow scrolling
What are the layout schemes for mobile terminals in HTML
The above is the detailed content of what is front end. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to set up keyboard startup on Gigabyte's motherboard. First, if it needs to support keyboard startup, it must be a PS2 keyboard! ! The setting steps are as follows: Step 1: Press Del or F2 to enter the BIOS after booting, and go to the Advanced (Advanced) mode of the BIOS. Ordinary motherboards enter the EZ (Easy) mode of the motherboard by default. You need to press F7 to switch to the Advanced mode. ROG series motherboards enter the BIOS by default. Advanced mode (we use Simplified Chinese to demonstrate) Step 2: Select to - [Advanced] - [Advanced Power Management (APM)] Step 3: Find the option [Wake up by PS2 keyboard] Step 4: This option The default is Disabled. After pulling down, you can see three different setting options, namely press [space bar] to turn on the computer, press group

What graphics card is good for Core i73770? RTX3070 is a very powerful graphics card with excellent performance and advanced technology. Whether you're playing games, rendering graphics, or performing machine learning, the RTX3070 can handle it with ease. It uses NVIDIA's Ampere architecture, has 5888 CUDA cores and 8GB of GDDR6 memory, which can provide a smooth gaming experience and high-quality graphics effects. RTX3070 also supports ray tracing technology, which can present realistic light and shadow effects. All in all, the RTX3070 is a powerful and advanced graphics card suitable for those who pursue high performance and high quality. RTX3070 is an NVIDIA series graphics card. Powered by 2nd generation NVID

PHP and Vue: a perfect pairing of front-end development tools. In today's era of rapid development of the Internet, front-end development has become increasingly important. As users have higher and higher requirements for the experience of websites and applications, front-end developers need to use more efficient and flexible tools to create responsive and interactive interfaces. As two important technologies in the field of front-end development, PHP and Vue.js can be regarded as perfect tools when paired together. This article will explore the combination of PHP and Vue, as well as detailed code examples to help readers better understand and apply these two

Which tablet is suitable for musicians? The 12.9-inch speaker in Huawei’s iPad is a very good product. It comes with four speakers and the sound is excellent. Moreover, it belongs to the pro series, which is slightly better than other styles. Overall, ipad pro is a very good product. The speaker of this mini4 mobile phone is small and the effect is average. It cannot be used to play music externally, you still need to rely on headphones to enjoy music. Headphones with good sound quality will have a slightly better effect, but cheap headphones worth thirty or forty yuan cannot meet the requirements. What tablet should I use for electronic piano music? If you want to buy an iPad larger than 10 inches, I recommend using two applications, namely Henle and Piascore. Provided by Henle

What driver is good to install on rx5808g? 20.5.1 and 20.4.2WHQL refer to the version number of the software or driver. These version numbers are typically used to identify updates or fixes to software or drivers. In the computer world, WHQL stands for Windows Hardware Quality Labs, which is an institution used by Microsoft to test and verify the compliance and stability of hardware and drivers. Therefore, 20.5.1 and 20.4.2WHQL indicate that these software or drivers have passed Microsoft's testing and verification and can be safely used in the Windows operating system. AMDrx580 graphics card relatively stable drivers 20.5.1 and 20.4.2WHQL refers to the version number of the software or driver. These version numbers are passed

In the process of using the Windows 10 operating system developed by Microsoft, many users are curious and confused about the new technology called Cortana. Cortana's official name in the Chinese context is "Cortana", which is actually a built-in function of the Windows 10 system. Cortana, an artificial intelligence (AIassistant) service program. Frequently asked questions and solutions. How to open Cortana and not respond. Solution steps. Chinese solution is not supported. How to put the search box into Cortana. What software is Cortana? Answer: "Cortana" It is a cloud platform personal intelligent assistant carefully built by Microsoft. It has two usage modes: login and non-login. When you are logged in

What games can be played with i34150 with 1G independent graphics? Can it play small games such as LoL? GTX750 and GTX750TI are very suitable graphics card choices. If you just play some small games or not play games, it is recommended to use the i34150 integrated graphics card. Generally speaking, the price difference between graphics cards and processors is not very big, so it is important to choose a reasonable combination. If you need 2G of video memory, it is recommended to choose GTX750TI; if you only need 1G of video memory, just choose GTX750. GTX750TI can be seen as an enhanced version of GTX750, with overclocking capabilities. Which graphics card can be paired with i34150 depends on your needs. If you plan to play stand-alone games, it is recommended that you consider changing the graphics card. you can choose

In front-end development interviews, common questions cover a wide range of topics, including HTML/CSS basics, JavaScript basics, frameworks and libraries, project experience, algorithms and data structures, performance optimization, cross-domain requests, front-end engineering, design patterns, and new technologies and trends. . Interviewer questions are designed to assess the candidate's technical skills, project experience, and understanding of industry trends. Therefore, candidates should be fully prepared in these areas to demonstrate their abilities and expertise.
