当前位置:网站首页>web basic concepts
web basic concepts
2022-08-09 08:02:00 【Zero Celsius】
Web Basic Concepts
1. Basic Concepts
1.1, Overview
1) web development:
web, the meaning of web pages
static web
- html, css
- The data that is available to all will never change
Dynamic web
- Changes happen, and everyone sees different information at different times and places!
- Taobao, almost all websites
- Technology stack: Servlet/JSP ,ASP , PHP
In java, the technology of dynamic web resource development is collectively referred to as JavaWeb
1.2, web application
web application: a program that provides browser access:
- URL
- This unified web resource will be placed in the same folder, web application ->Tomcat:server
- A web application consists of multiple parts:
- html, css, js
- jsp, servlet
- java program
- jar package
- Configuration file
After the web application is written, if you want to provide access to the outside world, you need a server for unified management
1.3, static web
Client-----Request----->Server
Server-----Corresponding------>Client
- *html These are the suffixes of web pages. If these things always exist on the server, we can read them directly.
- Disadvantages of static web
- Web pages cannot be dynamically updated, all users see the same page
- It cannot interact with the database (data cannot be persisted and users cannot interact)
1.4, dynamic web
The page will be displayed dynamically
Disadvantages:
- There is an error in the dynamic web resource added to the server, we need to rewrite our background program and republish
- Downtime for maintenance
Advantages:
- Web pages can be dynamically updated, and all users will not see the same page
- Can interact with the database, data persistence
2, web server
2.1, technical explanation
ASP:
- Microsoft: ASP is the first popular in China;
- Embedding VB script in HTML, ASP+COM;
- In ASP development, basically a page has thousands of lines of business code, and the page is disordered
- High maintenance costs
- C#
php
- PHP development is fast, powerful, cross-platform, and the code is very simple
- Unable to handle large traffic; limited
JSP/Servlet:
- The B/S architecture promoted by sun company
- Based on java language
- Can bear the impact of the three high problems (high concurrency, high availability and high performance)
2.2, web server
The server is a passive operation, used to process some requests from users and give users some corresponding responses
Tomcat, IIS
IIS: Microsoft; comes with Windows
边栏推荐
猜你喜欢
随机推荐
Apache POI
LeetCode·每日一题·761.特殊的二进制序列·分治
安全的Md5加密:两次加密(加盐)
SQL存储过程
HOOPS是什么?这4款3D软件开发工具包你还不知道?
如何生成dll文件 采用VS2017生成dll文件(动态库文件)和lib文件(静态库文件)以C语言为例
C language: adjust the order of odd and even numbers
权限(下)
(五)、马尔科夫预测模型
VMware虚拟机强制关闭后,无法联网
Anaconda use proxy
ncnn 推理猫狗识别
图像处理(一)图像基础
Collection 接口 & List 接口
C language: detailed explanation of soda bottle
包子凑数----欧几里得+dp
监视文本框的输入
Unity 3D模型展示框架篇之资源打包、加载、热更(二)
NAT地址转换的原理与配置
账户和权限管理2