Git Product home page Git Product logo

Comments (2)

calidion avatar calidion commented on April 28, 2024

上一节的内容是:

前端:针对浏览器的开发,代码在浏览器运行
后端:针对服务器的开发,代码在服务器运行

这一条,前后端已经分的很清楚了。 何来前后端不分的时代。。
当然这个前端混淆了前端是指代码,还是指运行环境,还是指人。
但是总算分清楚了,浏览器,服务器是两个不同的环境为目标的。

下一节的内容是

前后端不分的时代

互联网发展的早期,前后端开发是一体的,前端代码是后端代码的一部分。

后端收到浏览器的请求
生成静态页面
发送到浏览器

首先,前后端与前后端代码是两回事。
其次,前后端与前后端开发者是两回事。
前端代码在浏览器执行的JS,HTML,CSS。后端代码是在后端执行的JS,HTML,CSS或者其它的代码。
前端工程师可以做后端代码的开发,后端工程师也可以做前端代码的开发。

如果前后端熟悉程度都很高,就是一个合格的全栈。

最重要的是,现在的代码开发不但不是前后端分离。相反,JS的代码讲究的是前后端代码混用。称为isomorphic js。那有一点点分离的情况?
所以你是不是没有搞清楚方向?

from jstraining.

ruanyf avatar ruanyf commented on April 28, 2024

谢谢您的意见。

from jstraining.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.