These are chat archives for ThoughtWorksInc/Binding.scala

25th
Sep 2016
jhegedus42
@jhegedus42
Sep 25 2016 07:04
hi
how does binding compare to scalajs-react ?
for large ish projects
internal projects you mean projects for customers?
is it so that at thoughtworks you rather use binding than scalajs-react ?
for customer projects?
or does scalajs-react has its use case too?
i mean, can binding completely replace scalajs-react ?
if i want to wrap react components for example
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:07
I don't know too much about scalajs-react. Though Binding.scala is designed to replace ReactJS. I am writing a series of Chinese articles about replacing ReactJS to Binding.scala. http://www.infoq.com/cn/articles/more-than-react-part01
You can see them via Google Translator
The TodoMVC example is a good resource to startup.

@anthonyhoman has some expirence of porting AngularJS projects to Binding.scala stack. https://groups.google.com/d/msg/scala-js/xJsjE-zFeuk/gqIgTXi2AwAJ

@jhegedus42 I guess you could talk to him.

jhegedus42
@jhegedus42
Sep 25 2016 07:11
ahh
interesting, is it possible to reuse already existing react components from binding ?
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:15
I don't know.
@jhegedus42 I guess you could find out the answer yourself after you learnt some basic concepts I mentioned at https://github.com/ThoughtWorksInc/Binding.scala/blob/9.0.x/README.md
jhegedus42
@jhegedus42
Sep 25 2016 07:15
ok, i see
i guess yes, after all, it is software
btw, @Atry are you aware of reflex and reflex-dom ? it seems to be similar to binding, in haskell
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:18
I did not hear reflex before
jhegedus42
@jhegedus42
Sep 25 2016 07:22
it seems to me that you are doing something very similar to reflex and reflex-dom
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:23
Similar concepts but different syntax
jhegedus42
@jhegedus42
Sep 25 2016 07:23
and different language
is binding higher order frp ?
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:24
Binding.scala provides a PHP-like or JSP-like syntax 😑
Yes or No. Depends on the meaning of FRP.
jhegedus42
@jhegedus42
Sep 25 2016 07:25
ok
杨博 (Yang Bo)
@Atry
Sep 25 2016 07:27
One of the purposes of Binding.scala is hidding higher kinded functions from user code. Though Binding.scala itself is internally powered by Scalaz's monad type class.
jhegedus42
@jhegedus42
Sep 25 2016 07:27
hmmm
i see
its not obvious to me either if higher order frp is needed or not...
or when is it useful at all