shankardevy

shankardevy

My upcoming Phoenix book

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.

Most Liked

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

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

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

Where Next?

Popular in Discussions Top

andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
New
sashaafm
I’m trying to evaluate the best combo/stack for a BEAM Web app. Right now I’m exploring Yaws a bit, after having dealt with Phoenix for a...
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New
crispinb
On reading dhh’s latest The One Person Framework it strikes me that Phoenix with LiveView is already pretty much this. However, never hav...
New
mmport80
I have put far too much effort into Dialyzer over the last year or so - and basically - I doubt it’s worth the effort. It’s not as easy ...
New
ricklove
I was just introduced to Elixir and Phoenix. I was told about the 2 million websocket test that was done 2 years ago. From my research, t...
New
RudManusachi
What configs will make sense to put to runtime.exs? – A bit of how I configure apps: I have generic configs in config/config.exs, dev...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
sashaafm
Piggy backing a bit on @dvcrn topic BEAM optimization for functions with static return type?, I’ve been trying to understand in a deeper ...
New

Other popular topics Top

axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48342 226
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52673 488
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127089 1222
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement