Skip to content

roperzh/esscinema

Repository files navigation

EssCinema

This repo tries to serve as a guide to how you can organize an application using essential.js behaviors are under app/scripts/behaviors, but here is a reference:

  • search-form behavior emits a custom event everytime the text changes, the form at the top have this behavior attached.

  • results-binding behavior listen to the events emmited by search-form & movie-searcher and updates this contents according to it, giving a sort of real-time text binding.

  • movie-searcher behavior listen to changes in search-form & end-reached-checker and performs a search based on the user's input.

  • facebook-share behavior allows to share an URL using facebook's SDK.

  • twitter-share behavior allows to tweet an URL.

  • stars-rating behavior simulates a classic rating based on stars.

  • end-reached-checker behavior fires a custom event everytime the end of the page is close to be reached.

Dependencies

This project only depends on doT, a tiny template engine in order to make the code a little more readable.

Contributing

Contributions are welcome!, just fork the repo and make a pull request.

About

Essential.js demo application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published