-
Notifications
You must be signed in to change notification settings - Fork 14
In depth example #24
Comments
Hi Billy, thanks for asking this, actually you are right I found the time to create a proper example with an in depth explanation, right now it's all left out to the user to figure out how to use Scatter with the help of the API docs and the guide. For the question around modules, the answer is: it depends. Usually you may want to use libraries as you always have done by using |
@mariocasciaro I have a better idea. Instead of talking on the rather huge task of implementing scatter into my existing project I thought it might be a better idea to play with it on a smaller scale. All while trying to prove my application would be better with scatter. In the next week or so I am going to try and tackle creating a simple application that uses scatter to define a few services shared across the core of the app and plugins. My interests lie in the MEAN stack, but figure its mainstream enough that it should help others. Plans:
Once done I can share the code with you to see if its something you might want to start with for an example project. In this way I can learn Scatter and maybe save you from writing the example. If I hit any roadblocks I post questions here if that is ok. At least to document parts that were confusing to me, who knows someone else may have the same troubles. |
Hey Billy, |
@mariocasciaro , Mario, thank you for this great work! It seems to be exactly what I need for my current project! Like Billy, I am also looking for an in-depth example of scatter with expressjs and mongoose. |
I can definitely second this, can't get simple "Service" sample working . . . |
First of all thanks, without people like you I could not stand on the shoulders of giants. That being say a lot of the guide and docs are over my head. You make huge leaps and much of what you are doing looks like 'magic' that I don't understand. I took a look at your example and it was too simple and does not prove a real problem. At least for me, and maybe betting many others a full example with something like express and mongoose would be crazy helpful in understanding how to get started with scatter.
A simple case:
Given a couple routes access a couple models. Bonus would be a plugin that had access to the models.
Also what about node modules? Should they be injected? Or is require always the right answer for those?
The text was updated successfully, but these errors were encountered: