Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rhys Bartels-Waller
    @rhyslbw
    Hmm :eyes:
    fxv
    @fxv
    Hi guys. I'm currently going over the available documentation and I understand you are in the middle of updating it. Do you have an ETA? Thanks.
    Rhys Bartels-Waller
    @rhyslbw

    Hey @fxv . We’re actually in the middle of a major dev cycle, with heaps of improvements and breaking changes so docs are on hold until the dust settles. We do have a couple of example apps being built now, so that will be the best way to see Space in action, otherwise we’ve got a nice expressive test-suit. These are critical projects and we need em done fairly urgently, so expect to see lots of collaboration and new code merged into the develop branches daily

    https://github.com/meteor-space/todos
    https://github.com/meteor-space/donations

    Rhys Bartels-Waller
    @rhyslbw
    FYI: https://meteor-space.readme.io/v1.0/docs/contribution-guide
    We have started on docs over there, but is mostly an outline at this stage.
    fxv
    @fxv
    Thanks @rhyslbw . I'll take a look later tonight.
    fr0zen
    @fr0zen
    @DominikGuzei it was a technical doubt, dominik! But it was wrong and was a misunderstanding of mine :P
    Erick
    @ericklind
    Hi everyone, I've been hacking away and finally got the cqrs sample to work for my domain. But one thing that is really missing is how to implement the aggregates and display them in a view. Any good samples on that?
    Erick
    @ericklind
    Or is that snapshots? (Still getting into CQRS).
    Rhys Bartels-Waller
    @rhyslbw
    hey @ericklind ! Welcome :smile:
    Rhys Bartels-Waller
    @rhyslbw

    We’re in the middle of a massive dev cycle, so while the released packages form part of a stable version, all the good stuff is pre-release. The best way to proceed here is to join our development Slack (send me your email in a private message), as it’s where you can get assistance with concepts or the application of Space in it’s current form.

    Our two examples can be found here for reference:
    https://github.com/meteor-space/todos
    https://github.com/meteor-space/donations

    Rhys Bartels-Waller
    @rhyslbw

    " how to implement the aggregates and display them in a view”
    Event-sourced aggregates publish events that you use to build view collections. We do this using a Projection. Eg

    https://github.com/meteor-space/todos/blob/develop/packages/app/source/server/projections/todos-projection.js

    If you notice in this project we have separated the domain and application concerns into separate packages. Multiple applications can all depend on the domain context, and it also highlights that an Aggregate knows nothing about display -> it’s up to the application to decide how to interpret the changes into a view state. If this is a bit confusing, just realise that this makes things highly flexible and performant!

    "Or is that snapshots?”
    Snapshots are a caching feature of the infrastructure, purely for performance when the application is running. When an Aggregate instance is sourced from many events, sending new commands can be slow as it first needs to run through each event to ‘rehydrate’ the aggregate. Snapshots mean that an Aggreagate’s state can be determined by many events, but only not all of them need to be loaded each time a new action is to be taken (usually it’s a command you send)

    Erick
    @ericklind
    Okay, the problem is that I could never get the ToDo to actually work. There was no error, but no display either.
    Erick
    @ericklind
    I downloaded it again and this time I'm getting an error for 'unknown package: space:domain'
    Thoughts?
    Erick
    @ericklind
    I installed mpg, but nothing seems to have happened. Additional steps?
    Darko Mijić
    @darko-mijic
    Hi @ericklind. I would like to help you with problems with Totos app
    Which OS are you using?

    This is what I have done to successfully run Todos on Mac:

    git clone https://github.com/meteor-space/todos.git
    cd todos
    mgp
    ./run.sh

    MGP output should look something like this:

    EBIZMacPro:todos darkomijic$ mgp
    HEAD is now at 8b51727 Merge pull request #41 from meteor-space/fix/app-config-bug

    Processing space-base at HEAD
    Cleaning up
    Copying package
    Done...

    HEAD is now at f6c2a9c Merge pull request #16 from meteor-space/fix/application-reset

    Processing space-messaging at HEAD
    Cleaning up
    Copying package
    Done...

    HEAD is now at 8781cca Merge pull request #35 from meteor-space/fix/process-init-via-event-bug

    Processing space-event-sourcing at HEAD
    Cleaning up
    Copying package
    Done...

    HEAD is now at 9b2ac9c Merge pull request #4 from meteor-space/fix/lock-deps

    Processing space-domain at HEAD
    Cleaning up
    Copying package
    Done...

    HEAD is now at efd1caa Merge pull request #43 from meteor-space/feature/improve-missing-component-mapping-error

    Processing space-flux at HEAD
    Cleaning up
    Copying package
    Done...

    HEAD is now at 1978ad9 Merge pull request #16 from meteor-space/feature/contains-array-of-structs

    Processing space-testing at HEAD
    Cleaning up
    Copying package
    Done…

    Erick
    @ericklind
    'mgp' is not recognized as an internal or external command,
    operable program or batch file.
    Darko Mijić
    @darko-mijic
    Try sudo npm install -g mgp
    batch file… seems like you are on Windows?
    Let me know if you are using windows and which version, I will try to run the app in a virtual machine
    Erick
    @ericklind
    No sudo here. I'm on windows (work machine)
    And I did that already.
    Darko Mijić
    @darko-mijic
    OK, I am installing Meteor in a Windows 7 virtual machine. I will keep you updated. I will install node and mgp and see how it goes.
    Darko Mijić
    @darko-mijic
    @ericklind, have you sent your e-mail to Rhys? Did you join our Slack account?
    Adam Desivi
    @qejk
    Hi @ericklind did you try to pull all required packages manually by using git clone with appropriate naming (git clone uri package-name) to ./packages folder?
    they would end up for example: space:base -> space-base, space:event-sourcing -> space-event-sourcing; however please keep in mind that all Space packages are in still in development so its always best to keep track what commit is used by looking on examples like: https://github.com/meteor-space/donations/blob/develop/git-packages.json
    Darko Mijić
    @darko-mijic
    I have isnstalled node and meteor in windows for the first time, i am installing git now so i will keep you posted with runnging a space app on windows
    Erick
    @ericklind
    I sent him my email, but I assume he's probably asleep at the moment since he's probably on Euro time.
    I'm in Portland, OR.
    Rhys Bartels-Waller
    @rhyslbw
    @ericklind Invite sent. I’m actually in Australia, but close enough :-)
    Darko Mijić
    @darko-mijic
    @ericklind, I have tested Todos on Windows and everything works fine. All I have done is: installed Meteor, installed node, installed git, installed mgp (using: npm install -g mgp, this is the part you are probably missing since you get mgp is not recognized), cloned todos (git clone https://github.com/meteor-space/todos.git), cd todos, mgp, meteor
    Screen Shot 2016-01-07 at 11.23.02.png
    BTW @qejk, mgp configuration in todos is fixed to specific commits so there sould be no issues with package versions:
    https://github.com/meteor-space/todos/blob/develop/git-packages.json
    Erick
    @ericklind
    @rhyslbw Ah. My tired brain read Austria - and I do know the difference since I lived in Austria for 2 years. :)
    Erick
    @ericklind
    Error: No compatible version found: minimist@'^1.1.1'
    @darko-mijic I'm back on my Mac and I cannot get mgp to install.
    Darko Mijić
    @darko-mijic
    @ericklind, when that happens? Can you give me the context and more complete log?
    And are you cloning the develop branch?
    It is the default branch…
    Erick
    @ericklind
    I followed exactly what you listed above. Once I got to npm install mgp, I got that error.
    Darko Mijić
    @darko-mijic
    OK, so installation of mgp failed.
    Can you check your version of node? node -v
    Erick
    @ericklind
    1.2.23
    casperan
    @casperan
    @rhyslbw casperanderseneu@gmail.com slack channel? :)
    Darko Mijić
    @darko-mijic
    That is almost one year old node, I would try to upgrade
    Dominik Guzei
    @DominikGuzei
    @casperan i sent you the slack invite!
    casperan
    @casperan
    cheers
    Barry Low
    @bearcanrun
    Greetings, I would love to join the slack channel too: bearcanrun@gmail.com. Got the todo sample app up and running just fine and really like the structure you guys have going. Learning the event sourcing/CQRS has changed my life. Now that the Meteor 1.3 beta is actually useable in the past few days, I'm curious how the move to that future will be like. Cheers!