分手之後,過得更好的兩個人

在網頁專案中常會碰到在介面上需透過資料庫提供的資料來進行呈現,這樣的介面在程式開發時通常會透過兩種方法進行, 以下針對上述的兩種方法進行一些工作方式說明與做法上的分享 。

傳統的開發模式


前、後端人員會先針對頁面設計進行可行性的討論,在前端在頁面製作完成後,逐步Release出來給後端工程師,讓後端工程師根據已經製作好的頁面進行施工,他們會在版面中加入後端程式(ASP、PHP、JSP…等),以此方式進行介面設計,最後會在後端工程師處完稿。

上圖的動態網頁版面是指將頁面串接上資料庫(Dynamic),透過資料庫的資料來進行呈現,也就是資料是”活的”,通常前端工程師會在版面中先放入一些假資料,讓後端工程師了解呈現風格,此處的動態不是指動畫,任何在頁面上的互動或動畫,應該是由前端工程師來完成。

前、後端分離


理想的做法是後端人員幾乎不用了解前端介面想如何呈現,所有API為前端人員依據頁面開需求給後端,例如產品目錄頁需要一隻API可以呈現:

  • 商品名稱
  • 價格
  • 顏色
  • 尺寸
  • 依據前端傳入的參數來定義
    • 一次給幾筆
    • 從第幾筆開始給
  • 可透過什麼條件進行篩選

以此方式進行介面設計,最後會在前端開發者處完稿。

前、後端分手後的好處

前、後端合併是傳統的合作模式,當時前端沒有好的方法可以呼叫後端API,所以所有的串接都必須由後端工程師進行協助,而自從前端程式可以透過AJAX的方式呼叫後端程式後,前、後端分離的做法就被廣為應用,他也帶來了以下的優點:

1. 權責區分明確

前、後端分離讓人員可以各自負責自己擅長的部份,前端工程師不會需要碰到伺服器端的程式,後端工程師也不會碰到前端的動畫或版面程式,能將權責清楚的區分出來,不會到時候發生網頁跑版、動畫出問題,但不清楚到底是誰動到了不該動的東西。

所以前、後端分離也就是權責上也更能夠釐清,別小看這個部分,因為這不僅僅讓雙方人員在專案開發上目標更為明確,也能夠讓專案管理變得更輕鬆。

2. 跨平台的API應用

專案中的應用平台有時不僅僅是Web,若有其他平台也有後端的需求,之前開發出來的API規格依然可以生效,就算有修改,也能依照相同的精神調整,對於後端工程師來說工作可以更單純一些。

3. 平行的開工時間

在看到ART Design所設計出來的頁面後,雙方可以迅速討論並且同時開工,不像傳統的專案,後端工程師需要等前端頁面完成後才可以施作,更能夠提升專案上的製作行程。

You may also like...

