the api server is a game server and very basic webserver that doesnt allow cors so cant make it available for testing remotely
@RickButler Thanks heaps, works perfectly :)
@StompyNZ no problem, I have some abstractions that might help with that. I have a property on my base model that gets auto set after fetch returns. Working on putting it on git so you and others can take a look.
this app im working on is partly to learn ampersandjs because my work wants to switch over to it, but its a huge project so getting a good file structure worked out will be the next step
@StompyNZ another thing to keep in mind is the ampersand cli generated project has out of date dependencies
in your project for instance the cli generates ampersand-model in the package.json with 5.0.3, ampersand is on 8.0.1
ampersand-model* is on 8.0.1
I should probably submit a PR to update the CLI...
Hey, I'm trying to find documentation on findWhere but I keep on running into dead links?
@oakypokey are you referring to findWhere on an ampersand collection? If so that is just a proxy to lodash findWhere.
@samuil4 Thanks for the reply. I'm going to be pulling data from the json file for production so I need a permanent solution - unless I'm misunderstanding. Would using ampersand-collection handle this?
As a relative novice in this, I always struggle understanding the terminology to figure out what tool to use for what I'm trying to do. Reading the docs, it sounds as if maybe I should be using &-state instead of &-model, to create a model and a collection for data coming from a local json file. Is this correct? Yet I see others using &-model for use with local json files.
Guys, rudimentary question: how do I add new JS/CSS to the generated code file[s]? (Appname).nonCached.js and .nonCached.css
@brianvegan We would need to see your project/build process. Are you using a sample project from somewhere, or do you have your code on github?
did some noob sleuthing, was in moonbootsConfig.js, ty :D
Hi Everyone! I am actively using Ampersand in one of my projects :D . Just want to know if somebody is still using it
We do. Not for new projects but we still have several projects in production that are actively developed that use Ampersand.