FIAR

Four in a Row

A game to learn Erlang.

The game.

- Two players

- By turns

About Me.

And how it helped me to understand some more about Erlang, OTP, concurrency and other technologies.

- Web developer

- From the object's world

- Concurrency?

Some topics that you can find in FiaR

  • Modules and functions
  • SSE
  • Basic Erlang Structures
  • Pattern Matching
  • gen_server
  • Supervisor structure
  • Application Module
  • Data persistence with sumo_db
  • Basic RESTful API
  • Authentication

Basic structure

config/
deps/
ebin/
logs/
priv/
src/
 - ppool.erl
 - ppool_sup.erl
 - ppool_supersup.erl
 - ppool_worker_sup.erl
 - ppool_serv.erl
 - ppool_nagger.erl
test/
 - ppool_tests.erl

- Simple

- Customizable

Tests

- Simple

-Transparent

Work with Process

- My first contact

Supervisor

allowed me to meet and work with one of the most useful parts of OTP

Sumo_DB

- Simplicity

- Customizable implementation

- Self-created

- Sumo events

Server-Sent Events

- SSE?

- Great for Erlang (lasse)

- Great for FiaR

- But it doesn't support custom headers

the project allowed me to have my first contact with the concurrent programming, using tools and technologies commonly used in many projects, to become familiar with the methodology of work of the company, and, at the same time, have fun while creating a game.

Summary

Tanks to the team!

END.

Copy of FIAR

By euen

Copy of FIAR

  • 482