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

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

傳統的開發模式


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

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

前、後端分離


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

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

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

前、後端分手後的好處

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

1. 權責區分明確

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

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

2. 跨平台的API應用

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

3. 平行的開工時間

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

You may also like...

61,267 Responses

  1. mostbet_csEi表示:

    скачат мостбет https://mostbet5010.ru/ .

  2. Изготовление штор на заказ
    пошив штор на заказ пошив штор на заказ .

  3. mostbet_ldma表示:

    скачать мостбет http://mostbet5008.ru .

  4. Качественный пошив штор на заказ
    пошив штор на заказ пошив штор на заказ .

  5. Williamwhogs表示:

    olympe casino: olympe casino en ligne – olympe casino avis

  6. оценка профессиональных рисков в организации ocenka-profriskov495.ru .

  7. Prokarniz表示:

    Сшить шторы на заказ по индивидуальному проекту, индивидуальный подход.
    Идеальные шторы по вашим размерам, быстро.
    Пошив штор по индивидуальному дизайну, по вашим размерам.
    Эксклюзивные шторы на заказ, высокое качество материалов.
    Пошив штор на заказ для кухни, под ваш вкус.
    Индивидуальный дизайн штор, по вашим желанием.
    Заказ штор по проекту клиента, используя современные технологии.
    Шторы на заказ с уникальным дизайном, от профессионалов.
    Классические шторы на заказ, с учетом светотени.
    Шторы на заказ с учетом ваших пожеланий, с возможностью индивидуального дизайна.
    Премиальные ткани для штор на заказ, воплощая ваши идеи.
    Пошив штор по индивидуальному проекту, с доставкой по Москве и регионам.
    Элегантные шторы на заказ, под любой стиль интерьера.
    Премиум шторы на заказ, с использованием лучших тканей.
    Создание уникальных штор для любой комнаты, от профессиональных мастеров.
    Высококачественные шторы на заказ, с гарантией долговечности.
    сшить шторы на заказ сшить шторы на заказ . Прокарниз

  8. Prokarniz表示:

    Заказ штор по вашим размерам
    пошив штор на заказ пошив штор на заказ .

  9. Sazroya表示:

    Заказать диплом университета по доступной цене возможно, обратившись к надежной специализированной компании. Мы предлагаем документы об окончании любых университетов РФ. Приобрести диплом университета– diplomg-kurerom.ru/kupit-diplom-s-zaneseniem-v-reestr-rossii-legko-i-bistro/

  10. 1win_ihot表示:

    1win партнерская программа вход https://1win7008.ru .

  11. Качественный пошив штор на заказ
    пошив штор на заказ пошив штор на заказ .

  12. Jariornzk表示:

    Приобрести диплом любого ВУЗа!
    Наша компания предлагаетмаксимально быстро купить диплом, который выполнен на оригинальном бланке и заверен мокрыми печатями, водяными знаками, подписями официальных лиц. Данный диплом способен пройти лубую проверку, даже с использованием специфических приборов. Достигайте своих целей быстро и просто с нашими дипломами- adventuredirty.com/read-blog/14394_kupit-diplom-s-reestrom-otzyvy.html

  13. VictorFaIca表示:

    Профессиональное агентство https://prvitruvio.ru/: разработка рекламы, брендинг, digital-маркетинг, наружка и SMM. Комплексное продвижение для бизнеса любого масштаба.

  14. We ought to note that clitoral enlargement and deepening of the voice are side effects that can become everlasting.
    Steroid Supply Discuss is a unbiased website that provides assets about health, exercises and
    dietary supplements to assist you reach your targets.
    Anavar, along with different supplements such as Creatine and fats burners, could improve working performance.
    If you goal to gain measurement shortly, think about
    using a combination of testosterone and Dianabol. Doctors additionally monitor patients frequently when taking medicine, conducting health
    checks to verify there are no underlying problems.

    Anavar’s aesthetic benefits embrace an increase in glycogen storage
    capability. Tauroursodeoxycholic acid (TUDCA), taken at a daily dosage
    of 500 milligrams in its place dietary supplement, might supply shoppers
    additional protection. As A End Result Of Anavar is a c-17 alpha-alkylated
    steroid, alanine aminotransferase (ALT) and aspartate aminotransferase (AST) levels could be anticipated to rise.

    Previously, we cited a examine that stated men taking 20 mg a day for
    12 weeks skilled a 45% lower in testosterone ranges.
    This was an excessive cycle length, with a normal cycle size
    of 6–8 weeks for men. From this research, we are ready to conclude that
    pure testosterone production is likely to remain fairly high if a
    reasonable dose or cycle is carried out. While
    taking Anavar, avoid alcohol and other substances that can stress the liver.

    This happens in each men and women, although males have much higher testosterone levels than females.
    Despite these variations, testosterone is important
    to a woman’s desire, vitality, and common health.

    Regardless Of its costly worth, Anavar is amongst the most popular anabolic steroids presently available on the market.

    Studies administering 600 mg/week of Deca for 10 weeks
    (8) saw a 26% discount in HDL levels. In comparison, a small
    dose of Dianabol (15 mg) taken for 8 weeks may
    cause testosterone to drop by 69% (6). This is a
    excessive dose over an excessive time period, even by bodybuilding standards.

    One study reported a 45% discount in testosterone when male subjects took 20 mg and forty
    mg for 12 weeks (5).
    Proviron is helpful for slicing as it might possibly assist
    harden the muscle tissue and improve the same effect of other steroids in your stack.

    It also encourages fat burning because of its androgen receptor binding.
    This steroid comes with low aspect effect dangers,
    with some androgenic effects being the primary concern, together
    with the same old culprits like acne and hair loss in some individuals.
    The most severe potential facet impact of Proviron relates to ldl cholesterol,
    and those with excessive ldl cholesterol are advised to keep away from this steroid.

    If you’re going to run a Proviron cycle, check out my complete Proviron (Mesterolone) cycle guide.
    Like the gentlemen, feminine Anavar users’ cycles typically span six to
    eight weeks.
    Beneath any circumstances; you should not exceed your doses past the 6-week limit.
    Many people prefer to take Anavar on its own, while others wish to stack it with testosterone for severe bulk
    and slicing. The latter is more common in experts and experienced steroid clients who have already developed a tolerance to steroids.
    Originally developed within the Nineteen Sixties by the pharmaceutical company Searle,
    Anavar was created to treat conditions such as
    muscle wasting, fast weight reduction, and osteoporosis.
    However, due to its potential for abuse and unwanted facet effects, it is now a controlled substance in many international locations and isn’t extensively prescribed for medical functions.

    Nephron tubules are the kidney cells essential to filter water from the body.
    Users of Anavar should have their blood creatinine ranges monitored often earlier than, during, and after cycles.
    In most circumstances, the degree of liver stress generated by
    Anavar is insufficient to warrant worry. This is as a end result of of
    the fact that the liver is a remarkably resilient organ,
    even when abused. After a cycle, the ALT and AST enzyme ranges of an individual typically revert to
    regular inside a brief while frame. There continues
    to be an opportunity that your blood strain can enhance significantly, however you
    can be certain that it is going to return to normal after the cycle is full.
    Subsequently, customers ought to be prepared for some pressure on their cardiovascular system,
    which is in a position to reasonably increase their danger of myocardial infarction.
    Clenbuterol works by stimulating thermogenesis, causing a rise in body temperature, and elevating the metabolism.
    It additionally stimulates lipolysis by immediately focusing
    on fats cells by way of the removal of triglycerides. Clenbuterol is a beta-2 sympathomimetic and is usually
    used within the treatment of hypotension. It is also a bronchodilator,
    effectively opening the airways because of the rest of easy tissue.

    Testosterone undecanoate is the exception to this rule, where dietary fat improves
    absorption. Pharmaceutical-grade Anavar has been leaked onto the
    black market via particular connections.
    Anavar does spike dihydrotestosterone (DHT) ranges
    which might contribute to zits and hair loss.
    The purpose why zits can occur on Anavar is because DHT triggers the
    androgenic receptors in your skin resulting in elevated sebum manufacturing and physique hair whereas suppressing hair progress on your head.
    That said, whereas these products can produce some great results, there
    is not a natural supplement that is as potent as anabolic steroids,
    and there’s no getting around that. However, they don’t come
    with any of the well being or authorized risks, either. Anavar could cause folks to burn extra fats and build lean muscle, increasing strength.
    The anabolic results of this steroid are stronger than its androgenic results.
    Due to its range, Oxandrolone can be utilized alone
    and together with other steroids, oral or injectable.
    Anavar is among the best anabolic steroids to use if you’re attempting to set new personal information for power within the
    gym, as it causes its users to experience unbelievable levels
    of strength. It is necessary for the event and maintenance of male genital characteristics, similar to the growth of facial hair,
    a deep voice, and an increase in muscle mass. There is slightly quantity of testosterone
    in women’s our bodies, albeit in very decrease concentrations.
    Anavar (oxandrolone) and tren (trenbolone) are two anabolic steroids utilized by bodybuilders to burn fat and construct muscle.

    Whether you’re a seasoned bodybuilder or someone considering
    incorporating Anavar 10 into your regimen, this guide aims to be your
    go-to resource. Read on to unlock the secrets of Anavar and make knowledgeable choices in your journey to optimum health.
    It’s also necessary that you don’t take this treatment if
    you’re pregnant.

    References:

    buy dianabol steroids (https://www.lotusprotechnologies.com/companies/what-is-low-testosterone-signs-causes-diagnosis-treatment-and-prevention)

  15. проведение оценки профессиональных рисков в Москве [url=https://ocenka-profriskov495.ru]https://ocenka-profriskov495.ru[/url] .

  16. 1с бухгалтерия сопровождение программного [url=http://www.programmy-1s15.ru]http://www.programmy-1s15.ru[/url] .

  17. Davidmaphy表示:

    The best online slots rise of olympus slot in one place: classics, new releases, jackpots and themed machines. Play without registration, test the demo or make real bets with bonuses.

  18. Jariorayn表示:

    Купить диплом любого ВУЗа!
    Мы предлагаеммаксимально быстро купить диплом, который выполняется на оригинальной бумаге и заверен печатями, штампами, подписями. Документ способен пройти любые проверки, даже с применением специфических приборов. Достигайте цели максимально быстро с нашими дипломами- mdr7.ru/viewtopic.phpf=6&t=10111

  19. Сшить шторы на заказ по индивидуальному проекту, для квартиры.
    Качественные шторы на заказ, с гарантией качества.
    Изготовление штор на заказ, по вашим размерам.
    Шторы на заказ с доставкой, высокое качество материалов.
    Пошив штор на заказ для кухни, с индивидуальным подходом.
    Профессиональный пошив штор по вашим размерам, по вашим желанием.
    Заказ штор по проекту клиента, используя современные технологии.
    Шторы на заказ с уникальным дизайном, от профессионалов.
    Классические шторы на заказ, под любой интерьер.
    Пошив штор на заказ по индивидуальным меркам, по вашему стилю.
    Премиальные ткани для штор на заказ, под любой интерьер.
    Доступные цены на шторы на заказ, с высоким качеством.
    Стильные шторы по вашему проекту, от ведущих дизайнеров.
    Дизайнерские шторы на заказ, подчеркните стиль вашего помещения.
    Создание уникальных штор для любой комнаты, под ваш вкус.
    Пошив штор на заказ с индивидуальным подходом, с гарантией долговечности.
    сшить шторы на заказ сшить шторы на заказ . прокарниз

  20. VictorFaIca表示:

    Профессиональное агентство рекламное агентство Витрувий: разработка рекламы, брендинг, digital-маркетинг, наружка и SMM. Комплексное продвижение для бизнеса любого масштаба.

發佈回覆給「mostbet_ldma」的留言 取消回覆

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