• Complain

Bruce Tate - Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript

Here you can read online Bruce Tate - Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2022, publisher: Pragmatic Bookshelf, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Bruce Tate Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript
  • Book:
    Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2022
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The days of the traditional request-response web application are long gone, but you dont have to wade through oceans of JavaScript to build the interactive applications todays 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 isnt 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. Youll 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 youll 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.

Dont 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.

Bruce Tate: author's other books


Who wrote Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript? Find out the surname, the name of the author of the book and a list of all author's works by series.

Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Programming Phoenix LiveView Interactive Elixir Web Programming Without Writing - photo 1
Programming Phoenix LiveView
Interactive Elixir Web Programming Without Writing Any JavaScript
by Bruce A. Tate, Sophie DeBenedetto
Version: B7.0 (March 30, 2022)

Copyright 2022 The Pragmatic Programmers, LLC. This book is licensed to the individual who purchased it. We don't copy-protect it because that would limit your ability to use it for your own purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copy with other members of your team, with friends, or via file sharing services. Thanks.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

About the Pragmatic Bookshelf

The Pragmatic Bookshelf is an agile publishing company. Were here because we want to improve the lives of developers. We do this by creating timely, practical titles, written by programmers for programmers.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

Our ebooks do not contain any Digital Restrictions Management, and have always been DRM-free. We pioneered the beta book concept, where you can purchase and read a book while its still being written, and provide feedback to the author to help make a better book for everyone. Free resources for all purchasers include source code downloads (if applicable), errata and discussion forums, all available on the book's home page at pragprog.com. Were here to make your life easier.

New Book Announcements

Want to keep up on our latest titles and announcements, and occasional special offers? Just create an account on pragprog.com (an email address and a password is all it takes) and select the checkbox to receive newsletters. You can also follow us on twitter as @pragprog.

About Ebook Formats

If you buy directly from pragprog.com, you get ebooks in all available formats for one price. You can synch your ebooks amongst all your devices (including iPhone/iPad, Android, laptops, etc.) via Dropbox. You get free updates for the life of the edition. And, of course, you can always come back and re-download your books when needed. Ebooks bought from the Amazon Kindle store are subject to Amazon's polices. Limitations in Amazon's file format may cause ebooks to display differently on different devices. For more information, please see our FAQ at pragprog.com/#about-ebooks. To learn more about this book and access the free resources, go to https://pragprog.com/book/liveview, the book's homepage.

Thanks for your continued support,

Andy Hunt
The Pragmatic Programmers

Table of Contents
Copyright 2022, The Pragmatic Bookshelf.

Change History

The book youre reading is in beta. This means that we update itfrequently. Here is the list of the major changes that have been madeat each beta release of the book, with the most recent change first.

B7.0 March 30th, 2022
  • Addressed errata.

B6.0 Jan 28th, 2022
  • Updated code to use recent versions of LiveView and Phoenix.

  • Updated relevant chapters to reflect changes in these recent versions.

  • Updated chapters to use new HEEx templates instead of EEx.

  • Renamed Stateless Components chapter to Chapter 6, and updated chapter with the new function component syntax and usage.

  • Renamed Stateful Components chapter to Chapter 7, and updated chapter with the new live component syntax and usage.

  • Removed content on the Surface library in favor of leveraging new built-in function and live components along with HEEx HTML validation.

  • Updated Forms chapter and other relevant sections to use the new built-in form function component.

  • Added Chapter 13, .

  • Addressed errata.

B5.0 July 1st, 2021
  • Added Chapter 12, .

  • Addressed errata.

B4.0 April 29th, 2021
  • Added Chapter 11, .

  • Addressed errata.

B3.0 April 2nd, 2021
  • Added Chapter 10, .

  • Addressed errata.

B2.0 March 11th, 2021
  • Added Chapter 9, .

  • Addressed errata.

B1.0: February 24, 2021
  • Initial beta release.

Copyright 2022, The Pragmatic Bookshelf.

Introduction

If you havent been following closely, it might seem like LiveView came suddenly, like a new seedling that breaks through the soil surface overnight. That narrative lacks a few important details, like all of the slow germination and growth that happens out of sight.

Chris McCord, the creator of Phoenix, worked on Ruby on Rails before coming over to the Elixir community. More and more often, his consultancy was asked to use Ruby on Rails to build dynamic single-page apps (SPAs). He tried to build a server-side framework on top of the Ruby on Rails infrastructure, much like LiveView, that would allow him to meet these demands for interactivity. But Chris recognized that the Ruby infrastructure was not robust enough to support his idea. He needed better reliability, higher throughput, and more even performance. He shopped around for a more appropriate language and infrastructure, and found Elixir.

When Chris moved from Ruby to Elixir, he first learned the metaprogramming techniques hed need to implement his vision. Then, he began building the Phoenix web development framework to support the infrastructure hed need to make this vision a reality.

At that time, Jos Valim began helping Chris write idiomatic Elixir abstractions relying on OTP. OTP libraries have powered many of the worlds phone switches, offering stunning uptime statistics and near realtime performance, so it played a critical role in Phoenix. Chris introduced a programming model to Phoenix called channels . This service uses HTTP WebSockets and OTP to simplify interactions in Phoenix. As the Phoenix team fleshed out the programming model, they saw stunning performance and reliability numbers. Because of OTP, Phoenix would support the concurrency, reliability, and performance that interactive applications demand .

In functional programming, Chris found cleaner ways to tie his ideas together than object orientation offered. He learned to compose functions with Elixir pipelines and the plugs. His work with OTP taught him to think in the same composable steps well show you as this book unfolds. His work with metaprogramming and macros prepared him to build smooth features beyond what basic Elixir provided. As a result, in Phoenix LiveView, users would find a pleasant, productive programming experience .

As the web programming field around him grew, frameworks like React and languages like Elm provided a new way to think about user interface development in layers. Chris took note. Some frameworks like Morphdom popped up to allow seamless replacement of page elements in a customizable way. The Phoenix team was able to build JavaScript features into LiveView that automate the process of changing a user interface on a socket connection. In LiveView, programmers would find a beautiful programming model based on tested concepts , and one that provided JavaScript infrastructure so developers didnt need to write their own JavaScript.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript»

Look at similar books to Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript»

Discussion, reviews of the book Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.