Functional Web Development with Elixir, OTP, and Phoenix

Functional Web Development with Elixir, OTP, and Phoenix PDF Author: Lance Halvorsen
Publisher: Pragmatic Bookshelf
ISBN: 1680505440
Category : Computers
Languages : en
Pages : 286

Get Book Here

Book Description
Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. For decades OTP has helped developers create incredibly robust, scalable applications with unparalleled uptime. Make the most of them as you build a stateful web app with Elixir, OTP, and Phoenix. Model domain entities without an ORM or a database. Manage server state and keep your code clean with OTP Behaviours. Layer on a Phoenix web interface without coupling it to the business logic. Open doors to powerful new techniques that will get you thinking about web development in fundamentally new ways. Elixir and OTP provide exceptional tools to build rock-solid back-end applications that scale. In this book, you'll build a web application in a radically different way, with a back end that holds application state. You'll use persistent Phoenix Channel connections instead of HTTP's request-response, and create the full application in distinct, decoupled layers. In Part 1, start by building the business logic as a separate application, without Phoenix. Model the application domain with Elixir functions and simple data structures. By keeping state in memory instead of a database, you can reduce latency and simplify your code. In Part 2, add in the GenServer Behaviour to make managing in-memory state a breeze. Create a supervision tree to boost fault tolerance while separating error handling from business logic. Phoenix is a modern web framework you can layer on top of business logic while keeping the two completely decoupled. In Part 3, you'll do exactly that as you build a web interface with Phoenix. Bring in the application from Part 2 as a dependency to a new Phoenix project. Then use ultra-scalable Phoenix Channels to establish persistent connections between the stateful server and a stateful front-end client. You're going to love this way of building web apps! What You Need: You'll need a computer that can run Elixir version 1.5 or higher and Phoenix 1.3 or higher. Some familiarity with Elixir and Phoenix is recommended.

The Little Elixir & OTP Guidebook

The Little Elixir & OTP Guidebook PDF Author: Benjamin Tan Wei Hao
Publisher: Simon and Schuster
ISBN: 163835345X
Category : Computers
Languages : en
Pages : 437

Get Book Here

Book Description
Summary The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into OTP and learn how it helps you build scalable, fault-tolerant and distributed applications through several fun examples. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Elixir is an elegant programming language that combines the expressiveness of Ruby with the concurrency and fault-tolerance of Erlang. It makes full use of Erlang's BEAM VM and OTP library, so you get two decades' worth of maturity and reliability right out of the gate. Elixir's support for functional programming makes it perfect for modern event-driven applications. About the Book The Little Elixir & OTP Guidebook gets you started writing applications with Elixir and OTP. You'll begin with the immediately comfortable Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into several lighthearted examples that teach you to take advantage of the incredible functionality built into the OTP library. What's Inside Covers Elixir 1.2 and 1.3 Introduction to functional concurrency with actors Experience the awesome power of Erlang and OTP About the Reader Written for readers comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required. About the Author Benjamin Tan Wei Hao is a software engineer at Pivotal Labs, Singapore. He is also an author, a speaker, and an early adopter of Elixir. Table of Contents GETTING STARTED WITH ELIXIR AND OTP Introduction A whirlwind tour Processes 101 Writing server applications with GenServer FAULT TOLERANCE, SUPERVISION, AND DISTRIBUTION Concurrent error-handling and fault tolerance with links, monitors, and processes Fault tolerance with Supervisors Completing the worker-pool application Distribution and load balancing Distribution and fault tolerance Dialyzer and type specifications Property-based and concurrency testing

The Way of Complete Perfection

The Way of Complete Perfection PDF Author:
Publisher: State University of New York Press
ISBN: 1438446535
Category : Religion
Languages : en
Pages : 471

Get Book Here

Book Description
Originating about 1163 CE, Quanzhen (Complete Perfection) Daoism is one of the most important Daoist movements in Chinese history. It remains the dominant form of monastic Daoism in the modern world, especially in its Longmen (Dragon Gate) lineage. This landmark anthology provides complete or partial translations of twenty-one Quanzhen texts. Most have never been translated or even discussed in scholarly literature. Louis Komjathy gives particular attention to work completed by the Quanzhen movement's founder, Wang Chongyang (1113–1170 CE), and his first generation disciples. Translations include representative works from every major genre of Quanzhen literature, from poetry and discourse records to didactic texts, commentaries, and hagiographies. Three monastic manuals from the late medieval and late imperial periods of Quanzhen history are also included. An introduction to Quanzhen Daoism begins the work, and each chapter provides discussions of the history and topics relevant to each translation.

Elixir in Action

Elixir in Action PDF Author: Sasa Juric
Publisher: Simon and Schuster
ISBN: 1638351651
Category : Computers
Languages : en
Pages : 652

Get Book Here

