Web architecture - overview of techniques.

download Web architecture - overview of  techniques.

of 35

  • date post

    27-Aug-2014
  • Category

    Software

  • view

    309
  • download

    6

Embed Size (px)

description

Talk about architectural patterns in modern web applications on Developers Day Odessa Innovation Week webcamp

Transcript of Web architecture - overview of techniques.

  • Web application architecure: overview of techniques Ruslan Shevchenko. ! GoSave, Inc: http://www.gosave.com!
  • Themes What are current architecture patterns, which ! can be used! can be reused ( in other languages or frameworks other than origin)! ! Client/Service interaction. ! Reactivity
  • What is in mainstream now ? Sinatra-like frameworks! Server:! REST ! Client: MVC! yesterday: backbone! today: angular! tomorrow: react.js + something
  • shiny http://shiny.rstudio.com/! live example: http://shiny.rstudio.com/gallery/telephones-by-region.html! R language! X LOC : server! Y LOC: UI
  • shiny http://shiny.rstudio.com/! live example: http://shiny.rstudio.com/gallery/telephones-by-region.html! R language! 8 LOC : server! 12 LOC: UI
  • shiny: UI.R library(shiny) library(datasets) ! shinyUI( fluidPage( titlePanel("Telephones by region"), sidebarLayout( sidebarPanel( selectInput("region", "Region:", choices=colnames(WorldPhones)), hr(), helpText("Data from AT&T (1961) The World's Telephones.") ), mainPanel( plotOutput("phonePlot") ) ) ))
  • shiny: Server.R library(shiny) ! # Rely on the 'WorldPhones' dataset in the datasets # package (which generally comes preloaded). library(datasets) ! shinyServer(function(input, output) { output$phonePlot