shankardevy

shankardevy

A new book on Phoenix 1.3 is getting ready!

You can read a sample section today!

http://shankardevy.github.io/code/create-elixir-web-app-using-cowboy/

In this post, I go into details of how to create a web app in Elixir using Cowboy server. Though it might look unrelated to a book on Phoenix, it’s very much related on the contrary. Understanding how Cowboy works and to start using it in your Elixir app goes a long way into understanding many of the concepts of Phoenix. It also helps you to trust and appreciate the design of Phoenix framework.

Showing Posts 1 to 7

AstonJ

AstonJ

Nice to see another book in the works :023:

If the book follows the same format as your post it should be pretty good - I like how you walk through everything fully and clearly.

What topics will you cover altogether? Are you self publishing? How many pages do you expect it to be around?

shankardevy

shankardevy OP

Thanks AstonJ for your comments.

The book is self-published.

Number of pages: Not sure. Also I believe it depends on how the layout/format is being done. But in general, it should be comparable to the size of Programming Phoenix or Rails Tutorial.

Topics are not fully finalised and written. But the approach I have taken is

  1. I am addressing only people who are already familiar with MVC and have worked with frameworks like Rails. This helps me to avoid explaining what MVC or basic stuffs around MVC.
  2. I follow the method of full immersion like how many (human) language learning app is designed. I show you the code even before explaining it and give you a chance to decipher for yourself before I start explaining each of them.
  3. I focus on getting a wholesome knowledge on Phoenix from reading this book. By wholesome I mean, a Rails dev picking up this book should feel comfortable to read minimal Elixir required for working with Phoenix, understand Phoenix/Plug magics, know the basics of Brunch and asset management, server requirements and deployment.
shankardevy

shankardevy OP

As part of my book on Phoenix 1.3, I have published a code repo demonstrating a minimal rebuild of Phoenix to understand various components of Phoenix, Plug, Cowboy.

For details visit Building a Slim Phoenix

Direct link to GitHub repo Slim Phoenix

The repo doesn’t have a lot of code explanations (that comes in the book). However, any curious mind can quickly go through the commit history and see what is happening.

As always, feedbacks are more than welcome

love,
Shankardevy

idi527

idi527

Maybe rename put_res_* functions to put_resp_* for clarity?

shankardevy

shankardevy OP

yep, I will change it :wink: Good catch.

voger

voger

Do you have any estimation when it will be available?

shankardevy

shankardevy OP

I am planning to release by this month end. But can get delayed if things don’t work as planned. Also most of the topics covered are different from what Programming Phoenix covers to avoid overlaps.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New
AstonJ
This might be a bit disturbing for some but it’s happening - computers running on living human neurons. They’ve made them smart enough t...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews