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

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

傳統的開發模式


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

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

前、後端分離


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

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

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

前、後端分手後的好處

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

1. 權責區分明確

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

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

2. 跨平台的API應用

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

3. 平行的開工時間

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

You may also like...

37,854 Responses

  1. OP表示:

    Body Massage OP

  2. Asking for references from your lawyer, banker or insurance coverage agent is the best possible manner to select a perfect CPA agency for your enterprise.

  3. Широкий выбор фурнитуры для плинтуса, выберите подходящий вам вариант.
    Надежные элементы для плинтуса, гарантия долгого срока службы.
    Удобство монтажа фурнитуры для плинтуса, без лишних усилий.
    Модные элементы для украшения плинтуса, сделайте дом уютным и стильным.
    Фурнитура для плинтуса из экологически чистых материалов, экологичный выбор для вашего дома.
    Тренды в оттенках для декора плинтуса, подчеркните цветовую гамму своего интерьера.
    Эксклюзивные варианты фурнитуры для плинтуса, выразите свою индивидуальность через дизайн.
    Советы по выбору фурнитуры для плинтуса, для долгосрочного использования.
    Креативные решения для отделки плинтуса, добавьте шарм вашему интерьеру.
    Фурнитура для плинтуса в классическом стиле, для создания аристократичной атмосферы.
    производители фурнитуры https://furnituradlyaplintusamsk.ru/ .

  4. DavidTouts表示:

    http://casinositeleri25.com/# canl? casino siteleri

  5. DavidTouts表示:

    http://slotsiteleri25.com/# slot casino siteleri

  6. BradleyEdino表示:

    deneme bonusu veren yeni siteler yat?r?ms?z deneme bonusu veren siteler deneme bonusu veren yeni siteler

  7. Reed Diffusers – The Actual Trend In Relaxation And Stress Reduction 하이오피사이트

  8. DannyUnded表示:

    How Nigeria’s biggest city became the world’s hottest winter party destination
    casino bonus

    It’s a world of endless parties and sleepless nights. A relentless celebration that turns West Africa – and especially Nigeria’s largest city, Lagos – into one of the hottest destinations on the continent, if not the planet, right in the middle of winter.

    Detty December is a magical time between December and early January when diaspora communities and tourists flock to Ghana, Nigeria and South Africa for an unforgettable experience filled with flavourful food, soulful African music and sunshine.

    Beach parties, festivals and top-tier performances fuel the energy, while fashion takes center stage, with everyone dressing to impress.

    Nearly two-thirds of Nigeria’s population is under 25, according to the United Nations Population Fund, making this one of the world’s youngest countries.

    Internationally renowned Afrobeats performers and foreign artists make surprise appearances. DJs take to the streets, blasting powerful beats from consoles mounted atop bright yellow minibuses.

    At times it’s all-consuming. Good luck getting hair salon appointments, affordable air tickets or navigating Lagos’ already notorious traffic when the party crowds are in town.

    Detty December (“detty” is a playful corruption of “dirty”) is a triumphant celebration of culture, music and good vibes that has evolved in recent years during the traditional holidays influx of diaspora returnees, which heightened in 2018 when Ghana ran a launched a successful “Year of Return” campaign actively encouraging people to visit their ancestral homelands.

    It’s gathered pace over the past five years, gaining an international reputation, as IJGBs (“I Just Got Backs”) and their friends arrive in batches, eager to unwind and blow off steam after the fast-paced, hard-working year they’ve had overseas.

    For many in the vast Nigerian diaspora, it is a deeply personal homecoming, a chance to reconnect with their heritage, traditions and families while immersing themselves in the lively energy of Nigerian life.

  9. Wallacefex表示:

    deneme bonusu veren siteler yeni: denemebonusuverensiteler25 – deneme bonusu veren siteler yeni

  10. DavidTouts表示:

    https://denemebonusuverensiteler25.com/# denemebonusuverensiteler25

  11. Широкий выбор фурнитуры для плинтуса, подберите под свой интерьер вариант.
    Надежные элементы для плинтуса, долговечные и надежные в использовании.
    Легкость сборки плинтуса, сэкономьте время и силы.
    Тренды в дизайне фурнитуры для плинтуса, подчеркните стиль своего интерьера.
    Фурнитура для плинтуса из экологически чистых материалов, для заботы об окружающей среде.
    Популярные цветовые решения для фурнитуры плинтуса, выберите подходящий вам вариант.
    Оригинальные решения для отделки плинтуса, выразите свою индивидуальность через дизайн.
    Подсказки по правильной установке элементов плинтуса, для долгосрочного использования.
    Стильные детали для украшения плинтуса, добавьте шарм вашему интерьеру.
    Фурнитура для плинтуса в классическом стиле, сделайте свой дом роскошным и элегантным.
    купить плинтуса https://furnituradlyaplintusamsk.ru/ .

  12. Wallacefex表示:

    sweet bonanza giris: sweet bonanza giris – sweet bonanza giris

  13. Разнообразие фурнитуры для плинтуса, подберите под свой интерьер вариант.
    Надежные элементы для плинтуса, не подведут вас в эксплуатации.
    Удобство монтажа фурнитуры для плинтуса, для быстрой установки.
    Тренды в дизайне фурнитуры для плинтуса, сделайте дом уютным и стильным.
    Природные решения для отделки плинтуса, сделайте свой дом более безопасным для здоровья.
    Тренды в оттенках для декора плинтуса, создайте гармонию в доме.
    Оригинальные решения для отделки плинтуса, привнесите уникальность в интерьер.
    Подсказки по правильной установке элементов плинтуса, для безупречного результата.
    Креативные решения для отделки плинтуса, добавьте шарм вашему интерьеру.
    Элегантные элементы для стильного плинтуса, подчеркните изысканный вкус в дизайне.
    напольные покрытия https://furnituradlyaplintusamsk.ru/ .

  14. Four Best Places For Luxury Spa Break 부산달리기 (Hk.Tiancaisq.Com)

  15. great site表示:

    Great info. Lucky me I discovered your site by accident (stumbleupon). I’ve book-marked it for later.

  16. Stephan表示:

    Social Club 광주오피 (Stephan)

  17. Rise Of Smartphones And Leading Fitness Apps 다바오머니상

  18. RichardmUb表示:

    Welcome to Jumper Exchange
    Jumper Exchange is your one-stop destination for seamless cryptocurrency swaps. Dive into an unparalleled trading experience designed for both newcomers and veteran traders.
    jumper swap
    Why Choose Jumper Exchange?
    Jumper Exchange stands out for several compelling reasons:

    User-Friendly Interface: Navigate through our platform with ease, whether you’re trading from a desktop or mobile device.
    Fast Transactions: Experience rapid transaction speeds that ensure you never miss out on market opportunities.
    Security First: Rest assured that our advanced security protocols protect your assets at all times.
    Wide Range of Cryptocurrencies: Access a diverse array of cryptocurrencies to swap and trade effortlessly.
    How to Start Trading
    Register for an account using a simple signup process.
    Verify your identity quickly and securely.
    Fund your account and start swapping your preferred cryptocurrencies.
    Our educational resources also provide you with insights and strategies to help you make informed trading decisions every step of the way.

    Join Our Community
    When you sign up with Jumper Exchange, you join a vibrant community of crypto enthusiasts eager to share experiences and insights. Participate in our forums, and stay updated with the latest news and trends.

    Support and Resources
    Our dedicated support team is available 24/7 to assist you with any questions or concerns. Access our comprehensive resource center for help guides, FAQs, and the latest platform updates.

    Make Jumper Exchange your go-to platform for a streamlined, secure, and efficient crypto trading experience.

  19. ?? Хватит играть вслепую! ??

    Устали от мутных рейтингов и непонятных обзоров? На нашем канале вы найдете только проверенную информацию о ТОП казино.

    ? Объективные оценки: Никакой рекламы, только факты. ? Честные обзоры: Плюсы и минусы каждого казино. ? Актуальные бонусы: Самые выгодные предложения для наших подписчиков.

    Не тратьте время и деньги зря! Присоединяйтесь к профессионалам топ казино

    #топказино #лучшиеказино #обзорыказино #азартныеигры #онлайнказино

  20. ThomasZep表示:

    Welcome to Bungee Exchange
    In the dynamic world of cryptocurrency, the ability to exchange currencies securely and efficiently is crucial. Bungee Exchange offers a seamless platform that caters to both beginners and experienced traders alike.
    [url=https://www-bungee.com]bungee swap[/url]
    Why Choose Bungee Exchange?
    Bungee Exchange stands out as a top choice for currency swaps due to its:

    User-Friendly Interface: Designed with simplicity in mind, the platform allows users to navigate with ease.
    Robust Security Measures: Your transactions are protected with state-of-the-art security protocols.
    Wide Range of Supported Currencies: Bungee Exchange supports a variety of cryptocurrencies to meet diverse trading needs.
    Key Features
    Here are some key features that make Bungee Exchange an attractive choice:

    Instant Transactions: Benefit from quick processing times that facilitate rapid exchanges.
    Competitive Exchange Rates: Receive favorable rates that maximize the value of your trades.
    24/7 Customer Support: Access reliable support whenever you need assistance or have queries.
    How to Use Bungee Exchange
    Getting started with Bungee Exchange is straightforward. Follow these steps:

    Sign Up: Create an account by providing your email and setting a secure password.
    Verify Identity: Complete the KYC process to ensure safety and compliance.
    Select Exchange Pair: Choose the currencies you wish to swap.
    Confirm Transaction: Review the details and confirm your trade to initiate the exchange.
    Conclusion
    Whether you are a seasoned trader or just getting started, Bungee Exchange offers a streamlined platform for effective cryptocurrency swaps. With its emphasis on security, user-friendliness, and efficiency, you can trade with confidence. Discover the potential of Bungee Exchange today and take control of your cryptocurrency transactions with ease.

  21. Предлагаем услуги профессиональных инженеров офицальной мастерской.
    Еслли вы искали ремонт macbook air m1, можете посмотреть на сайте: ремонт macbook air m1 адреса
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  22. Wilbertacild表示:

    Understanding Convex Finance
    Convex Finance is an innovative platform designed to enhance yield farming in the decentralized finance (DeFi) space. It allows users to maximize their rewards without the need for technical expertise.

    What is Convex Finance?
    Convex Finance is a DeFi platform that builds on top of , optimizing the way liquidity providers and stakers can earn rewards. By using Convex, users can increase the efficiency and profitability of their investments.
    [url=https://v2-convex.finance]convex fi[/url]
    Key Features of Convex Finance
    Enhanced Rewards: Users can earn boosted rewards on their staked assets by utilizing the Convex platform.
    Decentralized and Secure: Built on top of the existing Curve protocol, ensuring a high level of trust and security.
    User-Friendly Interface: Designed to be easy for both new and experienced DeFi users to navigate.
    Why Choose Convex Finance?
    There are several compelling reasons to choose Convex Finance for your yield farming needs. Whether you’re new to DeFi or an experienced investor, Convex offers unique benefits:

    Higher Yields: By pooling your resources, Convex helps maximize the potential returns on your investments.
    Gas Fee Efficiency: Transactions through Convex are optimized to reduce costs, making it a more efficient choice.
    Community-Driven: Convex evolves based on user feedback, ensuring that the platform continues to meet the needs of its community.
    Getting Started with Convex Finance
    Starting with Convex Finance is straightforward:

    Visit the .
    Connect your compatible crypto wallet.
    Select the pools you want to stake in and boost your earnings.
    For more detailed instructions, referring to the section will provide deeper insights and troubleshooting support.

    Conclusion
    Convex Finance revolutionizes the way users interact with DeFi, offering enhanced yields while maintaining a focus on security and simplicity. By leveraging the capabilities of Convex, investors can confidently optimize their yield farming strategies.

    Boost Your Earnings with Convex Finance Staking
    Are you looking to maximize your returns on cryptocurrency investments? Discover the potential of Convex Finance Staking today. This innovative platform offers you the opportunity to earn more by staking popular tokens like CRV, achieving enhanced yields while gaining additional benefits.

    What is Convex Finance?
    is a cutting-edge decentralized finance (DeFi) protocol that optimizes returns for Curve Finance users. It allows liquidity providers and CRV stakers to earn trading fees, boosted CRV, and take part in Convex liquidity mining.

    Why Choose Convex Staking?
    Here’s why Convex Finance should be your go-to platform for staking:

    Boosted Yields: Earn higher returns by leveraging your CRV tokens and engaging in liquidity mining.
    No Withdrawal Fees: Enjoy the flexibility to withdraw your funds without incurring additional costs.
    Rewards and Bonuses: Benefit from various incentives, including platform rewards and additional bonuses for loyal stakers.
    How to Start Staking on Convex Finance
    Follow these simple steps to start maximizing your crypto profits with Convex Finance:

    Connect Your Wallet: Use a compatible wallet like MetaMask to link your account to the platform.
    Stake Your CRV: Deposit your CRV tokens into Convex to start earning boosted rewards.
    Claim Your Rewards: Monitor your earnings and claim your rewards at your convenience.
    Explore More Benefits
    Aside from staking, Convex Finance offers a unique opportunity to participate in liquidity pools and yield farming initiatives. These options provide you with multiple avenues to enhance your total returns on investments.

    Start Staking Today
    Visit the official website to learn more about which pools and strategies offer the best returns. Take action today and secure your financial future with Convex Finance’s powerful staking solutions.

    Understanding Convex Finance: Boost Your DeFi Earnings
    As decentralized finance (DeFi) continues to grow, Convex Finance emerges as a powerful tool for users looking to optimize their Curve Finance (CRV) earnings. Whether you’re a seasoned crypto enthusiast or a newcomer, understanding how Convex Finance works can significantly enhance your income from DeFi investments.

    What is Convex Finance?
    Convex Finance is a platform that allows liquidity providers (LPs) and CRV stakers to earn higher returns without locking CRV. It achieves this by leveraging specific tokenomics to maximize yield earnings for users, while simplifying the staking process.

    How Convex Finance Works
    Here’s a breakdown of how Convex Finance operates:

    Increased Yield: Convex offers LPs additional rewards on top of the incentives already provided by Curve Finance. This maximizes your DeFi returns.
    Platform Flexibility: Unlike traditional staking, Convex Finance enables users to stake either LP tokens or CRVs without enduring long lock-up periods.
    Reward Distribution: Participants earn not just from Curve rewards but also receive a share of fees distributed by the platform, further increasing potential earnings.
    Benefits of Using Convex Finance
    There are several reasons to consider using Convex Finance:

    Efficient Yield Optimization: Convex Finance combines yields from multiple sources, providing a streamlined way for users to maximize their earnings.
    Lower Commitment: Users can earn rewards without the need for long lock-up periods, maintaining greater liquidity and flexibility.
    Community Support: With an active community and ongoing development, Convex Finance regularly updates its platform features to ensure high performance and security.
    Getting Started with Convex Finance
    To begin using Convex, you’ll need to connect a compatible crypto wallet and deposit your Curve LP tokens. Once connected, you can decide on the best strategy for your investment needs, benefiting from the enhanced yields available on this innovative DeFi platform.

    Overall, Convex Finance represents an evolving landscape in decentralized finance, offering a compelling option for maximizing CRV earnings with minimal staking constraints. Explore this platform to leverage its full potential and take advantage of the thriving DeFi ecosystem.

  23. LarryNem表示:

    Desyn Protocol
    The Desyn Protocol: An Overview
    The Desyn Protocol is a cutting-edge framework designed to enhance blockchain technology by offering a scalable and more secure ecosystem. As the demand for decentralized applications grows, the need for efficient protocols becomes crucial. Desyn addresses these needs with a unique approach, providing developers and organizations with the tools to build and manage decentralized systems with enhanced capabilities.
    [url=https://web-desyn.org]desyn protocol[/url]
    Core Features of Desyn Protocol
    Scalability: The protocol integrates advanced scalability solutions, allowing for increased transaction throughput and reduced latency.
    Security: By utilizing state-of-the-art cryptography, Desyn ensures that transactional integrity and data protection are maintained.
    Flexibility: Desyn’s modular architecture enables seamless adaptability to various use cases in the blockchain sector.
    Applications and Benefits
    The Desyn Protocol is versatile, finding applications across different sectors that require blockchain solutions. In finance, it aids in creating smart contracts that bring efficiency and transparency to financial transactions. In supply chain management, Desyn can enhance traceability and accountability from production to distribution. The healthcare industry benefits from secure, immutable record keeping, ensuring both data integrity and patient privacy.

    With its emphasis on scalability and security, Desyn reduces resource consumption while optimizing performance, thus driving down operational costs. The flexibility of its architecture supports rapid deployment and integration with existing systems, providing a strategic advantage to businesses looking to transform digitally.

    Moreover, developers benefit from the open-source nature of the protocol, which encourages community involvement and continuous innovation. Desyn’s approach promises to lower barriers to entry for startups and established companies alike, fostering a vibrant ecosystem of development.

    Conclusion
    In conclusion, the Desyn Protocol represents a significant advancement in blockchain technology by combining scalability, security, and flexibility. Its wide range of applications and benefits make it a preferred choice for various industries seeking to leverage blockchain’s transformative power. As the landscape of decentralized technology evolves, Desyn is poised to play a pivotal role, offering solutions that are innovative, efficient, and secure. The protocol’s commitment to enhancing user experience and enabling strategic growth makes it a valuable asset in the digital transformation journey.

  24. Raw Food Tips For Busy Families From Celebrated Raw
    Food Chef 하이오피주소

  25. Casino Traps And Keep Away From Them 에볼루션 토이

  26. Josephcum表示:

    Welcome to CBridge: Your Gateway to Cross-Chain Transactions
    In the rapidly-evolving world of cryptocurrencies, CBridge stands out as a powerful solution for seamless cross-chain transfers. If you are new to the concept, or simply looking to enhance your crypto experience, CBridge offers a robust platform that ensures fast, cost-effective, and secure transactions across multiple blockchain networks.
    [url=https://web-cbridge.com ]celer bridge[/url]
    What is CBridge?
    CBridge is a revolutionary bridge infrastructure designed to facilitate transfers of cryptocurrencies across different blockchain networks. By leveraging the latest in blockchain technology, CBridge allows users to seamlessly move their digital assets between diverse ecosystems without the complexities often associated with such processes.

    Key Features of CBridge
    High-Speed Transactions: CBridge ensures that cross-chain transfers are completed as quickly as possible, reducing waiting times significantly.
    Cost-Effective Solutions: Enjoy lower transaction fees compared to traditional bridges, making it an economical choice for all users.
    Security and Privacy: With enhanced security protocols, CBridge maintains the integrity of transactions and protects user data.
    User-Friendly Interface: An intuitive platform that simplifies navigation, making it accessible even to beginners.
    How Does CBridge Work?
    The process is straightforward: users initiate a transaction from their preferred blockchain, select the destination network and currency, and confirm the transfer. CBridge handles the rest, ensuring the digital assets are converted and securely transmitted to the target blockchain.

    Benefits of Using CBridge
    CBridge not only simplifies the process of moving assets but also opens opportunities for users to explore diverse blockchain applications. Whether you are a trader, investor, or a blockchain enthusiast, CBridge offers a strategic advantage by fostering a truly interconnected crypto ecosystem.

    Conclusion
    In a world where flexibility and connectivity are key, CBridge offers the optimal solution to unlock new potentials in cross-chain transactions. Its commitment to speed, cost-efficiency, and security makes it an invaluable tool for anyone engaged in the cryptocurrency space.

  27. Предлагаем услуги профессиональных инженеров офицальной мастерской.
    Еслли вы искали ремонт кофемашин philips сервис, можете посмотреть на сайте: ремонт кофемашин philips
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

發佈留言

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