19,330 Responses

  1. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Tier 1 – 500 connections with integration within pieces on publishing domains

    Middle – 3000 link Redirected links

    Tertiary – 20000 connections blend, posts, posts

    Utilizing a link hierarchy is advantageous for web crawlers.

    Need:

    One reference to the site.

    Search Terms.

    True when 1 query term from the page subject.

    Note the extra functionality!

    Vital! First-level hyperlinks do not overlap with Secondary and Tier 3-tier hyperlinks

    A link pyramid is a device for increasing the liquidity and referral sources of a digital property or social network

  2. Manuelzet表示:

    путаны в москве https://vlg.prostitutki.sex

  3. WayneCoirl表示:

    mexican drugstore online: п»їbest mexican online pharmacies – buying from online mexican pharmacy

  4. DominicJaw表示:

    buying prescription drugs in mexico: medication from mexico pharmacy – mexican online pharmacies prescription drugs

  5. Nelsonbluck表示:

    reputable mexican pharmacies online: buying prescription drugs in mexico online – mexican mail order pharmacies

  6. next表示:

    This is a great tip particularly to those fresh to the blogosphere. Simple but very accurate info… Thanks for sharing this one. A must read article!

  7. Arnoldten表示:

    mexican mail order pharmacies buying from online mexican pharmacy п»їbest mexican online pharmacies

  8. Arnoldten表示:

    mexican pharmacy best online pharmacies in mexico purple pharmacy mexico price list

  9. WayneCoirl表示:

    reputable mexican pharmacies online: medication from mexico pharmacy – buying prescription drugs in mexico

  10. Arnoldten表示:

    mexican online pharmacies prescription drugs buying prescription drugs in mexico online reputable mexican pharmacies online

  11. Thanks for sharing excellent information. Your web site is so cool. I’m impressed by the info that you have on this site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles.

  12. Javiercrets表示:

    проститутки одинцово https://samara.prostitutki.sex

  13. Топовые промокоды для экономных покупателей Топовые промокоды для экономных покупателей .

  14. TimothyFag表示:

    проститутки звенигород https://perm.prostitutki.sex

  15. Nelsonbluck表示:

    buying from online mexican pharmacy: mexico drug stores pharmacies – mexico drug stores pharmacies

  16. Trefzjp表示:

    Привет, друзья!
    Как не стать жертвой мошенников при покупке диплома о среднем полном образовании
    samgalleria.com/диплом-о-среднем-образовании-купить-н-2
    Рады помочь!.

  17. DominicJaw表示:

    best online pharmacies in mexico: mexican rx online – purple pharmacy mexico price list

  18. WayneCoirl表示:

    buying prescription drugs in mexico online: medicine in mexico pharmacies – buying prescription drugs in mexico online

  19. Промокоды на любые категории товаров http://www.promokodbar.ru .

  20. Промокоды на любые категории товаров https://promokodbar.ru .

  21. This post has some really wonderful insights and interpretations in it. How long have you been blogging for?

  22. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Level 1 – 500 references with integration within compositions on content domains

    Tier 2 – 3000 web address Forwarded hyperlinks

    Tier 3 – 20000 hyperlinks blend, feedback, articles

    Implementing a link hierarchy is beneficial for indexing systems.

    Need:

    One connection to the website.

    Search Terms.

    Accurate when 1 search term from the website title.

    Remark the supplementary feature!

    Essential! First-level links do not overlap with Tier 2 and Tier 3-order connections

    A link pyramid is a device for enhancing the flow and inbound links of a online platform or virtual network

  23. Отличный сайт! Всем рекомендую!Пиастрикс

  24. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Top – 500 connections with placement embedded in pieces on publishing domains

    Secondary – 3000 domain Forwarded hyperlinks

    Tertiary – 20000 links blend, posts, posts

    Implementing a link structure is useful for indexing systems.

    Necessitate:

    One connection to the website.

    Search Terms.

    Accurate when 1 search term from the resource heading.

    Note the supplementary functionality!

    Important! First-level links do not conflict with Secondary and Tertiary-rank references

    A link structure is a instrument for increasing the flow and referral sources of a internet domain or social network

  25. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Tier 1 – 500 hyperlinks with positioning inside compositions on content domains

    Middle – 3000 URL Rerouted references

    Level 3 – 20000 hyperlinks assortment, feedback, writings

    Implementing a link pyramid is beneficial for web crawlers.

    Need:

    One connection to the website.

    Query Terms.

    Valid when 1 keyword from the content heading.

    Remark the complementary functionality!

    Vital! Primary hyperlinks do not intersect with Tier 2 and Tier 3-order links

    A link hierarchy is a device for increasing the circulation and inbound links of a website or social media platform

  26. Nelsonbluck表示:

    medication from mexico pharmacy: pharmacies in mexico that ship to usa – medication from mexico pharmacy

  27. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Level 1 – 500 links with positioning within articles on content platforms

    Level 2 – 3000 link Rerouted connections

    Tier 3 – 20000 references combination, feedback, posts

    Employing a link hierarchy is useful for search engines.

    Need:

    One reference to the website.

    Query Terms.

    Correct when 1 query term from the content subject.

    Remark the complementary offering!

    Vital! Tier 1 links do not conflict with 2nd and 3rd-tier references

    A link pyramid is a device for enhancing the flow and referral sources of a digital property or social network

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。