富有成效的快克里斯·麦考德,布鲁斯·塔特,何塞·瓦林…策略之所以有效,是因为Ecto定义了一种称为可查询协议的东西。From接收一个可查询的对象,您可以使用任何可查询的对象作为基础为一个新的查询。
作者:克里斯·麦考德
出版者:务实的书架
国际标准图书编号:9781680504361
类别:电脑
页面:398
观点:517
不要在快速和美丽之间妥协:你可以拥有一切。Phoenix的创建者Chris McCord, Elixir的创建者Jose Valim和获奖作家Bruce Tate将带领您构建一个快速可靠的应用程序。在每一步中,您将从Phoenix的创造者那里不仅学习要做什么,而且还学习为什么要做。在你构建下一代web应用程序的过程中,这本权威指南将成为你从Phoenix新手到专家的旅程中的永恒伴侣。Phoenix是人们期待已久的基于Elixir的web框架,Elixir是一种高度并发的语言,结合了漂亮的语法和丰富的元编程。作者开发了最早的Phoenix生产应用程序,他们将向您展示如何创建更容易编写、测试、理解和维护的代码。学习Phoenix的最好方法是编写代码,您将能够解决一些有趣的问题。从前几页开始使用控制器、视图和模板。构建一个内存存储库,然后用一个Ecto数据库层返回它。学会使用变更集和约束,让读者了解情况并保持数据库完整性不变。 Craft your own interactive application based on the channels API for the real-time, high-performance applications that this ecosystem made famous. Write your own authentication components called plugs, and even learn to use the OTP layer for monitored, reliable services. Organize your code with umbrella projects so you can keep your applications modular and easy to maintain. 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 17 or better, Elixir 1.1, or better, Phoenix 1.0 or better, and Ecto 1.0 or better. A rudimentary knowledge of Elixir is also highly recommended.