Git Product home page Git Product logo

sinatra-video-review-forms's Introduction

Sinatra Forms

Overview

In this video, we will review the development of basic web application using the Sinatra MVC framework. The lecture uses slides and coding walkthroughs to present students with a comprehensive overview of basic concepts. The emphasis is on Sinatra, but topics from many recent lessons are discussed. These include Rack, ORMs, CSS, and others.

We will begin by explaining how to mount a controller and then outlines the 7 controller actions that display and modify data. Using a photo sharing website as an example, the video details how to set up a PostsController class that incorporates these 7 actions. Route Variables, Query Strings, and the params hash are defined and demonstrated within this example. We then will explain how to write an HTML form and then post that form to the website.

It is very important that students have a thorough understanding of Sinatra before moving forward. You should feel free to watch this lecture as many times as necessary, and you are encouraged to search for additional resources using google or your favorite search engine.

Objectives

  1. Learn how to build/onboard an application with CRUD functionality
  2. Describe REST and the request cycle
  3. Use config.ru to start web apps using Rack
  4. Use Shotgun to spin up a server
  5. Explain basic Sinatra MVC structure in relation to web apps
  6. Explain the uses of HTTP verbs for sending and receiving data
  7. Explain how languages, DSLs, frameworks, clients, and databases work together in a stack

Video

<iframe width="100%" height="720" src="https://www.youtube.com/embed/0TyCN_oJU3Y?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

sinatra-video-review-forms's People

Contributors

annjohn avatar drakeltheryuujin avatar maxwellbenton avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.