This time, were going to improve real-time communication between the apps users using Phoenix PubSub, and use the Pow library to add secure user authentication. Person Icon Person Bubble Icon Person Bubble Icon Rail Bubble Icon Rail Bubble Icon Rectangular Rail Icon Rectangular Rail Icon Bus Bubble Icon Bus Bubble Icon Rectangular Bus Icon Rectangular Bus Icon Double Arrow Icon Double Arrow Icon Fare Icon Fare Icon Refresh Icon Refresh Icon Edit icon Edit icon Trash Icon Trash Icon Swap icon Swap icon Person walking icon. Weve already bootstrapped our Phoenix LiveView-based Messenger apps database structure and a first LiveView page. carpool icon carpool icon Vanpool Icon Vanpool Icon Created with Sketch. Single source of truth with Phoenix LiveView If you want to understand how Elixir Apps work, this is the way If you already created LiveView pages without. This is a fantastic combination of frontend and backend technologies. We typically use React to talk to our Elixir backends via a GraphQL API. Now let’s walk through the lifecycle of a LiveView in this video from our free course. LiveView powered applications are stateful on the server with bidirectional communication via WebSockets, offering a vastly simplified programming model compared to JavaScript alternatives. It heralded the dawn of a new age of productivity, by removing multiple unnecessary layers in our standard architecture. In the previous video we built a basic Phoenix LiveView from scratch to see how to react to user events. Phoenix LiveView is an exciting new library which enables rich, real-time user experiences with server-rendered HTML. If youve followed along in the previous tutorial youll discover how much simpler and more readable the implementation becomes when using LiveView. Phoenix LiveView was first released in August 2019. Download Icon Download Icon Information Icon Information Icon Close Icon Close Icon Add to calendar icon Add to calendar icon Transit Center Icon Transit Center Icon Calendar Icon Calendar Icon Clock Icon Clock Icon Icon Location Icon Location Description Icon Description Icon Contact Icon Contact Icon Map Icon Map Icon Map Ticket Icon Map Ticket Icon Calendar Full Icon Calendar Full Icon Calendar Half Icon Calendar Half Icon Calendar Quarter icon Calendar Quarter icon One Ride Icon One Ride Icon 1 RIDE Sun Icon Sun Icon One Way Ticket Icon One Way Ticket Icon 1 WAY Desert Ticket Icon Desert Ticket Icon Alert Icon Alert Icon Star Icon Star Icon Check Icon Check Icon Search icon Magnifying glass icon User profile icon Person silhouette icon twitter icon twitter icon facebook icon facebook icon YouTube Icon YouTube Icon Instagram Icon Instagram Icon Email Icon Email Icon Flickr Icon Flickr Icon Bus Icon Bus Icon Rail Icon Rail Icon Under construction map marker. LiveView is a relatively new feature in Phoenix and a lot of people are very excited about it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |