Organize and serve page specific javascript in Phoenix

For Phoenix project with hundred of page, of which have many javascript functions for each page, here is my approach to manage all of them automatically

https://medium.com/@hoang_nguyen/organize-and-serve-page-specific-javascript-in-phoenix-with-webpack-47a24d169c03

Leibniz: Math expression parser and evaluator

Leibniz: Pure elixir math expression parser and evaluator. This project is also an entry point to some explorations on how leex and yecc can be used inside an elixir application to parse complex inputs to be able to build complex programs.

Page specific titles, meta and rel canonical tags in Phoenix

This episode, covers how to set page titles, page-specific meta information, page-specific rel canonical tags and page-specific anything you want in the HEAD tag of each page in your Phoenix app.

It’s not as simple to do as it is in Rails, but it’s absolutely crucial functionality if you’re building a CMS!

Alchemist Camp

geo 3.0.0 and geo_postgis 2.0.0

geo has been updated to 3.0.0

geo_postgis has been updated to 2.0.0

BuiltWithElixir.com is looking for your help

Hi Elixir fans,

I’ve been working on a website to showcase projects made with Elixir. The goal is this site is to show the types of projects being build with the Elixir language. Right now I have to follow various source to get this information so I decided to build a website to collect all of this. I want this site to inspire new and experienced Elixir developers and overall grow the community.

The site is still in early stages, I started it on Monday (April 9th), so I’m looking for feedback, feature requests, and just overall UI/UX improvements. I lunched the site early for several reasons:

  1. I want this project to be shaped by the community by your feedback and feature requests. Example, If we all agree likes/upvotes are useful then let’s build them.
  2. I didn’t want to build something with assumptions for months with features no one uses.
  3. I want to encourage other Elixir developers to contribute regardless of experience.

I encourage you to check out builtwithelixir.com. and provide any feedback here or Github.

Thank you!!

Listing multiple types of content in a page template

In this episode we make an index page that renders multiple types of content into one table.

Our CMS has Articles, Episodes and Resources, all of which can be tagged under a unified tagging system. We’ll make each tag link to a view of everything else that has been tagged with the same topic, regardless of whether those pieces of content are articles, episodes or resource links.

Elixir: Do you have HTTP requests? You are doing them wrong!

This article covers the situation with HTTP clients in Elixir community and give some suggestions about making HTTP requests.

Graceful 404 pages in Phoenix

https://youtu.be/XN66z26qsO4

Have you ever wanted to make a 404 page in your elixir app that included the common elements from your layout, like the header and footer? By default you can’t do this because you don’t have access to the conn (and for good reason).

Here’s a work-around, but use with care!

Pastry, library to turn maps and keyword lists to query strings.

I created a library that helped me parse options when doing HTTP requests, I sure could have used the URI module but this was practical for my needs.

https://github.com/aguxez/pastry

Looking at ExVenture's Supervision Tree

The other week I watched The Hitchhiker’s Guide to the Unexpected by Fred Hebert and the talk inspired me to write out ExVenture’s (a MUD server) supervision tree to check that everything seems right. This post goes into detail what’s in ExVenture’s supervision tree.

https://blog.oestrich.org/2018/04/looking-at-supervision-trees/

How To Test Asynchronous Text Changes with Hound and Phoenix

Writing asynchronous acceptance tests with Hound for Elixir and Phoenix can be difficult, especially if you are using a JavaScript framework like React, Vue.js, or Angular. Here are some solutions to workaround race conditions. How To Test Asynchronous Text Changes with Hound and Phoenix

Opening Registration and CFP for The Big Elixir conference, taking place on November 8-9 in New Orleans

Join us for The Big Elixir on November 8th and 9th in the heart of The Big Easy as fellow Elixir enthusiasts come together to teach, learn, and explore all things Elixir!

Ticket Registration is open as well as our call for papers for anyone interested in speaking.

Check out our site for all the details: https://www.thebigelixir.com

A Simple Search Form

Adding a simple search form to a Phoenix application with Ecto.

https://elixircasts.io/simple-search-form-with-phoenix

ueberauth_vk 0.3.0 version release

We have released a new version of ueberauth_vk. https://github.com/sobolevn/ueberauth_vk

This release is mainly a maintenance one. We have upgraded minimal elixir and dependencies versions.

Some minor bugs are also fixed.

Feedback about internal restructuring of Elixir JSON from 1.0 to 1.1

I would love some feedback on the overall restructuring I did from JSON 1.0 to 1.1!

https://hexdocs.pm/json/1.0.3/api-reference.html#content vs https://hexdocs.pm/json/1.1.0/api-reference.html#content

Thanks! Carlos

Release - ExSMS

Exsms: A Elixir library for sending transactional SMS

  • Sendinblue
  • mailjet
  • textlocal (India)

https://hex.pm/packages/exsms

https://gitlab.com/ahamtech/elixir/exsms

Currently benchmarking my JSON library and making it use Streams

Currently benchmarking my JSON library and making it use Streams of strings instead of parsing the binary in a tight loop.

This needs to improve: http://prntscr.com/j36svy

#performance #benchmarking #profiling

Announcing the ocv_photo_analyzer package

Using Elixir and OpenCV to analyze photo content with ocv_photo_analyzer.

https://nerves.build/posts/ocv_photo_analyzer

Building a JSON API with Phoenix 1.3 and Elixir

https://lobotuerto.com/blog/building-a-json-api-with-phoenix-and-elixir/

Do you have a Rails background?

Are you tired of looking at outdated or incomplete tutorials on how to build a JSON API using Elixir and Phoenix?

Then, read on my friend!

What we’ll do:

  • Create a new API-only Phoenix application —skip HTML and JS stuff.
  • Create a User schema module (model) and hash its password —because storing plain text passwords in the database is just wrong.
  • Create a Users endpoint —so you can get a list of, create or delete users!
  • CORS configuration —so you can use that frontend of yours that runs on another port / domain.
  • Create a Sign in endpoint —using session based authentication.

CouchDBEx release

I released a couchdb interface for elixir, it includes most basic things and support for subscribing to database changes

Github

It’s also on hex.pm as couchdb_ex

Previous page Next page