GithubHelp home page GithubHelp logo

lalea's Introduction

lalea

An experimental website written in noir (a web app platform in Clojure).

Install & Run

If you use cake, substitute 'lein' with 'cake' below. Everything should work fine.

lein deps
lein run

Technical Scope

In this project we're experimenting with Clojure and Noir, so all client-side stuff (including layout) is limited to a bare minimum.

We're focussing on:

  • Clojure composition basics (how to use namespaces, load config files, etc)
  • Architecture (Models, Views, as used by Noir)
  • Server side validation
  • Database abstraction layer (Korma, for now)
  • Basic login system

Not in Scope

i18n - there are some wrappers around the apparently excellent Java i18n: https://github.com/ptaoussanis/tower

Domain

The website is a language learning tool. You make a list of words or phrases in your native language and for each item you also provide the translation in the foreign language you're learning.

The website then shuffles the list and displays each item in turn. You type in the translation and get two retries if you make a mistake. At the end of the turn, the correct translation is displayed if you failed, otherwise you proceed to the next item.

Flow

  1. Collect all word - meaning pairs for a game
  2. present pair
  3. check answer:
    • correct: next round
    • incorrect:
      • store id of the word
      • show pair again (twice, if necessary) -- use session object to store ids of wrong words (multiple ids of the same word, if necessary)
  4. Next round
    • No more words: end
    • Other words: go to 2
  5. End: show results

License

Copyright Solin (C) 2012

lalea's People

Contributors

onno-schuit avatar

Stargazers

 avatar

Watchers

 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.