meraj_enigma

meraj_enigma

Build Your Own Web Framework in Elixir (Self-published / Packt)

New book from Packt publication that goes into teaching how to write a web framework using Elixir.

About this book

Elixir’s functional nature and metaprogramming capabilities make it an ideal language for building web frameworks, with Phoenix being the most ubiquitous framework in the Elixir ecosystem and a popular choice for companies seeking scalable web-based products. With an ever-increasing demand for Elixir engineers, developers can accelerate their careers by learning Elixir and the Phoenix web framework. With Build Your Own Web Framework in Elixir, you’ll start by exploring the fundamental concepts of web development using Elixir. You’ll learn how to build a robust web server and create a router to direct incoming requests to the correct controller. Then, you’ll learn to dispatch requests to controllers to respond with clean, semantic HTML, and explore the power of Domain-Specific Languages (DSL) and metaprogramming in Elixir. You’ll develop a deep understanding of Elixir’s unique syntax and semantics, allowing you to optimize your code for performance and maintainability. Finally, you’ll discover how to effectively test each component of your application for accuracy and performance. By the end of this book, you’ll have a thorough understanding of how Elixir components are implemented within Phoenix, and how to leverage its powerful features to build robust web applications.

Part 1: Web Server Fundamentals]
Chapter 1: Introducing the Cowboy Web Server
Chapter 2: Building an HTTP Server in Elixir

Part 2: Router, Controller, and View
Chapter 3: Defining Web Application Specifications Using Plug
Chapter 4: Working with Controllers
Chapter 5: Adding Controller Plugs and Action Fallback
Chapter 6: Working with HTML and Embedded Elixir
Chapter 7: Working with Views

Part 3: DSL Design
Chapter 8: Metaprogramming – Code That Writes Code
Chapter 9: Controller and View DSL
Chapter 10: Building the Router DSL

https://www.packtpub.com/product/build-your-own-web-framework-in-elixir/9781801812542

Most Liked Responses

whatyouhide

whatyouhide

Elixir Core Team

My book is going to be lower-level than this one. I’m not focusing on the web, but lower-level protocols in general.

meraj_enigma

meraj_enigma

Anyone read the book? Any opinion?

I saw @whatyouhide is writing a book on Network Programming in Elixir. Not sure how that is going to be different from this book or when it’s coming out.

Thanks,
-M

Where Next?

Popular in Books Top

peerreynders
Don’t forget you can get 35% off the ebook using the code: devtalk.com :023: Note: Check out this thread for help running code in lat...
New
shankardevy
Dear Elixir Alchemists I’m happy to share that I’m working on my 2nd series of books (See my first one here) and this time it’s about As...
New
AstonJ
By Simon St. Laurent If you’re new to Erlang, its functional style can seem difficult, but with help from this hands-on introduction, y...
New
CinderellaMan
Hands-on Elixir & OTP: Cryptocurrency Trading Bot by Kamil Skowron Want to learn Elixir & OTP by creating a real-world project...
New
peerreynders
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023: Available in Beta now This title will be available on o...
355 16649 140
New
PragmaticBookshelf
Isaak Tsalicoglou Built for the curious, this isn’t your average programming book—it’s nearly 500 pages of hands-on mentorship beyond cod...
New
kokolegorille
by Ulisses Almeida Elixir’s straightforward syntax and this guided tour give you a clean, simple path to learn modern functional program...
New
jack-s9
Simplify and streamline your Elixir Phoenix Deployments. Deploy with tools that are easy to use, maximize Elixir’s features, and have ex...
New
peerreynders
by Darin Wilson and Eric Meadows-Jönsson Languages may come and go, but the relational database endures. Learn how to use Ecto, the prem...
New
arpan
:waving_hand: Hey Elixir Enthusiasts! I’ve got something cool for you. It’s a free book on Elixir that dives into the nitty-gritty of co...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41539 114
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New

We're in Beta

About us Mission Statement