Programming Phoenix Liveview: Interactive Elixir Web Programming Without Writing Any JavaScript
暫譯: Programming Phoenix LiveView:無需撰寫任何 JavaScript 的互動式 Elixir 網頁程式設計
Tate, Bruce, Debenedetto, Sophie
- 出版商: Pragmatic Bookshelf
- 出版日期: 2026-04-07
- 售價: $2,740
- 貴賓價: 9.8 折 $2,685
- 語言: 英文
- 頁數: 370
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680508210
- ISBN-13: 9781680508215
-
相關分類:
Functional-programming、JavaScript
海外代購書籍(需單獨結帳)
商品描述
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.
商品描述(中文翻譯)
傳統的請求-回應網頁應用程式的時代已經一去不復返,但您不必在浩瀚的 JavaScript 中掙扎,就能建立當今用戶渴望的互動應用程式。創新的 Phoenix LiveView 函式庫使您能夠構建快速且高度互動的應用程式,而不會犧牲可靠性。本書是 LiveView 的權威指南,並不是一本參考手冊。學會在 LiveView 中思考。像專家一樣,逐層編寫您的程式碼。與經驗豐富的教師探索技術,以獲得最佳性能。
不要滿足於傳統的手冊和教程,獲取只能從經驗中學到的見解。從 Elixir 語言技術開始,輕鬆地將您的客戶端模板和伺服器端處理程序結合起來。設計您的系統,確保正確的層次在正確的位置,讓您的程式碼更容易理解、修改和支持。探索多部分上傳等功能,學習如何全面測試您的即時視圖。進入進階技術,通過強大的發布-訂閱介面將您的程式碼與其他服務連接起來。
LiveView 將來自流行的 Elm 和 JavaScript React 框架中最重要的程式設計技術帶入 Elixir。您將親身體驗如何利用這種力量,與一些最早的 LiveView 使用者並肩工作。您將編寫程式來更改伺服器上的數據,並看到 LiveView 如何有效地檢測這些變更並在網頁上反映出來。從零開始,使用內建生成器,並製作可重用的元件。您的單一用途的 reducer 將轉換伺服器數據,讓您的渲染器能夠生成高效的客戶端差異。
不要滿足於知道如何運作。要充分利用 LiveView,您需要知道為什麼它們以這種方式運作。本書由 Elixir 中最具生產力的作者和教師之一共同撰寫,是您了解我們這一代最重要的新框架之一的完美指南。
您需要的內容:
Programming Phoenix LiveView 使用 Phoenix 版本 1.5,以及任何與之相容的 Elixir 版本。您還需要 PostgreSQL 和 JavaScript Node。
作者簡介
Bruce Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He's the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles and has been involved with Elixir from the very beginning. He's written more than 10 books.
Sophie DeBenedetto is an engineer at GitHub. She is a former graduate of, and teacher at, The Flatiron School and has a love of coding education. She has been an active member of the Elixir community for several years - she is co-organizer of, and speaker at, different Elixir conferences around the world, a podcast host, and a blogger.
作者簡介(中文翻譯)
布魯斯·泰特是一位程式設計師,也是Groxio的執行長,他正在幫助重新定義電腦語言的教學與學習方式。他是七種語言七週學和程式設計Phoenix等書籍的作者,並且從一開始就參與Elixir的發展。他已經寫了超過10本書。
索菲·德本內黛托是GitHub的一名工程師。她是Flatiron School的畢業生及教師,對程式設計教育充滿熱情。她在Elixir社群中活躍多年,是全球不同Elixir會議的共同組織者和演講者,還是一名播客主持人和部落客。