Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript

0
(0)

Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript
 

  • Author:Bruce TateSophie DeBenedetto
  • Length: 370 pages
  • Edition: 1
  • Publisher: Pragmatic Bookshelf
  • Publication Date: 2022-11-15
  • ISBN-10: 1680508210
  • ISBN-13: 9781680508215
  • Sales Rank: #757464 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    The days of the traditional request-response web application are long gone, but you don’t have to wade through oceans of JavaScript to build the interactive applications today’s users crave. The innovative Phoenix LiveView library empowers you to build applications that are fast and highly interactive, without sacrificing reliability. This definitive guide to LiveView isn’t a reference manual. Learn to think in LiveView. Write your code layer by layer, the way the experts do. Explore techniques with experienced teachers to get the best possible performance.

    Instead of settling for traditional manuals and tutorials, get insights that can only be learned from experience. Start with the Elixir language techniques that effortlessly marry your client templates and server-side handlers. Design your systems with the right layers in the right places so that your code is easier to understand, change, and support. Explore features like multi-part uploads and learn how to comprehensively test your live views. Roll into advanced techniques to tie your code to other services through the powerful publish-subscribe interface.

    LiveView brings the most important programming techniques from the popular Elm and JavaScript React frameworks to Elixir. You’ll experience firsthand how to harness that power by working side by side with some of the first LiveView users. You will write your programs to change data on the server, and you’ll see how LiveView efficiently detects those changes and reflects them on the web page. Start from scratch, use built-in generators, and craft reusable components. Your single-purpose reducers will transform server data that your renderers can turn into efficient client-side diffs.

    Don’t settle for knowing how things work. To get the most out of LiveView, you need to know why they work that way. Co-authored by one of the most prolific authors and teachers in all of Elixir, this book is your perfect guide to one of the most important new frameworks of our generation.

    What You Need:

    Programming Phoenix LiveView uses Phoenix version 1.5, and any Elixir version compatible with it. You will also want PostgreSQL and JavaScript Node.

    中文:

    书名:编程菲尼克斯LiveView:无需编写任何Java脚本的交互式万灵丹Web编程

    传统的请求-响应Web应用程序的时代已经一去不复返了,但你不必费力地在大量的JavaScript中构建今天用户渴望的交互式应用程序。创新的菲尼克斯LiveView库使您能够构建快速、高度交互的应用程序,而不会牺牲可靠性。LiveView的这份权威指南并不是参考手册。学会在LiveView中思考。按照专家的做法,一层一层地编写代码。与经验丰富的老师一起探索技巧,以获得最好的表现。

    与其满足于传统的手册和教程,不如获得只能从经验中学到的见解。从轻松地将客户端模板和服务器端处理程序结合在一起的Elixir语言技术开始。在正确的位置使用正确的层设计您的系统,以便您的代码更易于理解、更改和支持。探索分部分上传等功能,并了解如何全面测试您的实时视图。融入高级技术,通过强大的发布-订阅接口将您的代码绑定到其他服务。

    LiveView将流行的ELM和JavaScript Reaction框架中最重要的编程技术带到了Elixir中。你将亲身体验如何通过与LiveView的一些第一批用户并肩工作来利用这种力量。您将编写程序来更改服务器上的数据,您将看到LiveView如何有效地检测到这些更改并将其反映在网页上。从头开始,使用内置的生成器,并制作可重用的组件。单一用途的减少器将转换服务器数据,呈现器可以将这些数据转换为高效的客户端差异。

    不要满足于知道事情是如何运作的。为了最大限度地利用LiveView,你需要知道它们为什么会这样工作。这本书是由万灵丹中最多产的作者和老师之一合著的,是我们这一代人最重要的新框架之一的完美指南。

    您需要的:

    编程菲尼克斯LiveView使用的是菲尼克斯1.5版,以及与其兼容的任何灵丹妙药版本。您还需要PostgreSQL和JavaScript Node。

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册