Code Monkey home page Code Monkey logo

hs-designing-kiva's Introduction

Design Activity - Kiva.org

kiva

Today we're going to practice designing an application - deciding how our models, routes, and views should behave before we start coding. You'll be working in groups to design Kiva, a website which lets entrepreneurs in underdeveloped nations receive micro-loans from other people around the world.

Determine the Story

First, browse Kiva and tell the story of the app. How would you describe how the user interacts with the application? For example: "First, a user will browse projects. Projects have different funders, etc."

Designing the Schema

How many different nouns were in your story? Each of those nouns becomes a model in your application. Think about the relationship between those models. Make a class diagram of the models your app will need and the relationship between those models. Many developers use tools such as Gliffy for this, but you can also use a whiteboard or chart paper. In the example below, we can visually see that a customer has many orders.

has many belongs to

Routing your Routes

Next, list out the different routes your application will need. For example, what route should show me all of the projects? What about the project with an id of 50?

Wireframing the Views

Once you've determined your routes, start wireframing the views that will correspond to those routes. What does the index page look like? What about the project page? Don't be afraid to make changes - ask yourself what could be improved? What could be done different?

Going Further

  • Once you've finished, take a look at the sites below - how could you adapt your designs to fit the following applications?
    • Kickstarter - crowdfunding site where artists and inventors, users can support projects in exchange for prizes.
    • Do Something - organization promoting community service and social change
    • Donors Choose - allows individuals to donate directly to public school classrooms
    • Indie GoGo - crowdfunding site similar to Kickstarter

View Design Activity - Kiva.org on Learn.co and start learning to code for free.

hs-designing-kiva's People

Contributors

ipc103 avatar victhevenot avatar

Watchers

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