By: Maksim Surguy & Cesar Acosta require 'sinatra‘ get ‘/' do "Hello World!" end.

Slides:



Advertisements
Similar presentations
12 October 2011 Andrew Brown IMu Technology EMu Global Users Group 12 October 2011 IMu Technology.
Advertisements

Single Page Apps with Breeze and Ruby.
The Hydra Framework as a Series of Diagrams Naomi Dushay Stanford University Libraries April,
CTS2 DEVELOPMENT FRAMEWORK CTS2 Overview. Schedule What is it? Why a framework? What does this do for me? Plugins Implementations available now CTS2 Compliance.
Testing Web Applications & Services Testing Web Applications & Web Services.
Ruby on Rails Model of MVC. Model-View-Controller Paradigm A way of organizing a software system Benefits: Isolation of business logic from the user interface.
Chapter 15 © 2010 by Addison Wesley Longman, Inc Origins and Uses of Ruby - Designed by Yukihiro Matsumoto; released in Use spread rapidly.
Creating Web Services with Ruby on Rails Robert Thew Internet and Web Systems II.
Introduction to Backend James Kahng. Install Node.js.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors.
Building Functional Hybrid Apps For The iPhone And Android “The Zen of Mobile Apps”
Ruby on Rails CSE 190M, Spring 2009 Week 5. Installing Rails First, install Ruby with RubyGems Then, install the Rails gem gem install rails -version=2.3.2.
Ruby on Rails (Slides modified by ements-2ed.shtml)
Chapter 3.1 – RoR: An introduction Maciej Mensfeld Presented by: Maciej Mensfeld RoR: An introduction dev.mensfeld.pl github.com/mensfeld.
RUBY ON RAILS Mark Zhang. In this talk  Overview of Ruby on Rails  Core ideas  Show a tiny bit of example code  Touch on several general web development/
Ruby on Rails. What is Ruby on Rails? Ruby on Rails is an open source full-stack web framework. It is an alternative to PHP/MySQL. It can render templates,
Getting to Push Button Deploys Moovweb January 19, 2012.
Deploying Ruby on Rails How to make your application actually serve Dan Buettner 18 Oct 2007.
Library à la Carte: Customize|Collaborate|Connect Overview & Demo Kim Griggs & Jane Nichols Oregon State University.
MEAN Stack c0nrad. Overview Day 1: – MEAN Stack – NodeJS Mini Cat Fact Spammer – MongoDB Cat Profiles – Express Catbook API (Facebook for cats) Day 2:
Appcipia.com. What is Appcipia? Step1 Book of Useful Mathematica Recipes In Print Form and Down-loadable code from O'Reilly So Web 1.0!
Chapter 4.1 – Deeper into Rails Maciej Mensfeld Presented by: Maciej Mensfeld Deeper into Rails mensfeld.pl github.com/mensfeld senior.
Bob German Principal Architect A New on SharePoint Development Building Light-Weight Web Parts with AngularJS
Building Angular Applications with TypeScript Sergey Barskiy Architect Level: Intermediate.
Play with Cloud Foundry An Open PaaS Shi, Tao May 11, 2012.
Ruby on Rails & Windows sriramkrishnan.com.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Lecture 10 Rails Projects Topics SaaSSaaS Readings: SaaS book Ch 2, 4 February 24, 2014 CSCE 740 Software Engineering.
Ruby on Rails Your first app. Rails files app/ Contains the controllers, models, views and assets for your application. You’ll focus on this folder for.
Lecture 11 Rails Topics SaaSSaaS Readings: SaaS book Ch February CSCE 740 Software Engineering.
Ruby on Rails CSE 190M, Spring 2009 Week 6. Overview How to use a database Demo creating a blog application on Rails Explain how the application works.
Ruby on Rails (Slides modified by ements-2ed.shtml)
1 CS6320 – SW Engineering of Web- Based Systems L. Grewe.
Ruby on Rails on Ubuntu Bradley Taylor Rails Machine, LLC
DM_PPT_NP_v01 SESIP_0715_JR HDF Server HDF for the Web John Readey The HDF Group Champaign Illinois USA.
Schedule Introduction to Web & Database Integration Tools and Resources HTML and Styles Forms and Client-Side Scripts DB Engines Forms Processing and Server-Side.
Lecture 13b Rails – Controllers and Views Topics SaaSSaaS Readings: SaaS book Ch March 3, 2014 CSCE 740 Software Engineering.
CROSS PLATFORM MOBILITY
Developer track Marta Ribeiro
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
UW-Madison GEC 16 Update. GENI WiMAX classroom experience CS 407 – Foundations of Mobile Systems and Applications – 80 undergrad students Students required.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
PLAN-IT Blake, Clint, Erik, Jay, Logan, Marisa. 2 Project Idea  The group trip planning web app  Uses Facebook Connect  Target audience is twenty-somethings.
Ruby on Rails. Web Framework for Ruby Designed to make it easier to develop, deploy, and maintain web applications Design with Model-View-Controller –almost.
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
Introduction to Node.js® Jitendra Kumar Patel Saturday, January 31, 2015.
Lecture 12 Rails 169 Review Slides Topics SaaSSaaS Readings: SaaS book Ch February CSCE 740 Software Engineering.
A taste of the apps built with HTML… Deployment Workflow Lunchtime Node.js server Yelp API.
Introduction to Java Web Programming Gregg Sporar
Know Your GlassFish Gem Jacob Kessler. Overview ● Fast, simple, easy – gem install glassfish – glassfish. ● Everything from GlassFish to serve a Ruby.
GlassFish Gem Vivek Pandey Sun Microsystems, Inc.
Global Search: An Introduction and Administrator Perspective
Node.js Express Web Applications

Ruby, Rails, GUIs, and More
Rapid Application Development - The Open Way
A lot of Software Development is about learning
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
WEB API.
Build a RESTful service with OData
API Application Services
Client Side Solution Development
A Quick Overview of ASP.NET Core 1.0
Nathan Totten Technical Evangelist Windows Azure
A technical look at the new capabilities
Module P3 Practical: Building a webapp in nodejs and
Web API with Angular 2 Front End
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
Louis DeJardin | Software Developer, Microsoft
Presentation transcript:

By: Maksim Surguy & Cesar Acosta require 'sinatra‘ get ‘/' do "Hello World!" end

Web application framework in Ruby DSL* for defining RESTful HTTP actions Fast Fun! Not Rails Not MVC *Domain specific Language

gem install sinatra vi my_app.rb set :port, 3000 require ‘sinatra’ get ‘/’ do ‘Hello World’ end ruby my_app.rb

Gems More Condensed Changes to the App require to restart the server gem install shotgun Run => shotgun my_app.rb

vi my_app2.rb require ‘sinatra’ set :port, 3000 get '/hello/:name' do "Hello #{params[:name]}" end ruby my_app2.rb

get '/' do.. show something.. end post '/' do.. create something.. end put '/' do.. update something.. end delete '/' do.. annihilate something.. end options '/' do.. appease something.. end

Supports practically every template engine in Ruby: HAML ERB Erubis Builder Nokogiri Sass Less Liquid And many, many more !!! ( require ‘haml‘ get ‘/' do haml :index end Renders./views/index.haml

APIs Web services (fast !!!) Quick minimal applications Lean web development (Largely static sites with some dynamic content) Deploy on Heroku!

Heroku GitHub services Engine Yard Apartment Therapy Many Others More examples at :

sinatra/ sinatra/ services-with-sinatra-and-heroku services-with-sinatra-and-heroku