Download Introducing Erlang by Simon St. Laurent PDF

By Simon St. Laurent

Simon St. Laurent, "Introducing Erlang" English | ISBN: 1449331769 | 2013 | writer: O’Reilly Media | PDF | 202 pages | 7 + three MB

If you’re new to Erlang, its sensible variety can appear tricky, yet with aid from this hands-on creation, you’ll scale the training curve and notice how stress-free, strong, and enjoyable this language can be.

Author Simon St. Laurent indicates you ways to write down easy Erlang courses through instructing you one uncomplicated ability at a time. You’ll find out about trend matching, recursion, message passing, process-oriented programming, and constructing pathways for info instead of telling it the place to move. by means of the tip of your trip, you’ll comprehend why Erlang is perfect for concurrency and resilience.
Get comfortable with Erlang’s shell, its command line interface
Become conversant in Erlang’s simple buildings via operating with numbers
Discover atoms, trend matching, and guards: the principles of your application structure
Delve into the guts of Erlang processing with recursion, strings, lists, and higher-order functions
Create methods, ship messages between them, and observe trend matching to incoming messages
Store and control established information with Erlang time period garage and the Mnesia database
Learn approximately Open Telecom Platform, Erlang’s open resource libraries and instruments

Show description

Read or Download Introducing Erlang PDF

Best development books

Ajax: The Definitive Guide

Is Ajax a brand new expertise, or the standard stuff internet builders were utilizing for years? either, truly. This booklet demonstrates not just how tried-and-true internet criteria make Ajax attainable, yet how those older applied sciences let you supply websites a decidedly smooth net 2. zero feel.

Ajax: The Definitive advisor explains easy methods to use criteria like JavaScript, XML, CSS, and XHTML, besides the XMLHttpRequest item, to construct browser-based internet functions that functionality like machine courses. You get a whole history on what is going into today's sites and functions, and learn how to leverage those instruments in addition to Ajax for complex browser looking, net companies, mashups, and extra. you find tips on how to flip an internet browser and site right into a actual software, and why constructing with Ajax is quicker, more straightforward and cheaper.

The publication additionally explains:
* tips on how to attach server-side backend elements to consumer interfaces within the browser
* Loading and manipulating XML records, and the way to interchange XML with JSON
* Manipulating the rfile item version (DOM)
* Designing Ajax interfaces for usability, performance, visualization, and accessibility
* web site navigation structure, together with concerns with Ajax and the browser's again button
* including existence to tables & lists, navigation packing containers and home windows
* Animation construction, interactive varieties, and knowledge validation
* seek, internet prone and mash-ups
* employing Ajax to enterprise communications, and growing web video games with no plug-ins
* some great benefits of modular coding, how you can optimize Ajax functions, and extra
This ebook additionally offers references to XML and XSLT, renowned JavaScript Frameworks, Libraries, and Toolkits, and diverse internet carrier APIs. by means of providing internet builders a wider set of instruments and ideas, Ajax provides builders a brand new option to create content material on the internet, whereas throwing off the restrictions of the earlier. Ajax: The Definitive advisor describes the contents of this designated toolbox in exhaustive element, and explains easy methods to get the main out of it.

Signal Transduction and the Coordination of B Lymphocyte Development and Function I: Transduction of BCR Signals from the Cell Membrane to the Nucleus

Right improvement and differentiation of B lymphocytes is es­ sential to make sure that an organism has the facility to mount an efficient humoral immune reaction opposed to overseas antigens. The immune approach needs to keep a stability among the deletion of destructive self-reactive B cells and the iteration of a various rep­ ertoire of B cells that has the facility to acknowledge a virtually un­ restricted array of overseas antigens.

Atlas of Human Hemopoietic Development

Up to now two decades, celJ biology has made sizeable strides that have thoroughly reworked the prevalent morphological hematology of the day before today. This development is basically as a result creation of latest thoughts which permit sensible instead of anatomic stories: labeling suggestions have made attainable the examine of celJ kinetics from delivery to demise of a celJ: tradition options (both in vivo and in vitro) have made it attainable to set up the progeny of definite stern celJs, their development poten­ tiaL and the mechanisms in their rules.

Extra resources for Introducing Erlang

Sample text

Logic Inside of Functions | 43 The catchall approach works in cases where you only want to test for a subset of cases among a complicated set of possibilities. In cases as sim‐ ple as this example, however, it’s probably cleaner to create a more ex‐ plicit test. The function produces an extra result—the message—when the distance is large enough (and the planemo’s gravity strong enough) to produce a velocity faster than 40 meters per second: 1> c(drop). {ok,drop} 2> drop:fall_velocity(earth,10).

2012. 1 -module(drop). -export([fall_velocity/1]). 8 * Distance). erl"], [{dir, "doc"}]). ok You’ll now have a collection of files in the doc subdirectory. html in a browser, you’ll see something like Figure 2-1. Documenting Code | 21 Figure 2-1. ” How‐ ever, unless you have a complex story to tell about your module as a whole, it’s likely that the core of the documentation will appear at the function level. Documenting Functions The drop module contains one function: fall_velocity/1. You probably know that it takes a distance in meters and returns a velocity in meters per second for an object dropped in a vacuum on Earth, but the code doesn’t actually say that.

Import(convert, [mps_to_mph/1]). height_to_mph(Meters) -> mps_to_mph(fall_velocity(Meters)). Defining Modules | 19 For now, it’s probably best to know about the -import directive so you can read other people’s code, but not to use it unless you just can’t resist. It can make it harder to figure where bugs are coming from, which may cost you more time than the extra typing. Erlang includes one other directive that’s similarly convenient but not best practice to use: -compile(export_all). That directive tears down the module wall, making all functions available for external calls.

Download PDF sample

Rated 4.67 of 5 – based on 20 votes