简体   繁体   English

什么是技术架构或三层架构

[英]what is Technical Architecture or 3 tier architecture

I am new to documentation part of project 我是项目文档部分的新手

normaly people follow 3 tier architecture 通常人们遵循3层架构

1) Presentation layer 2) middle layer or service layer 3) database layer 1)表示层2)中间层或服务层3)数据库层

presentation means UI and Database is DB 表示方式意味着UI和数据库是DB

service layer i am confused ... i assume if i am not wrong its java/dotnet/php 服务层我很困惑...我假设如果我没记错的话,它的java / dotnet / php

i came up with a statement as 'service layer abstracts business logic and data access' what is business logic? 我想出一个声明,因为“服务层抽象了业务逻辑和数据访问”。什么是业务逻辑?

my new peoject is a combination of HTML, CSS, JS, AngularJS, JSP, Hibernate, DB2 我的新对象是HTML,CSS,JS,AngularJS,JSP,Hibernate,DB2的组合

where does AngularJS, JSP, Hibernate resides and why? AngularJS,JSP,Hibernate驻留在哪里,为什么?

The three layers are and do the following: 这三层是并执行以下操作:

  1. client / presentation layer 客户/表示层

    does only display data to the user and recive user input and send input data to the second layer on the server. 仅向用户显示数据并接收用户输入,并将输入数据发送到服务器上的第二层。

  2. service / logic layer 服务/逻辑层

    contains the application logic and processes the application data using the user input and data from the database. 包含应用程序逻辑,并使用用户输入和数据库中的数据来处理应用程序数据。

  3. database layer 数据库层

    conststs usually of a database management system and is only used to store the data. conststs通常是数据库管理系统的名称,仅用于存储数据。

In the context of a web service: 在Web服务的上下文中:

the client layer is the html page with javascript for some client side functionality like animations. 客户端层是带有javascript的html页面,用于某些客户端功能(例如动画)。 Nothing is processed here. 这里什么都没有处理。 example: form and a login button 示例:表单和登录按钮

the application layer might be the php part of the website that takes the user requests and accesses the database to create the data that shall be displayed by the client layer. 应用程序层可能是网站的php部分,它接受用户请求并访问数据库以创建应由客户端层显示的数据。 example: when the user presses the button this layer asks the database if the data in the form exists and checks if it is valid and sends the appropriate response to the client layer. 示例:当用户按下按钮时,该层询问数据库表单中的数据是否存在,并检查数据是否有效,并将适当的响应发送到客户端层。

the database layer most commonly is a MySQL server that manages the data of the service. 数据库层最常见的是管理服务数据的MySQL服务器。 example: user account data 示例:用户帐户数据

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM