Decoupled Django: Understand and Build Decoupled Django Architectures for JavaScript Front-ends

0
(0)

Decoupled Django: Understand and Build Decoupled Django Architectures for JavaScript Front-ends
 

  • Author:Valentino Gagliardi
  • Length: 256 pages
  • Edition: 1
  • Publisher: Apress
  • Publication Date: 2021-07-19
  • ISBN-10: 1484271432
  • ISBN-13: 9781484271438
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Apply decoupling patterns, properly test a decoupled project, and integrate a Django API with React, and Vue.js. This book covers decoupled architectures in Django, with Django REST framework and GraphQL. With practical and simple examples, you’ll see firsthand how, why, and when to decouple a Django project.

    Starting with an introduction to decoupled architectures versus monoliths, with a strong focus on the modern JavaScript scene, you’ll implement REST and GraphQL APIs with Django, add authentication to a decoupled project, and test the backend. You’ll then review functional testing for JavaScript frontends with Cypress. You will also learn how to integrate GraphQL in a Django project, with a focus on the benefits and drawbacks of this new query language.

    By the end of this book, you will be able to discern and apply all the different decoupling strategies to any Django project, regardless of its size.
    What You’ll Learn  

    • Choose the right approach for decoupling a Django project
    • Build REST APIs with Django and a Django REST framework
    • Integrate Vue.js and GraphQL in a Django project
    • Consume a Django REST API with Next.js
    • Test decoupled Django projects

    Who This Book Is For

    Software developers with basic Django skills keen to learn decoupled architectures with Django. JavaScript developers interested in learning full-stack development and decoupled architectures with Django.

    中文:

    书名:解耦合的Django:理解并构建用于JavaScript前端的解耦的Django架构

    应用解耦模式,正确测试解耦的项目,并将Django API与Reaction和Vue.js集成。本书介绍了Django中的分离架构,以及Django REST框架和GraphQL。通过实际而简单的示例,您将直接了解如何、为什么以及何时分离Django项目。

    从介绍分离的体系结构与单一体系结构开始,重点关注现代的JavaScript场景,您将使用Django实现REST和GraphQL API,向分离的项目添加身份验证,并测试后端。然后,您将回顾使用Cypress对JavaScript前端进行的功能测试。您还将学习如何在Django项目中集成GraphQL,重点介绍这种新查询语言的优点和缺点。

    到本书结束时,您将能够识别并将所有不同的解耦策略应用于任何Django项目,无论其规模如何。
    你会学到什么?

    • 选择正确的方法来分离Django项目
    • 使用Django和Django REST框架构建REST API
    • 在Django项目中集成Vue.js和GraphQL
    • 通过Next.js使用Django REST API
    • 测试分离的Django项目

    这本书是为谁写的

    具有基本Django技能的软件开发人员热衷于学习使用Django解耦的架构。对学习全堆栈开发和使用Django解耦架构感兴趣的JavaScript开发人员。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册