Titanium JIRA Archive
Alloy (ALOY)

[ALOY-404] Create an Alloy model type that uses no persistence

GitHub Issuen/a
TypeStory
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2013-01-29T17:43:53.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.0.0, 2013 Sprint 03
ComponentsRuntime, XML
Labelsnotable
ReporterTony Lukasavage
AssigneeUnknown
Created2012-11-30T16:13:43.000+0000
Updated2018-03-07T22:26:08.000+0000

Description

update (1/29/2013)

A new adapter type was not created. Instead, a test app was created showing how you can use plain old Backbone models and collections and still leverage Alloy data binding. it can be found here: https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_no_persistence

original

It is assumed that if you are using Alloy Models that you want to use local/remote persistence as well, as the only choices for adapter are sql, properties, and localStorage. We should make an adapter that abides by the normal Alloy Model conventions that has no persistence, an adapter that simply allows devs to take advantage of model-view binding. The adapter type will likely be "*none*" and will be the default when an adapter is not specified. Another consideration is just making plain old backbone models/collections work with Alloy's binding

Comments

  1. Tony Lukasavage 2013-01-29

    Created a test app that shows how to use plain old backbone models with alloy binding: https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_no_persistence

JSON Source