Erlang/OTP sample projects
Erlang Shell Batchfile Python Emacs Lisp C Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
art
cassandra
cdrv
configs
data
et
gis
mnesia-dat
mnesia
mysql
otp
otp14b
rbt
rbtc
ts
utils
ws
.gitignore
README.rst

README.rst

erl-tutorials

About

erl-tutorials is a set of sample codes whose main purpose is to teach and guide various aspects of erlang programming...

Setup

Dependencies:

CentOS:
sudo yum install make gcc gcc-c++ kernel-devel m4 java-1.7.0-openjdk-devel sudo yum install freeglut-devel wxGTK-devel openssl-devel unixODBC-devel ncurses-devel tk fop
Ubuntu:
sudo apt-get install freeglut3-dev libwxgtk2.8-dev g++ libssl-dev unixodbc-dev tk8.5 libncurses5-dev fop xsltproc

Compilation:

./configure --enable-threads --enable-smp-support --enable-kernel-poll --disable-hipe --with-ssl --enable-halfword-emulator

Projects

TS

  • ts (tcp servers README)
  • ts1 (basic tcp server)
  • ts2 (basic tcp server using prim_inet:async_accept [based on thrift_server.erl])

WS

  • ws (web services README)
  • ws1 (inets web service)

GIS

  • gis (gen_server and gen_fsm README)

MySQL

  • mysql (MySQL client gen_server README)

Port Driver

  • cdrv (C Port Driver gen_server README)

Trader

  • et (Trader gen_server README)

RBT

  • rbt (RBT rebar README)

Dependencies

  • Erlang/OTP

Author

Ivan Ribeiro Rocha <ivan.ribeiro@gmail.com>

Copyright and License

Copyright 2012 Ivan Ribeiro Rocha

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.