Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Build Your Own Web Framework in Elixir
Build Your Own Web Framework in Elixir

Build Your Own Web Framework in Elixir: Develop lightning-fast web applications using Phoenix and metaprogramming

eBook
$20.98 $29.99
Paperback
$36.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Build Your Own Web Framework in Elixir

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore the various web servers available to build robust web applications
  • Leverage Elixir's powerful Plug module to build a request-response pipeline
  • Explore advanced techniques of Elixir to create Domain-Specific languages and build scalable, maintainable web products

Description

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.

Who is this book for?

This book is for web developers seeking to deepen their understanding of Elixir's role in the Phoenix framework. Basic familiarity with Elixir is a must.

What you will learn

  • Develop a deep understanding of Phoenix
  • Use metaprogramming with Elixir
  • Get to grips with web development fundamentals
  • Dispatch a request to a controller and respond using HTML embedded with Elixir
  • Use OTP constructs to add concurrency to the web server
  • Streamline your router using Error Handler

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 16, 2023
Length: 274 pages
Edition : 1st
Language : English
ISBN-13 : 9781801815901
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Jun 16, 2023
Length: 274 pages
Edition : 1st
Language : English
ISBN-13 : 9781801815901
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 130.97
Machine Learning Engineering with MLflow
$43.99
Build Your Own Web Framework in Elixir
$36.99
Python Deep Learning
$49.99
Total $ 130.97 Stars icon

Table of Contents

14 Chapters
Part 1: Web Server Fundamentals Chevron down icon Chevron up icon
Chapter 1: Introducing the Cowboy Web Server Chevron down icon Chevron up icon
Chapter 2: Building an HTTP Server in Elixir Chevron down icon Chevron up icon
Part 2: Router, Controller, and View Chevron down icon Chevron up icon
Chapter 3: Defining Web Application Specifications Using Plug Chevron down icon Chevron up icon
Chapter 4: Working with Controllers Chevron down icon Chevron up icon
Chapter 5: Adding Controller Plugs and Action Fallback Chevron down icon Chevron up icon
Chapter 6: Working with HTML and Embedded Elixir Chevron down icon Chevron up icon
Chapter 7: Working with Views Chevron down icon Chevron up icon
Part 3: DSL Design Chevron down icon Chevron up icon
Chapter 8: Metaprogramming – Code That Writes Code Chevron down icon Chevron up icon
Chapter 9: Controller and View DSL Chevron down icon Chevron up icon
Chapter 10: Building the Router DSL Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Most Recent
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(7 Ratings)
5 star 85.7%
4 star 14.3%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Most Recent

Filter reviews by




rubbeh Oct 05, 2024
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Like I said in title, as you can generally expect from PacktPub, there are typos GALORE in this book. Usually the accompanying repo can guide you through it, but sometimes it's quite the headache. Nonetheless I gave the book four stars because it's a pretty interesting take on picking up Phoenix. I've never really made a Phoenix project yet but decided to start here, and it's fairly rewarding to build it up this way.
Amazon Verified review Amazon
Amazon Customer Jul 19, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is well written. Explains the concepts in a concise and easy-to-understand way. It is easy to read and follow. All of the code fragments I tested compiled successfully and worked correctly. It is a great in-depth introduction to the Elixir Phoenix framework and what's under the hood.
Amazon Verified review Amazon
cs44 Jun 20, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I often read tech books to learn a new skill or rehash an older subject, and generally I do enjoy them. However, I was grinning ear to ear with this one.As a seasoned Elixir engineer, primary focused on web technologies, I have a comprehensive understanding of the underlying machinery of, say, Phoenix. Though I often want to peek under the hood, and that’s what this book does.Aditya expertly guides you through the foundation and frameworks powering our web applications from scratch. It’s an excellent vantage point.Aside from that, his elegant style is something I’ll no doubt borrow in my own code.If you’re an Elixir dev searching for a new book, after having read them all, look no further.
Amazon Verified review Amazon
Reader Jun 18, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The author starts with a review of how a web server is built, followed by controllers, routers and serving HTML. From there the book gets into metaprogramming and wraps all the functionality into a nice readable interface. All of this is done while learning how to test everything. Highly recommended for anyone looking to gain deeper insight on how Phoenix works!
Amazon Verified review Amazon
Noah Jun 18, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Disclaimer: I received an early review copy PDF of this book for review purposes but did not receive any compensation for this review.There's an increasing number of educational programming content along the lines of "Build Your Own X." Think, "Build Your Own React," "Build Your Own Operating System," and so on. In most cases, these are great ways to practice programming skills using a concrete problem with many example implementations.With "Build Your Own Web Framework in Elixir," Adi has created an excellent new entry in this genre. It's more than a simple "copy this code and run it" tutorial that ends up with some "finished" project. It's carefully architected and goes through the core building blocks of Elixir for web/backend development from :gen_tcp to Ranch to Cowboy to Plug, all to teach the reader how to build frameworks like Phoenix. It goes into great detail about creating a custom metaprogramming DSL in an easily-digestible way while also covering useful utilities for introspection and testing.Overall, I highly recommend this book for Elixir developers who are familiar with the concept of web servers. My recommendation applies even more to Elixir developers who are comfortable with Phoenix but want to learn more about how frameworks like it are designed and built.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.