Lunatech Research - IT consulting, product research and software development

English

Play framework content negotiation

Écrit par Peter Hilton le Mon, 2010-07-26 14:51

One thing that the Play framework has in common with other RESTful architectures is the direct use of HTTP functionality, instead of trying to hide HTTP or put an abstraction layer on top of it. This article shows you how to use HTTP content negotiation in a Play framework web application.

Lire

Literal data structures in Scala

Écrit par Bart Schuller le Mon, 2010-07-19 21:35

Here is an example of a striking difference in verbosity between Java and Scala. Some languages make it easy to concisely declare data structures in your code. Perl, Python, Ruby, PHP all do. Java doesn't.

Let's say you would like to maintain a simple lookup table in your code, to map from country code to country name. And to make it more interesting, let's say you want to have the country names in a couple of different languages.

Lire

À propos de Lunatech

Fondé en 1993, Lunatech Research propose du consulting TIC, de la recherche de produits et des équipes de développement. Sous la forme d’une équipe d’experts programmeurs auto-managés travaillant avec une équipe commerciale expérimentée.

Contactez-nous

Lunatech Research B.V.
Heemraadssingel 70
3021 DD Rotterdam, Pays-Bas.

Téléphone et email

Tél : +31 10 750 2600
Fax : +31 10 243 9902
Email : contact@lunatech.fr