Repeating History...on Purpose...with Elixir
Presentation from Upstate Elixir on Nov 16th
http://www.slideshare.net/barrywjones3/repeating-historyon-purposewith-elixir
Sphinx - Phoenix Authorization library
Authorization library inspired by Cancan, Canary, and others: https://github.com/almassapargali/Sphinx
Sharing and Reusing Callback Functions
Sharing and Reusing Functions in Elixir is easy. Unless its a Callback.
How to deploy Phoenix on AWS Elastic Beanstalk, Docker, CodePipeline
A simple example of Phoenix application deployment on AWS Elastic Beanstalk using Docker and CodePipeline
[GitHub repository] https://github.com/zepplock/hello_phoenix_ebs_docker_codepipeline
A Look Through the Changelog.com Phoenix App Source Code
Changelog.com recently open sourced the Phoenix application that provides the backend for their website and podcast publishing platform. I took a look through it, and made some notes about the interesting parts.
Connecting elixir containers, with DNS-based discovery
Deploying containerized applications is easy enough nowadays. But connecting them to each other can be a pain point. I dive into how to connect elixir containers with the ‘Peerage’ library, using dns-based discovery that Kubernetes, Flynn and others already provide.
Basic Meteor Authentication in Phoenix
Check out this dive into Meteor-style authentication and how to do basic integration with Meteor Accounts in an Elixir application.
Testing Phoenix Views
Because functions like link
and content_tag
don’t return strings, but return tuples of :safe
and an IO list I was confused about how to write tests for my code that uses them. I describe how I learned how to test view code using those functions in Testing Phoenix Views.
Proquint : An elixir package that converts ids to proquints, Identifiers that are Readable, Spellable, and Pronounceable
An elixir package that converts ids to proquints, Identifiers that are Readable, Spellable, and Pronounceable https://github.com/minhajuddin/proquint
Build Your Own Real-Time Web Service with Elixir/Phoenix: Assenty Show and Tell
I recently shared how to build your own real-time web service with Elixir/Phoenix at Manchester Lambda Lounge. Here come the slides.
deep_merge 0.1.0 - deeply (recursively) merge maps, keywords and more!
deep_merge is a ew library to deep (recursive) merge maps and keyword lists and your own structs/types through protocols or you can modify merging behavior through an optional function as an argument.
You can find it on github, hex and hexdocs. I also wrote a small release blog post detailing how the library came to be after trying to get deep_merge into elixir.
ElixirStatus tweeted 1,000 times
This post triggered ElixirStatus’ 1000th tweet. Shortly, we - as a community - will reach 3,000 followers on Twitter alone and ElixirWeekly, our newsletter, is growing double digits as well.
These are amazing times to be an Alchemist :D
html_sanitize_ex v1.1.0 released
I just released v1.1.0
of html_sanitize_ex, which includes a new scrubber. Use HtmlSanitizeEx.markdown_html/1
to sanitize HTML generated by a Markdown parser.
This was tested on elixirstatus.com for the last two weeks by depending on v1.1.0-rc1
. Please report any bugs I might have overlooked!
NoSQL Injection in Phoenix Applications
Using MongoDB with Elixir/Phoenix? Watch out for NoSQL injection vulnerabilities!
Shield OAuth2 Provider / Swagger Documentation
Added swagger documentation for shield oauth2 provider package. https://github.com/mustafaturan/shield/blob/master/swagger.yml
Custom types in Elixir
Custom types are very nice feature of Elixir. So, I wrote short post how to work with it.
Post is in Polish language, but you could use Google Translate button.