ndc magazine

Download NDC Magazine

Post on 24-Mar-2016

223 views

Category:

Documents

7 download

Embed Size (px)

DESCRIPTION

The 2nd issue of NDC Magazine 2014. Featuring articles written by speakers attending NDC Oslo 2014 in June.

TRANSCRIPT

  • F O R S O F T WA R E D E V E L O P E R S A N D L E A D E R S

    M A G A Z I N E

    CREATING YOUR OWN SKUNK WORKS

    NIALL MERRIGAN

    FLUENT APIS

    KEVIN DOCKX

    SPECIAL NDC ISSUE

    ACCELERATING WINDOWS STORE APP

    DEVELOPMENTDAVID BRITCH

    Add new dimensions

    to your algorithms

    using

    F# TYPE INFERENCEVAGIF ABILOV

    5 AUDIO TRICKSyou didn't knowbrowsers could do JORY PRUM

    NO 2/201

    4

    NORWEGIAN DEVELOPERS CONFERENCEOslo Spektrum, 4-6 JunePre-workshops, 2-3 June

  • 3The worlds first software engineering conference was held 46 years ago in Garmisch, Germany. At this conference the term "soft-ware crisis" was fi rst used. Software projects were run-ning over-budget and over-time, and in general did not meet expectations on qual-ity and functionality.

    That conference represents a turning point in our history. We wanted to run larger software projects, but their fail-ing seemed unavoidable. This started the search for ways to manage projects, smarter ways to structure code, bet-ter ways to do programming. Our outlook is better now, but our technology and expec-tations keep changing, and the problem identifi ed in 1968 will never completely be solved. Every time we start a new software project we take on the risk of failure. This is why conferences like NDC is so important. At NDC we bring together diverse experience from software pro-jects using many different methodologies and technolo-gies. Smart people get to present their view of what's working, and the community get to react and respond. As a developer you get to review years of experience in the course of just a few days - stuff you can take home to im-prove your own chance of implementing successful soft-ware projects.

    NDC 2014 will cover many different and vital topics. One I fi nd especially important is functional programming. The industry is fi nally admitting the value of FP, and this year you will have the opportunity to dig deep into two FP-technologies: The fi rst is F#, which has grown up and gives us a very powerful functional language on the .NET plat-form. The second is Erlang, which has proven its unique strengths in projects like CouchDB, RabbitMQ, WhatsApp, and Facebook's chat. There are other areas where we see a lot of change, like JavaScript. And NDC will bring you a lot of content and opinions about how to run successful JavaScript-based projects. There will be many talks related to DevOps, and emerging topics like "the Internet of things" are also cov-ered. However, the most important criteria for success in soft-ware engineering is not the technology. It's the people! Software is usually a team effort. That is why NDC also focus on how we communicate, how we collaborate, and how we motivate. I hope NDC 2014 will motivate you to improve your skills, and make it more likely that your pro-jects become a success!

    Best regards,

    Torbjrn Maraboutme.kjempekjekt.com

    NDC MAGAZINE 2-2014

    and meet your target group!For more information about advertisement, please contact Charlotte Lyng at +47 93 41 03 57 or charlotte@programutvikling.no

    Advertise in the NDC MagazineF O R S O F T WA R E D E V E L O P E R S A N D L E A D E R SM A G A Z I N E

    THE DEVELOPER REBRANDED AS NDC MAGAZINENO 1/2014

    TEACHING DEVELOPERS NEW TRICKS

    KAROLINE KLEVER

    FUNCTIONAL REACTIVE

    PROGRAMMINGMIKAEL BREVIK AND STIAN MLLERSEN

    SPECIAL FUNCTIONAL

    PROGRAMMING ISSUE

    THE POWER OF PARTIAL

    APPLICATIONSCOTT

    WLASCHIN

    CREATING RESPONSIVE UIS WITH F#RACHEL REESE

    WorkshopsPage 70

    COURSESSee descriptions

    Page 56

    F O R S O F T WA R E D E V E L O P E R S A N D L E A D E R S

    M A G A Z I N E

    CREATING

    From Crisis to Success

    NO

    RDIC ECOLABEL

    241

    Printing compan

    y

    672

    Member of Den Norske Fagpresses Forening

    Design: Ole H. StrksenUncredited images are from Shutterstock, except portraits.

    Print run: 11,000 Print: Merkur Trykk AS

    Editor: Kjersti Sandberg

    Marketing Manager: Charlotte Lyng

    Publisher: Norwegian Developers Conference AS. By Programutvikling AS. Organisation no.: 996 162 060Address: Martin Linges vei 17-25, 1367 Snarya, Norway. Phone: +47 67 10 65 65. E-mail: info@programutvikling.no

    Contents

    Kristoffer S

    unnset

    ARTICLES5 Audio Tricks ...................................................................................................... p. 4Creating your own Skunk Works ................................................. p. 8SonarQube as an Educational Platform ........................ p. 12Modern Web Front-End Architecture .............................. p. 18Accelerating Windows Store app development using Prism for the Windows Runtime ............................ p. 22Lets get physical ........................................................................................ p. 26FsCheck: smarter validation withProperty-based testing .................................................................... p. 30A Few Words on Fluent APIs ....................................................... p. 34The technical depth and breadth ofan Architect ........................................................................................................ p. 40Add new dimensions to your algorithmsusing F# type inference .................................................................. p. 42Code Club for Juniors ............................................................................ p. 48OpenID Connect: Unifying Authenticationand Delegated API Access .............................................................. p. 50

    COURSESCourse overview .......................................................................................... p. 54

    NDC 2014The NDC Agenda Committee ...................................................... p. 58Entertainment and food .................................................................... p. 62Oslo - the capital of Norway ......................................................... p. 66Meet the user groups at NDC community .................. p. 70Pre-conference workshops ........................................................... p. 74Program Wednesday - Friday ....................................................... p. 76

  • 4A lot has changed since the days of NCSA Mosaic. Color, good design, separating style from structure, and appli-cations have come to the web over the past two decades. Developers have seen the era of plugins come and go, bring-ing with them the ability to animate, to provide rich expe-riences with modern typography, and leaving us enriched with radically improved user experiences. Only two years ago, however, one major aspect was almost completely left behind: audio.

    Sure, HTML5 brought with it the element for play-back and some control over how playback worked and looked. But too many aspects of were left up to browsers to determine. For example, iOS will only play a single channel at a time and will not play any sound until the user taps on something, making it impossible to use to create user interface or other sound effects for applications and games.

    Fortunately, the Web Audio API began to gain momentum in mid-2012 and is now supported in most browsers today. Web Audio API gives developers considerable capabilities with playback, manipulation, and even synthesis of sound. With support in Chrome, Safari 6+, iOS 6 and newer, Fire-fox, Opera, Chrome for Android, and more, Web Audio API is here to stay and provides powerful abilities most develop-ers aren't aware of yet. So without further delay, here are fi ve audio abilities you probably didn't know your browser could do!

    I began in web development way back in February 1995. That's long enough to remember the days when web pages could only be grey, links were blue or purple, pictures as links always had a border around them, and there was no video or audio on a page. Oh, and all code had to be hand-written... from scratch!

    5

    Avesun /Shutterstock

    By Jory K. Prum

    5 Audio Tricks You Didn't Know Browsers Could Do

  • 76

    1. VISUALIZING AUDIOAudio is a mystery to most people. It's something that just happens around them without their awareness; they only know of its existence if something is out of place. One way people become more aware of sound is if it is translated into something visual. One of iTunes' most popular fea-tures has always been the visualizer, and there's nothing more useful to an audio professional than audio meters and spectral analysis. Using the Web Audio API, it is possibile to create all kinds of interesting visualizations of sound, from an oscilloscope representation to complex spectral drawings, all in realtime! Two outstanding examples of audio visualization are provided by Stuart Memo and Jos Dirksen. Memo has a library called Wavy Jones that uses to create an oscilloscope and is incredibly simple to include in a project. [ https://github.com/stuartmemo/wavy-jones ] Dirksen's example goes much further, provid-ing multiple styles of visualization, including realtime peak meters, multi-frequency meters, and spectral graphing. [ http://www.smartjava.org/content/exploring-html5-web-audio-visualizing-sound ]

    2. SURROUND PLAYBACKDid you know you can play 5.1 audio from a browser? Not many do! Chrome for Desktop has supported this for a while, both in the element and using Web Audio API. Radio France even broadcasts many programs in surround and bin-aural streams! [ http://nouvoson.radiofrance.fr/paysage-sonore/am-i-berlin?format=5.1 ] Implementing surround

    audio output is surprisingly easy and I have a working exam-ple with code available for you to try out that plays back a 5.1 Ogg