Coder Social home page Coder Social logo

choreapp's Introduction

ChoreApp

This is the code for the TRINUG Web SIG on building a modern web app. This is a very simple chore tracking application for tracking chores by children. This will be built over a series of sessions. This application very intentionally does not use any existing web application framework (Angular, React, Ember, Knockout, Aurelia, etc.) so that we can discuss what happens directly in the browser. This is not an endorsement of writing your own framework from scratch, just simply a teaching tool. Please use this code to learn about how to do things manually, e.g. what frameworks are doing for you. I'm not suggesting you should write your own framework for something you plan on putting into production.

You can download code for both the beginning and end of a given session. See the releases page for the project at https://github.com/kstreith/ChoreApp/releases or git clone the project and checkout the appropriate tag.

  1. Session 1 - The purpose of this session is simply to write rendering code to generate a table given a javascript array of data. You can open the index.html directly in a browser (IE9+, Chrome and Firefox) have been tested. If you look at the choreMain.js, you can uncomment the examples, marked as EX-1, EX-2, etc. to see different techniques for rendering the user grid at the top of the page. The goal in this session is then to write code to render the bottom two grids on the page. At the end of the session I show a simple templating language, that is the EX-5 sample. The code for the template engine is in choreUtil.js. In case you are curious, it does appear we are making AJAX calls to a back-end using JQuery. However, you'll notice we never started up a back-end. If you look into mockServerData.js, you'll see I've mocked out a back-end in JS that runs entirely in the browser.
  1. Session 2 - This session requires VS 2013 or VS 2015.
  2. Session 3 - This session requires VS 2013 or VS 2015.
  3. Session 4 - This session requires VS 2013 or VS 2015.

choreapp's People

Contributors

kstreith 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.