Giter Site home page Giter Site logo

dart-playground's Introduction

Dart Playground

This is a repo where I keep experimental Dart code while in the process of learning Dart. If you have any suggestions or remarks, feel free to send them.

Examples

  • Twitter Search Simple: allows you to search for a keyword on Twitter. The results are shown in a table that is dynamically updated. This example contains code that queries and manipulates the DOM, invokes the Twitter JSON(P) API and parses the incoming JSON data.

  • Twitter Search Simple with Web Components: this is basically the same example as Twitter Search Simple, but uses Web Components with data binding and templating.

  • Twitter Search: allows you to search for keywords on Twitter. This is a more elaborate version than the Twitter Search Simple examples using service abstraction with the strategy pattern and asynchronous handling using Futures. Twitter Bootstrap is used for styling.

    Main features:

    • It keeps a list of previous searches.
    • Uses Web Components with templating and data binding.
    • A service is introduced to fetch the tweets. This service consist of a pure abstract class forming the interface of the service and two implementations: the first one connects to the Twitter API, the second one is a stub that generates random data. The latter is useful during development. This choice of service is now decided in the main() method, but would potentially be injected in the appropriate place.
    • Futures are used to respond to the asynchronous loading of tweets.

Resources

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.