Vai al contenuto principale della pagina

From Ruby to Elixir : unleash the full potential of functional programming / / Stephen Bussey



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: Bussey Stephen Visualizza persona
Titolo: From Ruby to Elixir : unleash the full potential of functional programming / / Stephen Bussey Visualizza cluster
Pubblicazione: [Place of publication unknown] : , : The Pragmatic Programmers, LLC, , [2024]
©2024
Edizione: 1st ed.
Descrizione fisica: 1 online resource (213 pages)
Disciplina: 005.13
Soggetto topico: Functional programming languages
Elixir (Computer program language)
Object-oriented programming languages
Ruby (Computer program language)
Nota di bibliografia: Includes bibliographical references.
Nota di contenuto: Cover -- Table of Contents -- Acknowledgments -- Introduction -- Who Should Read This Book? -- About This Book -- About the Code -- Online Resources -- Part I-Fundamentals of Elixir -- 1. Why Elixir? Why Now? -- The Joy of Ruby -- The Case for Elixir -- Erlang, OTP, Elixir, and Friends -- Install Elixir on Your Computer -- Write Your First Elixir Code -- Wrapping Up -- 2. New Language, New Syntax -- The Big Picture -- Data Types -- Operators -- Module and Function Basics -- Fun with Functions -- Capturing Functions -- Advanced Module Keywords -- Compile Time vs. Runtime -- Wrapping Up -- 3. Working with Data -- Lists-Not Arrays -- Maps-Your Data Layer Foundation -- Implementing Data Structures -- Enumerating Data Structures -- Wrapping Up -- 4. Pattern Matching Your Way to Success -- Pattern Matching Basics -- Use Patterns for Control Flow -- Level Up Your Functions -- Wrapping Up -- 5. GenServers: Build Cities, Not Skyscrapers -- Parallelism vs. Concurrency -- Explore Elixir Processes -- Go Parallel with GenServers -- Be Parallel, Be Cautious -- Build Cities, Not Skyscrapers -- Wrapping Up -- Part II-Tools of the Trade -- 6. Persisting Data with Ecto -- What Will We Build? -- The Foundations of Ecto -- Write an Ecto Schema -- Use Migrations to Create Database Tables -- Use Changesets to Persist Data -- Query Data with Ecto.Query -- Put Everything in a Context -- Wrapping Up -- 7. Serving Requests with Phoenix -- Explore the Foundations of Phoenix -- Route Requests Through Phoenix -- Serve Requests with Phoenix Controllers -- Manage Static Assets -- Use Components to Keep Your User Interface Clean -- Phoenix Is More Than Controllers -- Wrapping Up -- 8. Outbound HTTP Requests with Req -- Decide on Which HTTP Client to Use -- Prep Your Project for Req -- Use Req to Make Requests -- See Your App in Action -- Wrapping Up.
9. Asynchronous Jobs with Oban -- Understand Async Job Systems -- Explore Asynchronous Jobs in Elixir -- Implement an Oban Worker -- More About Oban -- Wrapping Up -- 10. Testing Elixir -- Create Your First Test -- Test an Ecto Query -- Test External API Requests -- Test Phoenix Requests -- Test Oban Jobs -- Wrapping Up -- 11. The Future of Elixir -- Deployment and Observability -- Real-Time Apps with LiveView -- GraphQL with Absinthe -- Machine Learning with Nx and Bumblebee -- Type Systems -- Wrapping Up -- The End of Our Journey -- Bibliography -- Index -- - SYMBOLS - -- - A - -- - B - -- - C - -- - D - -- - E - -- - F - -- - G - -- - H - -- - I - -- - K - -- - L - -- - M - -- - N - -- - O - -- - P - -- - Q - -- - R - -- - S - -- - T - -- - U - -- - V - -- - W -.
Sommario/riassunto: From Ruby to Elixir by Stephen Bussey is a comprehensive guide designed to ease the transition for Ruby developers into the Elixir programming language. Emphasizing functional programming, the book delves into the philosophies and practicalities of Elixir, offering a blend of theory and hands-on examples. It covers key areas such as data types, pattern matching, concurrency with GenServers, and web development with the Phoenix framework. The book also introduces tools like Ecto for database interaction and Oban for asynchronous job processing. Aimed primarily at Ruby programmers, it also serves as a valuable resource for developers from other languages like Java and Python, providing foundational knowledge and advanced insights into Elixir's capabilities.
Titolo autorizzato: From Ruby to Elixir  Visualizza cluster
ISBN: 9798888650745
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9911009256303321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui