Coder Social home page Coder Social logo

Serialize agility object about agility HOT 3 CLOSED

garygreen avatar garygreen commented on July 4, 2024
Serialize agility object

from agility.

Comments (3)

chay-xu avatar chay-xu commented on July 4, 2024

it is no way to use the selector. This is my fork repo, because I want to write a pop-up layer plugin, this repo helps me, you can go look http://agilityjs.com

------------------ 原始邮件 ------------------
发件人: "garygreen";
发送时间: 2013年10月17日(星期四) 晚上9:14
收件人: "arturadib/agility";
主题: [agility] Serialize agility object (#109)

Is it possible to serialize an agility object, much like jQuery's .serialize() ?


Reply to this email directly or view it on GitHub.

from agility.

phonovision avatar phonovision commented on July 4, 2024

Do you really want to serialize the whole agility object?

Usually nothing more than the model is of interest. If necerssary, format and style also can be serialized, but (controller) methods need special treetment.

from agility.

garygreen avatar garygreen commented on July 4, 2024

Agility can be a bit cumbersome when working with the container, as it's difficult to get the full 'serialized' object -- i.e. when working with relationships and you wish to send the full tree during a POST save request.

Maybe it's the way I'm using the container i.e. .append that proves restrictive. Lets say you .append to the main collection, then the object that was appended too has things appended to it -- it should be easy to add a 'serialize' object that will return the full 'tree' as per all the containers and children for each agility object.

from agility.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.