8000 Use backbone.js for client-side representation of models · Issue #11 · k3integrations/k3cms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use backbone.js for client-side representation of models #11
Open
@TylerRick

Description

@TylerRick

http://documentcloud.github.com/backbone/

model.save([attributes], [options])

Save a model to your database (or alternative persistence layer), by delegating to Backbone.sync. The attributes hash (as in set) should contain the attributes you'd like to change -- keys that aren't mentioned won't be altered. If the model has a validate method, and validation fails, the model will not be saved. If the model isNew, the save will be a "create" (HTTP POST), if the model already exists on the server, the save will be an "update" (HTTP PUT).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0