神刀安全网

Tinder like application for gifs built with elm

Gipher

http://gipher.co

A Tinder-like application allowing you to swipe among trending gifs (using giphy API).

For a while I’ve wanted to try out elm. I’ve always been attracted to FRP (Functional Reactive Programming), and programming with signals.

This attempt gave birth to Gipher .

Gipher has the main features we can find in any modern single page application:

  • facebook authentication
  • multiple sections
  • live data sync with firebase
  • animations

It’s a good showcase of how an elm application is structured using signals, wired up with the start-app package.

This project is 99.9% elm, it contains only 30 lines of css, the rest of the styling is inline within elm (no javascript at all Tinder like application for gifs built with elm ).

Packages used (elm)

Apanatshka/elm-signal-extra provides more advanced features to manipulate signals
Dandandan/Easing is an amazing library to work with easings (useful for all kind of animations)
ThomasWeiser/elmfire enables you to interact with firebase in the most ‘elmish’ way
And of course a big thank you toevancz for all his work around elm:

evancz/elm-effects evancz/elm-html evancz/elm-http evancz/start-app

TODO

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Tinder like application for gifs built with elm

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