go-frp

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2016 License: Apache-2.0

README

go-frp - Functional Reactive Programming in Go

Status

GoDoc Build Status

Overview

Functional Reactive Programming as demonstrated by React, React Native and Flux appear to be game-changing technologies for web development as well as native app development for both Android and iOS.

While investigating these technologies, I came across the Elm Programming Language and was impressed by the simple web app model and the idea that a single language could provide all the HTML, CSS, and JavaScript necessary to create a full web application. I read through the tutorials and examples and although I'm a big fan of functional programming languages, it dawned on me that with the advent of GopherJS, I could do all this in Go.

This is not an official Google product.

Why Go?

There are a number of reasons for using Go:

  • Go is easy to read and understand,
  • goimports (and its integration with text editors) is fantastic,
  • if your code compiles, chances are good that it is correct, and
  • Go makes programming fun again.

Installation

$ go get -u github.com/gopherjs/gopherjs
$ go get -u github.com/gmlewis/go-frp

Getting started

Run the examples
$ cd $GOPATH/src/github.com/gmlewis/go-frp/examples/1
$ gopherjs build -m app.go

License

Copyright 2015 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
examples
1
1/counter
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/1/Counter.elm
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/1/Counter.elm
2
2/counter
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/2/Counter.elm
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/2/Counter.elm
2/counterpair
Package counterpair is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/2/CounterPair.elm
Package counterpair is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/2/CounterPair.elm
3
3/counter
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/3/Counter.elm
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/3/Counter.elm
3/counterlist
Package counterlist is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/3/CounterList.elm
Package counterlist is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/3/CounterList.elm
clearfield/clearfield
Package clearfield is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
Package clearfield is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
inception/counter
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/inception/Counter.elm
Package counter is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/inception/Counter.elm
inception/counterpair
Package counterpair is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/inception/CounterPair.elm
Package counterpair is an example using go-frp modeled after the Elm example found at: https://github.com/evancz/elm-architecture-tutorial/blob/master/examples/inception/CounterPair.elm
inception/counterpairpair
Package counterpairpair is an example using go-frp and two counterpairs.
Package counterpairpair is an example using go-frp and two counterpairs.
label/label
Package label is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
Package label is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
reverse/reverse
Package reverse is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
Package reverse is an example using go-frp modeled after the example found in the book "Functional Reactive Programming" by Stephen Blackheath and Anthony Jones: http://www.manning.com/books/functional-reactive-programming
Package html provides functions to build up the DOM of an app.
Package html provides functions to build up the DOM of an app.
Package start provides a simple framework for starting a go-frp web app.
Package start provides a simple framework for starting a go-frp web app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL