Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 11 2020 18:30
    nick-allen removed as member
  • Jul 18 2020 00:41
    nick-allen added as member
  • Sep 13 2019 15:39
    juristr removed as member
  • Jul 06 2018 14:18
    amcdnl removed as member
  • Mar 30 2018 12:42
    bullwinkle commented #72
  • Sep 18 2017 16:52
    amcdnl added as member
  • Sep 17 2017 15:00
    amcdnl removed as member
  • Sep 17 2017 14:45
    amcdnl added as member
  • Jun 21 2017 21:46
    amcdnl commented #78
  • Jun 21 2017 20:58
    mateusleon commented #78
  • Jun 21 2017 20:58
    mateusleon commented #78
  • Jun 21 2017 20:11
    amcdnl commented #78
  • Jun 21 2017 20:11
    amcdnl closed #78
  • Jun 21 2017 19:09
    mateusleon edited #78
  • Jun 21 2017 19:08
    mateusleon opened #78
  • Feb 15 2017 15:19
    kevinverelst reopened #76
  • Feb 15 2017 15:19
    kevinverelst closed #76
  • Feb 15 2017 15:19
    kevinverelst commented #76
  • Feb 15 2017 13:19
    amcdnl commented #76
  • Feb 15 2017 09:40
    albohlabs commented #76
Juri Strumpflohner
@juristr
blob
Ryan Hutchison
@rhutchison
that's cool
what are you using for maps?
Juri Strumpflohner
@juristr
openlayers, together with this angular-openlayers-directive: https://github.com/tombatossals/angular-openlayers-directive
Ryan Hutchison
@rhutchison
nice
looks clean
Juri Strumpflohner
@juristr
the actual map itself comes from our GIS infrastructure
Ryan Hutchison
@rhutchison
how is the performance on the tiles?
Juri Strumpflohner
@juristr
fine, so far no perf issues :smile:
Ryan Hutchison
@rhutchison
sweet
is there any hacky way to access the parent data from the child?
Juri Strumpflohner
@juristr
not that I know of...in such case you'd have to have backlinks...that is bidirectional relationships between them. At least that's what you usually do when you have a more hierarchical data model on the server side.
Ryan Hutchison
@rhutchison
if my map is, Orders: Order.List, from the Order I would like to access the parent (person) data
k, thanks
Ryan Hutchison
@rhutchison
still don't see how to have nested urls
Ryan Hutchison
@rhutchison
will be easier
guess I'll put the save method on the parent
juristr @juristr In vacation for a couple of weeks, so won't be online :smile:
Ryan Hutchison
@rhutchison
@juristr enjoy
Austin
@amcdnl
@/all chk this out

Angular 2 Data

This library isn’t available yet (which is why it wasn’t in the survey), but is being modeled after Ember Data to provide a higher level interface for your data in Angular 2. Other data libraries may be used in conjunction at lower levels. We talked with the Angular core team about Angular 2 Data on Angular Air.

Austin
@amcdnl
guys - updated some of the v2 stuff
Swimlane/angular-model-factory#56
i gotta have surgery on my elbow so gonna have some free time
maybe u will get a 2.0 soon
Ryan Hutchison
@rhutchison
Thank you @amcdnl
Mark McCook
@mmccook
the property ‘wrap’ can be put on actions right? I’m setting wrap to true and not getting a length property is that by design ?
Austin
@amcdnl
anyone got any feedback onthis? Swimlane/angular-model-factory#56
@/all ^^
Ryan Hutchison
@rhutchison
Does this transpile back to ES5?
Austin
@amcdnl
ya, babel
i thought about introducing RxJS too
plitzenberger
@plitzenberger
hi guys - is it possible to consume nested api's like /projects/1/scenarios/1/loadcases/1/loads/1
and ideally have all these as proper javascript classes ([Project {... scenarios: [Scenario {... loadcases: [Loadcase { .. etc ...}] }]}]) not all of same class (Model {})
Juri Strumpflohner
@juristr
@plitzenberger I never tried that as I think it gets too complicated. What I do is to use the URL templates and create a custom action on a model Project like getLoadForScenario with url {id}/scenarios/{scenarioId}/loadcases/{loadcaseId}/loads/{loadId} or something similar.
But I'll reflect on whether such a scenario would make sense / how it could be implemented. @plitzenberger If you're interested, make a proposal on our git repo, opening a new issue and discuss potential solution approaches you might already have thought of. So we can discuss. Thx :smile:
@plitzenberger btw, I know that @rhutchison has done quite some acrobatics with models. Maybe he might be able to give u some input as well
This message was deleted
@/all we switched to fully automated releases to bower and npm thanks to the semantic-release plugin. As such we've also updated our contribution guidelines: https://github.com/Swimlane/angular-model-factory/blob/master/CONTRIBUTING.md. This will help us make releases easier and faster, especially as we plan towards ES6 and Angular 2 support
plitzenberger
@plitzenberger
@juristr Thx for your answer. I will create a proposal.
Austin
@amcdnl
@plitzenberger i thought about this a lot … i dont have a strong use case personally
also i had concerns about it being SUPER chatty
vs just 2 query calls and merging
i try to do this merging at my server level
plitzenberger
@plitzenberger
@amcdnl sorry, but what do u mean with “just 2 query calls and merging"
do u query the different endpoints and then re assemble it frontend side?
Austin
@amcdnl
yes
or have the server assemble
gandaldf
@gandaldf
Hello people! I landed here because
I need some info about modelFactory.. I'd like to use it in my next heavy modeled project