GithubHelp home page GithubHelp logo

webdevtutorial's Introduction

WebDevTutorial

Objective: To help someone get started started on WebDev,

  • simple localhost server; let's do a bare bones node express
    • git clone, npm install, npm start, go to the url
  • index.js + index.html
    • web page will say Hello, new developer!
  • Stub out a "Resume" in html + Mustache, and have index.js populate it with fake data
    • optionally spend time going over html box model, css styling (porbably not too much; we'll go into more detail later)
    • teach user about:
      • using printlines, debugger
      • variables, assignment, data types
      • if/else, switch
      • loops
      • methods, functions
        • stuff like .map, .find, etc.
  • Remove the fake data in index.js, and have it instead make calls to server for data
    • have server make calls to a stubbed database
    • user learns about callbacks/promises/event dispatching
  • User git clones another tutorial repository (for SQL stuff), but clones from a tag that has all the info already stubbed out
    • stuff shows up on screen again!
  • Have the user create a new section for education that they edit directly on the page
    • Introduce input fields on website, so user can update their resume from the webpage
      • This makes POST requests, which does SQL inserts and updates
      • User learns some basic SQL in the process
    • User learns SQL select statements to get education info
  • Go ham on html css, introduce the idea of .scss and convert to that
    • optionally introduce idea of react-redux
  • But anyone can update your code now! Introduce auth
    • Introduce more and more security exploits that they will now have to code against
      • SQL injection
      • cross site scripting
  • Introduce tables, long running processes, and other things that are easier to deal with using data structures, various programming techniques
    • queue
    • stack
    • set
    • hashtable
    • map
    • recursion
      • dynamic programming
    • sorting
    • OO
      • classes
      • inheritance
    • functional programming
      • passing around functions as parameters
      • advantage of stateless stuff
  • teach user about flexbox, css-grid, tables, etc.
  • Introduce react and redux; something that may address some of the growing pains the user may be encountering.

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.