Home Web Front-end HTML Tutorial 你能别老是问我后端的问题吗_html/css_WEB-ITnose

你能别老是问我后端的问题吗_html/css_WEB-ITnose

Jun 24, 2016 am 11:16 AM

这应该是我在面试前端时被问到的最印象深刻的问题,也最令我吃惊的问题——“为什么你老是问我后端的问题?”

我没去面试过前端的职位,不知道别人家的面试是怎么样的,是一直在聊CSS,JS,HTML还是会聊聊网络,操作系统之类的。我在跟候选人简单聊下JS之后会问这样的一个问题:能不能给我阐述下用户在输入网址,敲下回车之后,整个数据的传递过程,最终网页是如何呈现到用户面前的。这个地方我会特别强调要详细阐述。这其实是一个通用的问题,前后端都会问。由此展开后涉及的到内容比较多,比如http协议,缓存,CDN,前端发布流程,后端的话需要详细到框架内部。

另外对于前端来说,我会简单的问下,知道什么是线程,什么是进程吗?实时上,大部分的候选人都能够了解。但确实有些人完全没概念,包括那些简历上写的是工作多年的候选人。在nodejs火了这么多年之后,前端工程师的上手成本其实非常低。尝试下这些东西,了解下js在服务器端的运行总没有啥坏处。且不说服务器端的运行。单说js在浏览器里面的执行,浏览器是多线程还是多进程的?浏览器在加载外部资源的时候是单线程的吗?

如果我看到应聘者有多语言经历的话,我还会问下语言之间的差别是什么?Java跟Javascript之间有什么差别?有很多意想不到的答案。比如:Java里面都是定义Class的,而JS不是。我再追问,除了语法之外语言之间的差别呢。答:Javascript是脚本语言。我再次问,知道什么是动态语音吗?答曰:js是吧?

遇到过几次,在我问这几个问题时,会有人说:我说,你怎么老是问我后端的问题呢?印象最深的一次是我在追问HTTP协议细节的时候,有人这么问了我一下。我顿时傻了。

有时候我在想,前端工程师到底算不是程序员或者软件工程师,最近一段时间,前后端都在招人,但是从简历的数量上来看,前端投来的简历是后端的4或5倍。但是大部分的前端都仅限于CSS,JS,HTML,当然这些是最基础的,但是工程结构,项目构建流程,计算机知识等,也是比不可少需要了解的吧。也有很多我觉得在前端比较优秀的同事,对CSS和JS的掌握非常好,但是看工程的组织方式,以及代码结构,都比较稚嫩(这个词不知道能不能表达清楚)。

或许应该术业有专攻,写前端的不需要了解其他的东西,单纯的写页面就够了。在之前或许就是这样,出一个设计稿,扔给前端,然后前端扔一个静态页面给后端,齐活了。但是随着前端的越来越重,大部分的逻辑都在往前端迁移(或者说前端的业务本身就会越来越多),因此单纯的做出兼容各种浏览器的页面是不够的了。

最后说下,上面说的面试流程并不是固定的,根据不同的候选人,采用的面试方式/流程是不同的。并且面试的目的也并不是单纯的看应聘者是否能胜任工作。以后可以写篇,我面试时在想什么的文章,或许对大家在面试时了解面试官的想法有帮助。

----EOF-----

微信分享/扫码阅读

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update? Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update? Mar 04, 2025 pm 12:32 PM

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

How do I use HTML5 form validation attributes to validate user input? How do I use HTML5 form validation attributes to validate user input? Mar 17, 2025 pm 12:27 PM

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

What are the best practices for cross-browser compatibility in HTML5? What are the best practices for cross-browser compatibility in HTML5? Mar 17, 2025 pm 12:20 PM

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

How to efficiently add stroke effects to PNG images on web pages? How to efficiently add stroke effects to PNG images on web pages? Mar 04, 2025 pm 02:39 PM

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

How do I use the HTML5 <time> element to represent dates and times semantically? How do I use the HTML5 <time> element to represent dates and times semantically? Mar 12, 2025 pm 04:05 PM

This article explains the HTML5 &lt;time&gt; element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

See all articles