Book Description
Summary Revised and updated for Elixir 1.7, Elixir in Action, Second Edition teaches you how to apply Elixir to practical problems associated with scalability, fault tolerance, and high availability. Along the way, you'll develop an appreciation for, and considerable skill in, a functional and concurrent style of programming. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology When you're building mission-critical software, fault tolerance matters. The Elixir programming language delivers fast, reliable applications, whether you're building a large-scale distributed system, a set of backend services, or a simple web app. And Elixir's elegant syntax and functional programming mindset make your software easy to write, read, and maintain. About the Book Elixir in Action, Second Edition teaches you how to build production-quality distributed applications using the Elixir programming language. Author Saša Jurić introduces this powerful language using examples that highlight the benefits of Elixir's functional and concurrent programming. You'll discover how the OTP framework can radically reduce tedious low-level coding tasks. You'll also explore practical approaches to concurrency as you learn to distribute a production system over multiple machines. What's inside Updated for Elixir 1.7 Functional and concurrent programming Introduction to distributed system design Creating deployable releases About the Reader You'll need intermediate skills with client/server applications and a language like Java, C#, or Ruby. No previous experience with Elixir required. About the Author Saša Jurić is a developer with extensive experience using Elixir and Erlang in complex server-side systems. Table of Contents First steps Building blocks Control flow Data abstractions Concurrency primitives Generic server processes Building a concurrent system Fault-tolerance basics Isolating error effects Beyond GenServer Working with components Building a distributed system Running the system

The Mirror of Alchimy

The Mirror of Alchimy PDF Author: Roger Bacon
Publisher: DigiCat
ISBN:
Category : Fiction
Languages : en
Pages : 89

Get Book Here

Book Description
DigiCat Publishing presents to you this special edition of "The Mirror of Alchimy" by Roger Bacon. DigiCat Publishing considers every written word to be a legacy of humankind. Every DigiCat book has been carefully reproduced for republishing in a new modern format. The books are available in print, as well as ebooks. DigiCat hopes you will treat this work with the acknowledgment and passion it deserves as a classic of world literature.

Elixir

Elixir PDF Author: Gary Braver
Publisher: Macmillan + ORM
ISBN: 1429962933
Category : Fiction
Languages : en
Pages : 462

Get Book Here

Book Description
When biologist Chris Bacon headed for the unspoiled rainforests of Papua New Guinea in search of medicinal plants, he had no idea that he would bring home a rare flower rumored by a tribal shaman to prevent human aging. Driven by fountain-of-youth dreams, he plans to turn the flower into an elixir of youth and health. But as Chris begins tampering with the ultimate secret of nature, he unleashes forces that not only threaten his own family, but expose the world to unimaginably horrific consequences. At the Publisher's request, this title is being sold without Digital Rights Management Software (DRM) applied.

The Nature of Christian Doctrine

The Nature of Christian Doctrine PDF Author: Emeritus Professor of Science and Religion Alister E McGrath
Publisher: Oxford University Press
ISBN: 0198901445
Category :
Languages : en
Pages : 225

Get Book Here

Book Description
Alister E. McGrath provides a fresh and engaging account of the origins, development, and abiding importance of Christian doctrine. The book explores why Christianity developed doctrines in the first place, and why doctrines continue to be vital to the present and future of Christian communities.

World of Warcraft Gold Strategy Guide

World of Warcraft Gold Strategy Guide PDF Author: Eric Dekker
Publisher: Packt Publishing Ltd
ISBN: 1849693633
Category : Computers
Languages : en
Pages : 279

Get Book Here

Book Description
Rich with examples, detailed breakdowns, and step-by-step instructions, this book gets down to the nuts and bolts of gold making, to help you become a World of Warcraft gold tycoon.This book is for every World of Warcraft player who's tired of scrapping for gold or has ever wanted to be the one showing off expensive items in town.

Collateral Readings in Inorganic Chemistry

Collateral Readings in Inorganic Chemistry PDF Author: Leo Arthur Goldblatt
Publisher:
ISBN:
Category : Chemistry, Inorganic
Languages : en
Pages : 244

Get Book Here

Book Description


Programming Phoenix LiveView

Programming Phoenix LiveView PDF Author: Bruce A. Tate
Publisher: Pragmatic Bookshelf
ISBN: 9781680508215
Category :
Languages : en
Pages : 370

Get Book Here

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.

Elixir Saved

Elixir Saved PDF Author: Katie L. Carroll
Publisher: Shimmer Publications
ISBN: 0998925454
Category : Young Adult Fiction
Languages : en
Pages : 460

Get Book Here

Book Description
Three lives saved by the Elixir; three lives bound by it. The Elixir entwines the lives of those it touches. Once upon a time, Kylene, Zelenka, and Devon tasted it and escaped death. None were left without scars. Now, a shocking message from the Ice Queen—one of Mother Nature’s higher beings—sends each survivor on a quest. Kylene travels to the frozen depths of Blanchardwood, Zelenka heads back to the wilds of Faway Forest, and Devon journeys to a reclusive mountain temple. The three paths converge in a war against an ancient and tricky foe. And even the Elixir cannot save everyone. The fate of the world balances on the edge of a sword, and the outcome depends on whether the survivors will sacrifice their second chances. Escape back into the world of the Great Peninsula in this much-anticipated sequel to the award-winning ELIXIR BOUND. Perfect for fans of the Thrones of Glass series by Sarah J. Maas.