Nancy FX - web development framework for rest of us

Nancy FX - web development framework for rest of us

Nancy FX - web development framework for rest of us

The speech I gave on Kiev ALT.NET

F32f547e66f3b6528376d67fdb67008f?s=128

Alexander Beletsky

February 24, 2012
Tweet

Transcript

  1. 8.

    “ Nancy is a lightweight, low- ceremony, framework for building

    HTTP based services on .Net and Mono. The goal of the framework is to stay out of the way as much as possible and provide a super-duper-happy- path to all interactions. “
  2. 9.

    Micro Micro Framework Framework Minimum functionality Minimum functionality Minumum dependenices

    Minumum dependenices Minumum configurations Minumum configurations
  3. 10.

    NuGet Driven NuGet Driven Development Development Core is almost “useless”

    Core is almost “useless” Features by NuGet packages Features by NuGet packages Adopting ruby Gem's approach Adopting ruby Gem's approach
  4. 11.

    Super-duper- Super-duper- happy-path happy-path Kind of philosofy behind the Nancy

    FX Kind of philosofy behind the Nancy FX “ “It just works”, “It is easy”, “Low friction” It just works”, “It is easy”, “Low friction” You have pleasure and fun You have pleasure and fun
  5. 12.
  6. 13.

    Modules primary Nancy concept • Inherited from NancyModule • Root

    to the root • HTTP handlers in constructor
  7. 14.

    Routes method + pattern • GET, POST, PUT, DELETE •

    Literal, Capture, RegExp • Built in runtime
  8. 16.

    Views renders the model • Different view engines • HTML,

    Razor, Spark, SuperSimple • Selected on runtime
  9. 18.

    Bootstrapper DSL on top of IoC • Mythical unicorn •

    TinyIoC default container • Ninject, AutoFac, Windsor
  10. 22.

    Pre-mature Pre-mature • version 0.9 version 0.9 • lack of

    commutity “knowledge lack of commutity “knowledge base” base” • documentation documentation
  11. 23.

    Development Development • not “really” TDD oriented not “really” TDD

    oriented • testing is possible, but hard testing is possible, but hard • lack of infrastrucure lack of infrastrucure
  12. 24.

    Performance? Performance? (I might be wrong here) (I might be

    wrong here) • everything is so “dynamic” everything is so “dynamic” • custom pipeline custom pipeline • views rendering views rendering
  13. 26.

    To prototype fast (er) To prototype fast (er) To enjoy

    super-duper- To enjoy super-duper- happy path happy path To be better developer To be better developer