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

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

傳統的開發模式


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

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

前、後端分離


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

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

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

前、後端分手後的好處

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

1. 權責區分明確

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

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

2. 跨平台的API應用

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

3. 平行的開工時間

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

You may also like...

25,605 Responses

  1. Jamescrype表示:

    http://casinvietnam.com/# casino online uy tin

  2. WalterJuisk表示:

    https://casinvietnam.shop/# choi casino tr?c tuy?n tren di?n tho?i

  3. Chrisunado表示:

    casino tr?c tuy?n vi?t nam casino tr?c tuy?n uy tin choi casino tr?c tuy?n tren di?n tho?i

  4. WalterJuisk表示:

    http://casinvietnam.com/# casino tr?c tuy?n uy tin

  5. Chrisunado表示:

    casino tr?c tuy?n vi?t nam casino online uy tin casino tr?c tuy?n vi?t nam

  6. BernardVibre表示:

    casino online uy tín: game c? b?c online uy tín – choi casino tr?c tuy?n trên di?n tho?i

  7. Larryzilex表示:

    PBN sites
    We’ll establish a network of privately-owned blog network sites!

    Benefits of our private blog network:

    We perform everything so GOOGLE doesn’t realize that this A PBN network!!!

    1- We buy 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 distinct Google ID to each site with verification in Search Console.

    5- We make websites on WP, we don’t employ plugins with assistance from which malware penetrate and through which pages on your websites are established.

    6- We never reproduce templates and utilise only distinct text and pictures

    We do not work with website design; the client, if desired, can then edit the websites to suit his wishes

  8. Рекомендую оригинальный сайт 1win

  9. Oelshc表示:

    how to get glycomet without a prescription – cozaar 50mg ca acarbose 50mg sale

  10. Chrisunado表示:

    casino tr?c tuy?n uy tin casino tr?c tuy?n vi?t nam game c? b?c online uy tin

  11. Larryzilex表示:

    PBN sites
    We create a web of self-owned blog network sites!

    Advantages of our privately-owned blog network:

    We perform everything SO THAT Google DOES NOT grasp that THIS IS A self-owned blog network!!!

    1- We buy web domains from different registrars

    2- The principal site is hosted on a VPS hosting (VPS is rapid hosting)

    3- The rest of the sites are on different hostings

    4- We attribute a distinct Google account to each site with confirmation in Search Console.

    5- We create websites on WordPress, we do not employ plugins with the help of which Trojans penetrate and through which pages on your websites are established.

    6- We don’t reproduce templates and utilise only individual text and pictures

    We don’t work with website design; the client, if desired, can then edit the websites to suit his wishes

  12. Larryzilex表示:

    PBN sites
    We shall generate a structure of privately-owned blog network sites!

    Merits of our private blog network:

    We perform everything so Google doesn’t comprehend THAT this is A self-owned blog network!!!

    1- We acquire domain names from separate registrars

    2- The principal site is hosted on a VPS server (VPS is fast hosting)

    3- The remaining sites are on separate hostings

    4- We allocate a unique Google account to each site with confirmation in Search Console.

    5- We create websites on WordPress, we don’t use plugins with assistance from which malware penetrate and through which pages on your websites are generated.

    6- We refrain from reiterate templates and employ only exclusive text and pictures

    We don’t work with website design; the client, if desired, can then edit the websites to suit his wishes

  13. Larryzilex表示:

    PBN sites
    We’ll generate a web of PBN sites!

    Merits of our PBN network:

    WE DO everything SO THAT google DOES NOT understand that THIS IS A private blog network!!!

    1- We buy domain names from various registrars

    2- The primary site is hosted on a VPS hosting (VPS is rapid hosting)

    3- The remaining sites are on various hostings

    4- We allocate a separate Google account to each site with verification in Google Search Console.

    5- We design websites on WordPress, we do not utilize plugins with the help of which malware penetrate and through which pages on your websites are generated.

    6- We don’t duplicate templates and utilize only unique text and pictures

    We don’t work with website design; the client, if desired, can then edit the websites to suit his wishes

  14. BernardVibre表示:

    web c? b?c online uy tín: choi casino tr?c tuy?n trên di?n tho?i – web c? b?c online uy tín

  15. Larryzilex表示:

    PBN sites
    We shall generate a system of private blog network sites!

    Advantages of our privately-owned blog network:

    We perform everything so Google does not realize that THIS IS A self-owned blog network!!!

    1- We buy domain names from separate registrars

    2- The primary site is hosted on a virtual private server (VPS is high-speed hosting)

    3- The remaining sites are on separate hostings

    4- We assign a distinct Google profile to each site with verification in Google Search Console.

    5- We develop websites on WordPress, we don’t use plugins with aided by which malware penetrate and through which pages on your websites are produced.

    6- We never duplicate templates and utilise only exclusive text and pictures

    We refrain from work with website design; the client, if wished, can then edit the websites to suit his wishes

  16. Larryzilex表示:

    PBN sites
    We’ll build a network of PBN sites!

    Pros of our private blog network:

    We carry out everything SO THAT google does not comprehend that this A privately-owned blog network!!!

    1- We acquire domains from different registrars

    2- The principal site is hosted on a VPS hosting (VPS is rapid hosting)

    3- Additional sites are on distinct hostings

    4- We assign a unique Google profile to each site with verification in Search Console.

    5- We create websites on WP, we don’t employ plugins with the help of which Trojans penetrate and through which pages on your websites are established.

    6- We do not reiterate templates and use 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

  17. It’s a game. Five dollars is free. Try it It’s not an easy game ->-> 토토사이트.com

  18. WalterJuisk表示:

    http://casinvietnam.com/# casino online uy tin

  19. WalterJuisk表示:

    https://casinvietnam.shop/# casino tr?c tuy?n uy tin

  20. WalterJuisk表示:

    https://casinvietnam.shop/# game c? b?c online uy tin

  21. sSdfffobelors表示:

    Добрый день всем!
    Вы когда-нибудь писали диплом в сжатые сроки? Это очень ответственно и тяжело, но нужно не сдаваться и делать учебные процессы, чем Я и занимаюсь)
    Тем кто умеет разбираться и гуглить информацию, это действительно помогает по ходу согласований и написания диплома, не нужно тратить время на библиотеки или встречи с дипломным руководителем, вот здесь есть хорошие данные для заказа и написания дипломов и курсовых с гарантией и доставкой по России, можете посмотреть здесь , проверено!
    https://medbereg.ru/club/user/82/blog/3781/
    купить аттестат
    купить диплом специалиста
    купить диплом Вуза
    купить диплом нового образца
    купить диплом техникума

    Желаю всем нужных оценок!

  22. Mpaxoq表示:

    order glyburide without prescription – buy dapagliflozin 10 mg for sale buy forxiga pills

  23. Jamescrype表示:

    https://casinvietnam.com/# casino online uy tin

  24. Michaelnow表示:

    casino online uy tin game c? b?c online uy tin choi casino tr?c tuy?n tren di?n tho?i

  25. Poria表示:

    Hướng dẫn cách vay tiền VDong 2023 là nguồn thông tin hữu ích để giúp bạn hiểu rõ quy trình vay tiền từ VDong. Tại đây, bạn sẽ tìm thấy tất cả những thông tin cần thiết về các yêu cầu vay tiền, lãi suất, khoản vay, thời hạn và các biện pháp thanh toán. Chúng tôi cũng cung cấp cho bạn các lời khuyên hữu ích và các bí quyết để giúp bạn lựa chọn một khoản vay phù hợp với nhu cầu của bạn. Hãy theo dõi Hướng dẫn cách vay tiền VDong 2023 để tìm hiểu thêm về cách vay tiền từ VDong! Nhập các thông tin theo biểu mẫu và tự lựa chọn hạn mức vay, tiếp đến cung cấp ảnh CMND CCCD 2 mặt và chụp thêm ảnh chân dung
    http://bbs.weipubao.cn/home.php?mod=space&uid=3415040
    Người chưa đủ 15 tuổi, người bị hạn chế hoặc mất năng lực hành vi dân sự được mở tài khoản thanh toán qua người đại diện theo pháp luật quy định. Ngân hàng số TNEX hỗ trợ khách hàng rút tiền mặt miễn phí tại hơn 17.000 cây ATM của tất cả các các Ngân hàng thuộc liên minh NAPAS trên toàn Quốc giúp bạn có thể rút tiền thuận tiện tại bất cứ ATM của ngân hàng nào. Có thể bạn quan tâm: Nếu bạn vay tiền cho các mục đích chính đáng như trả tiền sinh hoạt phí, đóng tiền trọ, tiền học,… thì việc vay tiền tại các ứng dụng vay tiền nhanh chỉ cần CMND 18 tuổi là NÊN.

  26. Jamescrype表示:

    http://casinvietnam.shop/# casino tr?c tuy?n

  27. sSdfffobelors表示:

    Приветики!

    Бывали ли у вас случаи, когда приходилось писать дипломную работу в крайне сжатые сроки? Это действительно требует большой ответственности и напряженного труда, но важно не унывать и продолжать активно участвовать в учебном процессе, как я и делаю.
    Для тех, кто умеет эффективно находить и использовать информацию в интернете, это может существенно облегчить процесс согласования и написания дипломной работы. Больше не нужно тратить время на посещение библиотек или организацию встреч с научным руководителем. Здесь, на этом ресурсе, предоставлены надежные данные для заказа и написания дипломных и курсовых работ с гарантией качества и доставкой по всей России. Можете ознакомиться с предложениями на , это проверено!
    http://dimitrii.flybb.ru/viewtopic.php?f=29&t=770
    купить диплом о среднем образовании
    купить аттестат
    купить диплом о среднем специальном
    купить диплом специалиста
    купить аттестат школы

    Желаю любому нужных отметок!

發佈留言

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