分手之後,過得更好的兩個人
在網頁專案中常會碰到在介面上需透過資料庫提供的資料來進行呈現,這樣的介面在程式開發時通常會透過兩種方法進行, 以下針對上述的兩種方法進行一些工作方式說明與做法上的分享 。
傳統的開發模式
前、後端人員會先針對頁面設計進行可行性的討論,在前端在頁面製作完成後,逐步Release出來給後端工程師,讓後端工程師根據已經製作好的頁面進行施工,他們會在版面中加入後端程式(ASP、PHP、JSP…等),以此方式進行介面設計,最後會在後端工程師處完稿。
上圖的動態網頁版面是指將頁面串接上資料庫(Dynamic),透過資料庫的資料來進行呈現,也就是資料是”活的”,通常前端工程師會在版面中先放入一些假資料,讓後端工程師了解呈現風格,此處的動態不是指動畫,任何在頁面上的互動或動畫,應該是由前端工程師來完成。
前、後端分離
理想的做法是後端人員幾乎不用了解前端介面想如何呈現,所有API為前端人員依據頁面開需求給後端,例如產品目錄頁需要一隻API可以呈現:
- 商品名稱
- 價格
- 顏色
- 尺寸
- 依據前端傳入的參數來定義
- 一次給幾筆
- 從第幾筆開始給
- 可透過什麼條件進行篩選
以此方式進行介面設計,最後會在前端開發者處完稿。
前、後端分手後的好處
前、後端合併是傳統的合作模式,當時前端沒有好的方法可以呼叫後端API,所以所有的串接都必須由後端工程師進行協助,而自從前端程式可以透過AJAX的方式呼叫後端程式後,前、後端分離的做法就被廣為應用,他也帶來了以下的優點:
1. 權責區分明確
前、後端分離讓人員可以各自負責自己擅長的部份,前端工程師不會需要碰到伺服器端的程式,後端工程師也不會碰到前端的動畫或版面程式,能將權責清楚的區分出來,不會到時候發生網頁跑版、動畫出問題,但不清楚到底是誰動到了不該動的東西。
所以前、後端分離也就是權責上也更能夠釐清,別小看這個部分,因為這不僅僅讓雙方人員在專案開發上目標更為明確,也能夠讓專案管理變得更輕鬆。
2. 跨平台的API應用
專案中的應用平台有時不僅僅是Web,若有其他平台也有後端的需求,之前開發出來的API規格依然可以生效,就算有修改,也能依照相同的精神調整,對於後端工程師來說工作可以更單純一些。
3. 平行的開工時間
在看到ART Design所設計出來的頁面後,雙方可以迅速討論並且同時開工,不像傳統的專案,後端工程師需要等前端頁面完成後才可以施作,更能夠提升專案上的製作行程。
http://indiaph24.store/# reputable indian pharmacies
https://indiaph24.store/# world pharmacy india
onlinecanadianpharmacy 24 Large Selection of Medications from Canada canadian online pharmacy reviews
Отличный сайт! Всем рекомендую! рытье котлована
https://mexicoph24.life/# mexico pharmacy
http://canadaph24.pro/# best canadian pharmacy
mexico drug stores pharmacies Online Pharmacies in Mexico mexico drug stores pharmacies
PBN sites
We will build a structure of PBN sites!
Advantages of our private blog network:
We perform everything so Google does not understand THAT THIS IS A PBN network!!!
1- We acquire web domains from different registrars
2- The leading site is hosted on a VPS hosting (VPS is high-speed hosting)
3- Additional sites are on different hostings
4- We assign a unique Google profile to each site with verification in Google Search Console.
5- We design websites on WordPress, we do not employ plugins with assisted by which malware penetrate and through which pages on your websites are created.
6- We never duplicate templates and utilise only unique text and pictures
We never work with website design; the client, if desired, can then edit the websites to suit his wishes
PBN sites
We generate a web of privately-owned blog network sites!
Merits of our privately-owned blog network:
We perform everything so GOOGLE does not grasp that THIS IS A PBN network!!!
1- We buy domains from distinct registrars
2- The primary site is hosted on a VPS hosting (VPS is high-speed hosting)
3- Additional sites are on different hostings
4- We attribute a separate Google profile to each site with confirmation in Google Search Console.
5- We make websites on WP, we don’t use plugins with aided by which malware penetrate and through which pages on your websites are created.
6- We refrain from duplicate templates and use only unique text and pictures
We do not work with website design; the client, if wanted, can then edit the websites to suit his wishes
PBN sites
We generate a system of PBN sites!
Pros of our privately-owned blog network:
WE DO everything SO THAT google does not understand THAT this is A privately-owned blog network!!!
1- We acquire domain names from various registrars
2- The main site is hosted on a virtual private server (VPS is rapid hosting)
3- Additional sites are on separate hostings
4- We assign a unique Google account to each site with confirmation in Google Search Console.
5- We design websites on WordPress, we don’t utilize plugins with assisted by which Trojans penetrate and through which pages on your websites are established.
6- We don’t reiterate templates and utilize only individual text and pictures
We don’t work with website design; the client, if wished, can then edit the websites to suit his wishes
https://mexicoph24.life/# buying from online mexican pharmacy
PBN sites
We’ll create a web of PBN sites!
Benefits of our privately-owned blog network:
We execute everything so Google DOES NOT grasp that this is A private blog network!!!
1- We obtain domain names from separate registrars
2- The leading site is hosted on a virtual private server (Virtual Private Server is fast hosting)
3- Additional sites are on separate hostings
4- We allocate a distinct Google profile to each site with confirmation in Google Search Console.
5- We make websites on WP, we don’t utilise plugins with aided by which malware penetrate and through which pages on your websites are established.
6- We refrain from reiterate templates and utilize only individual text and pictures
We refrain from work with website design; the client, if desired, can then edit the websites to suit his wishes
indianpharmacy com: Generic Medicine India to USA – india online pharmacy
https://canadaph24.pro/# canadian pharmacy prices
indian pharmacy indian pharmacy indianpharmacy com
PBN sites
We’ll generate a network of self-owned blog network sites!
Advantages of our privately-owned blog network:
We perform everything so Google DOES NOT grasp that THIS IS A self-owned blog network!!!
1- We obtain domain names from various registrars
2- The principal site is hosted on a VPS server (VPS is high-speed hosting)
3- The remaining sites are on various hostings
4- We designate a separate Google profile to each site with verification in Search Console.
5- We design websites on WP, we don’t utilize plugins with aided by which Trojans penetrate and through which pages on your websites are generated.
6- We never duplicate templates and use only unique text and pictures
We do not work with website design; the client, if wished, can then edit the websites to suit his wishes
https://canadaph24.pro/# canadian online pharmacy
https://canadaph24.pro/# onlinecanadianpharmacy 24
medication from mexico pharmacy Online Pharmacies in Mexico п»їbest mexican online pharmacies
https://indiaph24.store/# pharmacy website india
PBN sites
We shall build a system of private blog network sites!
Benefits of our private blog network:
We carry out everything SO THAT GOOGLE does not understand THAT THIS IS A private blog network!!!
1- We buy web domains from distinct registrars
2- The leading site is hosted on a VPS server (Virtual Private Server is fast hosting)
3- Additional sites are on distinct hostings
4- We attribute a individual Google account to each site with confirmation in Search Console.
5- We create websites on WP, we don’t use plugins with assisted by which Trojans penetrate and through which pages on your websites are created.
6- We never reiterate templates and utilize only unique text and pictures
We do not work with website design; the client, if wished, can then edit the websites to suit his wishes
https://indiaph24.store/# world pharmacy india
PBN sites
We’ll build a web of self-owned blog network sites!
Merits of our private blog network:
WE DO everything SO THAT Google does not understand that this is A PBN network!!!
1- We purchase web domains from separate registrars
2- The leading site is hosted on a VPS hosting (VPS is fast hosting)
3- Other sites are on distinct hostings
4- We allocate a individual Google profile to each site with confirmation in Google Search Console.
5- We make websites on WordPress, we don’t use plugins with the help of which Trojans penetrate and through which pages on your websites are created.
6- We refrain from reiterate templates and utilise only exclusive text and pictures
We don’t work with website design; the client, if wanted, can then edit the websites to suit his wishes
canadian pharmacy online reviews my canadian pharmacy rx canadian pharmacy world
indian pharmacy online https://indiaph24.store/# cheapest online pharmacy india
Online medicine order
https://mexicoph24.life/# mexican drugstore online
PBN sites
We establish a network of PBN sites!
Pros of our private blog network:
We execute everything so GOOGLE does not realize THAT this A privately-owned blog network!!!
1- We acquire web domains from separate registrars
2- The principal site is hosted on a VPS server (Virtual Private Server is high-speed hosting)
3- Other sites are on various hostings
4- We assign a individual Google profile to each site with verification in Search Console.
5- We design websites on WordPress, we do not use plugins with assisted by which Trojans penetrate and through which pages on your websites are created.
6- We do not duplicate templates and employ only exclusive text and pictures
We do not work with website design; the client, if desired, can then edit the websites to suit his wishes
india online pharmacy https://indiaph24.store/# cheapest online pharmacy india
п»їlegitimate online pharmacies india
http://mexicoph24.life/# pharmacies in mexico that ship to usa
legitimate canadian pharmacy online Prescription Drugs from Canada legitimate canadian pharmacies