Simplicity

Compose modern web apps with
efficient tiny frameworks & tools
       Rui Carvalho/@rhwy
Thanks to the sponsors
Web
Patterns
   Tools Frameworks
Less Pain
     &&
   Get the
Control back!
Background


       “Should I really care?”
The nature
of the Web
    “ how desktop techniques doesn’t
       fit interconnected application
                   needs ”
The web is documents
          …
The web is not objects
The Domain
 Problem
    “ how humans need to talk more”
Customer needs ‘Foo’
…You think schema ‘Bar’
…Don’t think schema
too hard…
Over engineered?
Hexagonal, Onion?
Concrete
Application?
I misunderstood


 “Architecture is about an intent, it’s not
 about a technical framework”
Node
So, what is
Responsive
Cross Media
Patterns of Modern
 Web Applications
SPA*


       *Single page application
              (ie : gmail)
SPA
SPAA
REST
         “Your API
       Is your APP”
REST
Tools!
     (for what?)
Get the shell
   back!
Curl
Everything you need to test your app is here!

              -X [GET|POST…]
              -I (include headers)
              -d key=value
Nuget
Package management is essential

Enterprise grade => build your own

Quite multi-platform
Nuget
           (for Mac lovers)




curl http://nuget.org/nuget.exe -L -k -o nuget.exe


#!/bin/sh
PATH=/usr/local/bin:$PATH
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $*
(nuget powered)

Chocolatey
@powershell -NoProfile -ExecutionPolicy
unrestricted -Command "iex ((new-object
net.webclient).DownloadString('http://bit.ly/psChoc
Install'))" && SET
PATH=%PATH%;%systemdrive%chocolateybin



> Cinst ruby
See what
 append
  (live)
Chrome dev tools
Editors
       Webstorm

    Chose a good tool also for the client side!
Online web editors

Jsfiddle.com   Jsbin.net   Plnkr.co   Codepen.io




                  C9.io
Frameworks!
Frameworks ?
Frameworks ?
OSS ?
    oss projects -most of the time-
    fits real user needs


    tiny oss projects usually fit
    one need, but do it well.
jQuery
jQuery
Angular


     Html enhanced for web apps!
Angular
Less css


           dotLess for .Net
Nancy fx
RavenDB
Simple.Data
SignalR


          (Socket.io like framework for .Net)
So what?
“if you don’t love it, it gonna fail!”
    “stay foolish, stay hungry”
                                Jobs
Get more
  Fun
Please rate this session
Scan the code, go online, rate this session
All sketches are by me – with the
 help of the fabulous iPad application
Paper by 53 – and can be reused under
    The creative commons licence

Simplicity - develop modern web apps with tiny frameworks and tools

Editor's Notes

  • #34 (-L : follow redirects, -k: unsecure)#!/bin/shPATH=/usr/local/bin:$PATHmono --runtime=v4.0 /usr/local/bin/NuGet.exe $*