Elixir Blog Posts

True, but if I’d only hide it, I’d push the parsed Markdown to the hidden view on every change to the textarea, I believe. So, I just opted for the simplest way :slight_smile:

Just for the editor. When you go from preview back to edit mode, the editor’s content won’t have changed.

Thanks for the recommendation of efx! I hadn’t seen that library announced elsewhere and it looks like a very interesting addition to testing/mocking options. I like how it makes it explicit which functions require side-effects (since they need to be declared with defeffect ).

1 Like

I created a blog and naturally wrote it in Elixir. Blogs need RSS feeds, and while there are libraries to create feeds for you, I thought it would be more fun to write it myself. Naturally, I documented it on my blog.

Creating an RSS Feed with Elixir and Phoenix

5 Likes

I suggest to keep description as a plain text summary and to put html content in content:encoded tag. See this for example:

http://udn.realityripple.com/docs/Archive/RSS/Article/Why_RSS_Content_Module_is_Popular_-_Including_HTML_Contents

I put full article in content:encoded for my blog even. Most feed readers can deal with MBs long feeds and my readers can see the full content without doing anything.

1 Like

Your post about Phoenix project layout is great!

1 Like

I wrote a bit of a rambling post about implementing a breakout clone in Elixir. For what it’s worth, there’s a post about the implementation itself as well.

2 Likes

How to efficiently manage multiple clients within a single application? Or how to keep different users’ data isolated while still leveraging shared resources?
Enter multi-tenancy!

How does AI “speak” and “understand”?
Check our latest blog to learn all about language modeling—the technology behind how AI interprets and generates human language.

Over the weekend I finished an article on how to create Elixir powered WordPress plugin using LiveState:

4 Likes

Have you ever wondered about the word use in use GenServer?

I wrote an article explaining how the use macro works and how to build modular and reusable systems: Understanding use and __using__ in Elixir | Doofinder Tech

use macro in Elixir

5 Likes

I wrote an article on how to cache A/B tested pages with plug_http_cache: A/B testing and HTTP caching with plug_http_cache

4 Likes

And another one about caching Liveviews (part 1): Caching Liveviews - Part 1: The road to HTTP-caching Liveviews - Tangui's blog

2 Likes

I really like the post @njwest. The approach is great and really well explained!

Congrats!

1 Like

This is a bit of a late, but this is such a good post - easy to follow along, and does a good job explaining WHY something is needed. I enjoyed writing out the code.

2 Likes

I wrote a bit on the layers powering phoenix real time communication capabilities:

11 Likes

I wrote up a few things I’ve learned from using mnesia in an app Mnesia Tips for Elixir Developers | Silbernagel.Dev

4 Likes

Wrote this up yesterday about your options for running code on Nerves. Hope it is helpful to someone or helps make people less nervous (hehe) about available options:

3 Likes