Tuesday, July 27, 2010

Understanding NativeMappedSignal

[pro-player type="mp4"]http://j0hn.org/videos//NativeMappedSignal.mp4[/pro-player]

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/NativeMappedSignalDemo/

5 comments:

  1. Hey John, glad to see an example of someone using the NativeMappedSignal. I'm interested to hear your opinions on it's usage and how it could be improved

    ReplyDelete
  2. johnlindquist1:19 PM

    Hey Brian, I saw your name on the git logs for Signals. Thanks for the awesome contribution.

    Personally, I'd like a "mapMutable()" or something on the Signal that would handle the function creation for returning values of changing objects for me ("option 2 in the video").

    ReplyDelete
  3. Nikos1:34 PM

    John the master :)

    is this true:

    I hate Eclipse! There, I said it. After years of using Eclipse, I have grown so tired of the bugs, slowdowns, and general instability of the app. Mix in a few third-party plugins and it's a recipe for disaster. Not only is IntelliJ not Eclipse, but it supports Eclipse projects, specifically Flex Builder projects. Also, you can work in either Eclipse or IntelliJ with the same project files without corrupting the project. IntelliJ will automatically attempt to read the project files and link up the shared libraries. I have not tried this, but I saw the option available and that is at least a step in the right direction.

    ReplyDelete
  4. Thanks John,

    It came out of the needs a user called karfau and myself had

    The mapMutable function would be pretty tricky to do consistently. Take option 2 as an example, the "input.text" function will always resolve to a String since it is a getter function. I don't think it's possible to get a reference to a getter function.

    ReplyDelete