Coder Social home page Coder Social logo

bookreader's People

Contributors

ntoll avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bookreader's Issues

Import CC licensed novel (Little Brother)

Importing "Little Brother" means there are two works for the bookreader to work with enabling the users / readers some sort of compare and contrast opportunity for two different types of work (fiction vs non).

Create core work functionality

Example usage:

  var reader = bookreader({username: "test", password: "secret"});
  var work = bookreader.getWork("The Three Bears");

Add initial specifications to the test suite.

Suggested behaviour to focus on retrieving, tagging and searching blocks that constitute a work that is organised in a linear fashion (so it might not necessarily be a book). :-)

  • Define basic functions of the top level bookreader application - login, logout, set-up and functions that return objects that represent:
    • Works
    • Circle of Friends
    • Specific blocks
    • Library (of user's books)
  • Define basic functions and behaviour of a "work" object (representing a thing consisting of blocks organised in a linear fashion). Best thought of as synonymous with a "book".
  • Define basic functions and behaviour of a "friends" object (representing who else the current user is interested in following within the bookreader application).
  • Define basic functions and behaviour of "block" objects (representing a constituent part of a work that sits at a specific point in the linear organisation of the work). Best thought of as synonymous with paragraphs and/or sentences. Also, blocks can contain blocks.
  • Define basic functions and behaviour of "library" objects (linking together works that the user has read/annotated)

Integrate sammy.js into the application

In order to make things move quickly and to help provide lots of basic browser based utilities the sammy.js (http://www.sammyjs.org/) framework should be incorporated into the application. (I've been hesitating about if the app should implement some of sammy's functionality itself, but hey... why make work for yourself?)

Create the core bookreader function

Example usage:

var reader = bookreader({username: "foo", password: "bar"}); // the bookreader object encapsulates most of the app logic
var work = reader.getWork({title: "The Three Bears"}); // a "work" object contains details about a work
var friends = reader.getFriends(); // friends = your book circle of fluidinfo users (whose tags you're interested in)
var library = reader.getLibrary(); // library = works you're reading / have been reading

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.