05243nam 22005653 450 991100925630332120250502195427.09798888650745(electronic bk.)(MiAaPQ)EBC31471605(Au-PeEL)EBL31471605(CKB)32274001400041(OCoLC)1439601818(Exl-AI)31471605(MiAaPQ)EBC31929444(Au-PeEL)EBL31929444(OCoLC)1505734452(Perlego)4454320(EXLCZ)993227400140004120250502d2024 uy 0engurcnu||||||||txtrdacontentcrdamediacrrdacarrierFrom Ruby to Elixir unleash the full potential of functional programming /Stephen Bussey1st ed.[Place of publication unknown] :The Pragmatic Programmers, LLC,[2024]©20241 online resource (213 pages)Print version: Bussey, Stephen From Ruby to Elixir Sebastopol : Pragmatic Programmers, LLC, The,c2024 Includes bibliographical references.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 -.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.Generated by AI.Functional programming languagesElixir (Computer program language)Object-oriented programming languagesRuby (Computer program language)Functional programming languages.Elixir (Computer program language)Object-oriented programming languages.Ruby (Computer program language)005.13Bussey Stephen1826569MiAaPQMiAaPQMiAaPQ9911009256303321From Ruby to Elixir4394838UNINA