Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Angular Template Angular Template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • IzeniIzeni
  • Angular TemplateAngular Template
  • Wiki
  • data store

data store · Changes

Page history
JSDATA bypassCache is no more. The new keyword is force authored Sep 27, 2016 by Joe Lewis's avatar Joe Lewis
Show whitespace changes
Inline Side-by-side
data-store.md
View page @ 70ca1b13
...@@ -7,6 +7,8 @@ We've made an abstract data model class, which individual models extend. Hopeful ...@@ -7,6 +7,8 @@ We've made an abstract data model class, which individual models extend. Hopeful
So, if you look at the configuration of the UserService, it extends AbscractModelService. And in a component, we inject it into the constructor as `User: UserService`, and go to town like so: `this.User.read(id).then()` So, if you look at the configuration of the UserService, it extends AbscractModelService. And in a component, we inject it into the constructor as `User: UserService`, and go to town like so: `this.User.read(id).then()`
## JSDATA bypassCache is no more. The new keyword is force
## JSData & Models (Mappers) ## JSData & Models (Mappers)
* the DataStore is set up in one single place, `.../service/store.ts`, and only that place * the DataStore is set up in one single place, `.../service/store.ts`, and only that place
* look to `.../models/User.model.ts` as a model for model setup * look to `.../models/User.model.ts` as a model for model setup
......
Clone repository
  • angular
  • cookbook forms
  • cookbook routing
  • data store
  • gotchas
  • Home
  • modals
  • sass with bem
  • toolbox
  • typescript
  • webpack