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

Most Liked

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

shankardevy
I am happy to announce that I am completing final rounds of my Phoenix book (which is now a series of books/booklets). ...
New
AlchemistCamp
EARLY ACCESS (currently in writing, estimated length: 40 pages) Hi. I’m Mark and over the past two and a half years, I’ve been teaching ...
New
peerreynders
by Elvio Vicosa @elviovicosa elvio Learning a new framework is hard As a seasoned Rails developer, you know Rails and its components...
New
PragmaticBookshelf
Peter Ullrich (@PJUllrich) edited by Michael Swaine @michaelswaine Data is at the core of every business, but it is useless if nobody ca...
New
mchean
By @emadb OVERVIEW Author Emanuele DelBono guides readers along the first steps of mastering the Elixir programming language in Elixi...
New
AstonJ
Classing this as a free online book :003: By Sean Callan with help from the community Lessons about the Elixir programming language...
New
AstonJ
by Benjamin Tan Wei Hao The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin w...
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
germsvel
:wave: Hi there, I’ve been working on a Test-Driven Development with Phoenix book. It teaches TDD and BDD by building a chat app from th...
New
AstonJ
A short and personal history of the book I, Erik Stenman (Happi), started writing this book back in 2013. At first I was thinking of sel...
New

Other popular topics Top

jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
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
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

We're in Beta

About us Mission Statement