Links

Elixir: A modern approach to programming for the Erlang VM

Elixir is a programming language built on top of the Erlang VM. As Erlang, it is a functional language built to support distributed, fault-tolerant, non-stop applications with hot code swapping.

Elixir is also dynamic typed but, differently from Erlang, it is also homoiconic, allowing meta-programming via macros. Elixir also supports polymorphism via protocols (similar to Clojure's), dynamic records and provides a reference mechanism.

Finally, Elixir and Erlang share the same bytecode and data types. This means you can invoke Erlang code from Elixir (and vice-versa) without any conversion or performance hit. This allows a developer to mix the expressiveness of Elixir with the robustness and performance of Erlang.

Code

http://elixir-lang.org/
http://elixir-lang.org/getting_started/1.html
https://github.com/elixir-lang/elixir

Filed under  //   clojure   elixir   erlang   opensource  
Posted March 2, 2012 by email 

Erlson: Erlang Simple Object Notation

Erlson is a dynamic name-value dictionary data type for Erlang.

Erlson dictionaries come with a convenient syntax and can be directly converted to and from JSON.

Iddcfihd

https://github.com/alavrik/erlson

Filed under  //   erlang   json   serialization  
Posted November 21, 2011 by email 

Meck: mocking library for Erlang

With meck you can easily mock modules in Erlang. You can also perform some basic validations on the mocked modules, such as making sure no unexpected exceptions occurred or looking at the call history.


Features

* Automatic renaming and restoration of original modules
* Automatic backup and restore of cover data
* Changing return values using sequences and loops of static values
* Pass through: use functions from the original module
* Mock is linked to the creating process (disable with|nolink|)
* Complete call history showing calls, results and exceptions
* Mocking of sticky modules (using the option|unstick|)
* Throwing of expected exceptions that keeps the module valid

https://github.com/eproxus/meck/

Filed under  //   erlang   github   mock   opensource   testing  
Posted July 26, 2011 by email 

CEAN: Comprehensive Erlang Archive Netwrk

It is a user level web and erlang tool that:

* provides erlang contributed code and applications, pre-compiled for many supported platforms.
* allows web searching of available packages, and allows direct use with erlang shell.
* helps you to keep your erlang system up-to-date, and to manage installed/available packages.
* helps you to install erlang on production systems without need of compilation.


http://cean.process-one.net/

Filed under  //   archive   cean   erlang   repository  
Posted July 21, 2011 by email 

Lager: logging framework for Erlang/OTP

Lager (as in the beer) is a logging framework for Erlang. Its purpose is to provide a more traditional way to perform logging in an erlang application that plays nicely with traditional UNIX logging tools like logrotate and syslog.

http://blog.basho.com/2011/07/20/Introducing-Lager-A-New-Logging-Framework-fo...
https://github.com/basho/lager

Filed under  //   erlang   framework   library   logging   opensource   otp  
Posted July 21, 2011 by email 

ibrowse: Erlang HTTP client

ibrowse is a HTTP client. The following are a list of features.
- RFC2616 compliant (AFAIK) - supports GET, POST, OPTIONS, HEAD, PUT, DELETE, TRACE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, MOVE and COPY
- Understands HTTP/0.9, HTTP/1.0 and HTTP/1.1
- Understands chunked encoding
- Can generate requests using Chunked Transfer-Encoding
- Pools of connections to each webserver
- Pipelining support
- Download to file
- Asynchronous requests. Responses are streamed to a process
- Basic authentication
- Supports proxy authentication
- Can talk to Secure webservers using SSL
- any other features in the code not listed here :)

ibrowse is available under two different licenses. LGPL or the BSD license.

https://github.com/cmullaparthi/ibrowse

Filed under  //   client   erlang   http   opensource  
Posted June 30, 2011 by email 

Zotonic: Open source Erlang CMS

Zotonic is the content management system for people that want a fast, extensible, flexible and complete system for dynamic web sites. It is built from the ground up with rich internet applications ánd web publishing in mind.

·         Solid programming language

Zotonic is programmed in Erlang, a language made for fast, non-stop, fault-tolerant applications. Ideal to build high load, never break websites in.

·         Open Source front-end stuff

Builds on jQuery and the CSS framework Atatonic.

·         Flexible datamodel

Define your own data categories and relations.

·         Open Source

Zotonic is available under the Apache License 2. It's our way to say thanks to the giants on who's shoulders we stand.

·         MVC

Complete separation of model, view and controller has been a best practice for building websites a long time. We embrace MVC and many more best practices to make it easy for you to use the power of Zotonic.

·         Modular

Easy to extend and change existing functionality.

·         Speed

Typically 10 times (and much more) faster than PHP content management systems.

·         WebSockets and Comet

Push content to the browser with the built-in WebSockets and Comet support.

·         Template Language

We took the ease and power of the Django templating system, added some extra design freedom and gave it raw speed.

·         Proven and powerful database

PostgreSQL is the most advanced open source object-relational database system. We choose it for its power, speed and maturity.

·         Keep it real

Made to make real life web sites.

·         Pluggable Access Control

Interchangeable access control modules for different situations.

·         Built by people with loads of experience 

Made by experienced people with deep understanding of CMS, web- and system design.

·         Event driven

Event driven AJAX web applications without the Javascript pain.

Filed under  //   apache   cms   erlang   oss   web  
Posted December 3, 2010 by email 

Learn You Some Erlang

Nicely illustrated guide to Erlang for beginners:

Example: What is OTP

http://learnyousomeerlang.com/what-is-otp

http://learnyousomeerlang.com/content

(download)

Filed under  //   erlang  
Posted November 5, 2010 by email