官术网_书友最值得收藏!

The application server - middleware

This layer consists of the actual server-side code we are going to write in order to get the application running. It is also called middleware. In addition to being in the exact center of the architecture diagram, this layer also acts as the controller and middle-man for the other layers.

The HTML pages that form the UI are served through this layer. All the database queries that we were talking about earlier are made here. The code that runs in this layer is responsible for retrieving the sensor readings from our external pins and storing the data in our database. As you will see in later chapters, the middleware can also be further broken down into individual components, each with its own function.

主站蜘蛛池模板: 青海省| 宝山区| 英德市| 茶陵县| 桐城市| 额济纳旗| 壶关县| 疏勒县| 青川县| 漳浦县| 门源| 凤冈县| 南昌市| 精河县| 邹城市| 阜宁县| 宾川县| 伊川县| 灵川县| 霍城县| 金华市| 德惠市| 石柱| 蓬溪县| 略阳县| 绥宁县| 巧家县| 阿坝| 龙陵县| 江源县| 虹口区| 武平县| 浮梁县| 涟水县| 瑞安市| 濮阳县| 巢湖市| 冷水江市| 乌鲁木齐市| 莱西市| 浦江县|