Programming Phoenix 1.4 Productive |> Reliable |> Fast

Chris McCord, Bruce Tate, Jose Valim

買這商品的人也買了...

商品描述

Don't accept the compromise between fast and beautiful: you can have it all. Phoenix creator Chris McCord, Elixir creator Jose Valim, and award-winning author Bruce Tate walk you through building an application that's fast and reliable. At every step, you'll learn from the Phoenix creators not just what to do, but why. Packed with insider insights and completely updated for Phoenix 1.3, this definitive guide will be your constant companion in your journey from Phoenix novice to expert, as you build the next generation of web applications.

Phoenix is the long-awaited web framework based on Elixir, the highly concurrent language that combines a beautiful syntax with rich metaprogramming. The best way to learn Phoenix is to code, and you'll get to attack some interesting problems. Start working with controllers, views, and templates within the first few pages. Build an in-memory context, and then back it with an Ecto database layer, complete with changesets and constraints that keep readers informed and your database integrity intact. Craft your own interactive application based on the channels API for the real-time applications that this ecosystem made famous. Write your own authentication plugs, and use the OTP layer for supervised services. Organize code with modular umbrella projects.

This edition is fully updated for Phoenix 1.3, Elixir 1.3, and Ecto 2.1, with a new chapter on using Channel Presence to find out who's connected, even on a distributed application. Use the new generators and the new ExUnit features to organize tests and make Ecto tests concurrent.

This is a book by developers and for developers, and we know how to help you ramp up quickly. Any book can tell you what to do. When you've finished this one, you'll also know why to do it.

What You Need:

To work through this book, you will need a computer capable of running Erlang 18 or higher, Elixir 1.3 or higher, Phoenix 1.3 or higher, and Ecto 2.1 or higher. A rudimentary knowledge of Elixir is also highly recommended.

商品描述(中文翻譯)

不要在速度和美觀之間妥協:你可以兼得兩者。Phoenix 的創造者 Chris McCord、Elixir 的創造者 Jose Valim 和屢獲殊榮的作者 Bruce Tate 將帶領你建立一個快速可靠的應用程式。在每一步中,你都將從 Phoenix 的創造者那裡學到不僅僅是該做什麼,還有為什麼要這樣做。這本權威指南充滿了內部見解,並完全更新至 Phoenix 1.3 版本,將成為你從 Phoenix 新手到專家的不離身的伴侶,幫助你建立下一代的網絡應用程式。

Phoenix 是期待已久的基於 Elixir 的網絡框架,Elixir 是一種高度並發的語言,結合了優雅的語法和豐富的元編程。學習 Phoenix 的最佳方式就是實際編碼,你將有機會解決一些有趣的問題。在前幾頁中就開始使用控制器、視圖和模板。建立一個基於內存的上下文,然後使用 Ecto 數據庫層來支持它,包括變更集和約束,以保持讀者的信息和數據庫的完整性。根據通道 API 創建自己的交互式應用程式,這是這個生態系統所著名的實時應用程式。編寫自己的身份驗證插件,並使用 OTP 層進行受監管的服務。使用模塊化的 umbrella 項目組織代碼。

本版本完全更新至 Phoenix 1.3、Elixir 1.3 和 Ecto 2.1,新增了一章關於使用 Channel Presence 在分佈式應用程式中查找誰已連接的內容。使用新的生成器和新的 ExUnit 功能來組織測試並使 Ecto 測試並行。

這是一本由開發人員為開發人員撰寫的書籍,我們知道如何幫助你快速上手。任何書都可以告訴你該做什麼。當你完成這本書時,你也將知道為什麼要這樣做。

你需要準備一台能運行 Erlang 18 或更高版本、Elixir 1.3 或更高版本、Phoenix 1.3 或更高版本以及 Ecto 2.1 或更高版本的電腦來完成本書的學習。對 Elixir 的基本知識也是強烈推薦的。