shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

261
active users

#ecto

0 posts0 participants0 posts today
Pragmatic Bookshelf 📚<p>Thrilled to offer our newest distribution title: Northwind Elixir Traders by Isaak Tsalicoglou</p><p>Not your typical programming tutorial. This immersive, project-based adventure reimagines the classic Northwind database, guiding you through Ecto’s migrations, changesets, and queries to model data with real-world edge. </p><p><a href="https://pragprog.com/titles/d-itnet?utm_source=m" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">pragprog.com/titles/d-itnet?ut</span><span class="invisible">m_source=m</span></a><br><a href="https://techhub.social/tags/Ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ecto</span></a> <a href="https://techhub.social/tags/ElixirLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElixirLang</span></a> <a href="https://techhub.social/tags/Elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Elixir</span></a> <a href="https://techhub.social/tags/SQLite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQLite</span></a></p>
Bonfire<p>Needle also comes with two other homegrown libraries: needle_ulid which provides a ULID datatype for Ecto (using ex_ulid) and related helpers, and exto which enables extending Ecto schema definitions in config (especially useful for adding Mixin associations to different schemas)…<br>---<br>📣 🏴‍☠️ Camp! expedition: We have some&nbsp;open bounties&nbsp;to improve bonfire performance :<br>Read more: <a href="https://indieweb.social/@bonfire/112943944096656953" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">indieweb.social/@bonfire/11294</span><span class="invisible">3944096656953</span></a><br>Repository: <a href="https://github.com/bonfire-networks/bounties" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/bonfire-networks/bo</span><span class="invisible">unties</span></a><br><a href="https://indieweb.social/tags/ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ecto</span></a> <a href="https://indieweb.social/tags/myElixirStatus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>myElixirStatus</span></a> <a href="https://indieweb.social/tags/elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elixir</span></a><br>6/6</p>
Bonfire<p>Besides regular schemas with universal foreign keys (Pointable), Needle provides Virtual for schemas that don’t have any fields on their own, and Mixin for storing common fields that can be re-used by multiple Pointables or Virtuals (eg. if you have multiple types that all have a name/description/body, they can share those and optionally the associated changesets and other logic).</p><p><a href="https://indieweb.social/tags/ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ecto</span></a> <a href="https://indieweb.social/tags/myElixirStatus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>myElixirStatus</span></a> <a href="https://indieweb.social/tags/elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elixir</span></a></p><p>5/6</p>
Bonfire<p>But what if you don’t just have posts that can be liked, but also videos, images, polls, etc, each with their own table, but probably do not want to have to add liked_video_id, liked_image_id, ad infinitum?</p><p>We needed the flexibility to have a foreign key that can reference any referenceable object. We call our system Needle.</p><p><a href="https://indieweb.social/tags/ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ecto</span></a> <a href="https://indieweb.social/tags/myElixirStatus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>myElixirStatus</span></a> <a href="https://indieweb.social/tags/elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elixir</span></a><br>4/6</p>
Bonfire<p>A simple example would be a blogging app, which might have a post table with author field that references the user table.</p><p>A social network, by contrast, usually requires a graph of objects, meaning objects need to be able to refer to other objects by their ID without knowing their type.</p><p>A simple example would be likes, you might have a likes table with liked_post_id field that references the post table.</p><p><a href="https://indieweb.social/tags/ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ecto</span></a> <a href="https://indieweb.social/tags/myElixirStatus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>myElixirStatus</span></a> <a href="https://indieweb.social/tags/elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elixir</span></a><br>3/6</p>
Bonfire<p>Needle is an <a href="https://indieweb.social/tags/elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>elixir</span></a> library that we have developed to provide universal foreign keys, shared data fields, and virtual &amp; configurable schemas for Ecto.</p><p>🔗 Read the docs: <a href="https://hexdocs.pm/needle/readme.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">hexdocs.pm/needle/readme.html</span><span class="invisible"></span></a><br>💬 Join the discussion on Elixir Forum: <a href="https://elixirforum.com/t/needle-universal-foreign-keys-shared-data-fields-virtual-and-configurable-schemas-for-ecto/65644" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">elixirforum.com/t/needle-unive</span><span class="invisible">rsal-foreign-keys-shared-data-fields-virtual-and-configurable-schemas-for-ecto/65644</span></a></p><p><a href="https://indieweb.social/tags/ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ecto</span></a> <a href="https://indieweb.social/tags/myElixirStatus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>myElixirStatus</span></a><br>1/6</p>
Maikel 🇪🇺 🇪🇸<p>I need someone to point me to a proper guide of ECTO, the online official guides are complete but too terse, too few examples. </p><p><a href="https://vmst.io/tags/Elixir" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Elixir</span></a> <a href="https://vmst.io/tags/Ecto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ecto</span></a> <a href="https://vmst.io/tags/databases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databases</span></a></p>