links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: "json",

Top "json" experts: detal, taylorparsons, kamantoto, zeoninja, baileybaron, raghdatorab,

1 - 10 of 25 next »   Watch mshook
 
via http://twitter.com/programmingjoy/status/5857692995

I decided to re-engineer it from the ground up. JPolite V2 is then a complete re-design from the ground up with nothing from V1 except for the look & feel. The code structure is much clearer which makes it easier for customization, as well as integration with other jQuery plugins.

A new feature that is now being tested with JPolite is called XDO (XML Data Object), which currently supports JSON objects only. The whole idea is based on some discussion around “Thin Server Architecture” and REST architecture style, that a browser client first construct the foundation of a web app with STATIC content (HTML, CSS and JavaScript) from a web server, and then exchange only DATA (XML, JSON, TXT) with the application server, which relieves the server from the burden of generating HTML markup. This feature is still experimental with lots enhancements expected.

by mshook 2009-11-19 10:20 jquery · jpolite · interview · javascript · portal · igoogle · netvibes · why · json · gadget · framework · rest · architecture · xdo · interesting
http://openvoice.ossreleasefeed.com/2009/11/wayne-lee-on-jpolite-lightweight-jquery-based-portal-framework/ - cached - mail it - history
I'm working on a project that uses data in JSON format  (www.json.org).  It took me a while to get it going in processing, so I thought I'd post what I did here.  If there's a better way (which undoubtedly there is!), please let me know.

Andrew Odewahn

--
Here are the steps I took (on Windows):

1.  Download http://www.json.org/java/json.zip from json.org.  Save it in a some directory, which I'll call %DOWNLOAD_HOME%.

2.  Unzip it.  Be sure you preserve the archive's directory structure (/org/json/) when you unzip the file.  

3.  Change directory into %DOWNLOAD_HOME%orgjson
by mshook 2009-09-22 10:48 processing · howto · json · java · code · library · emon
http://processing.org/discourse/yabb2/YaBB.pl?board=Integrate%3Baction=display%3Bnum=1163101573 - cached - mail it - history

JSON ... it's the intersection of all modern programming languages. All languages have some sense of data, and structures of data. They all have simple values like number strings, and booleans. They all have some sense of a sequence of values. ... Every language has some sense of a collection of named values; it might be an object, or a record, or a struct, or a hash, or a property list, or something. All languages have these, these are universal ideas.

... But they all have the same idea about what the data looks like, and JSON has the thing that's common to everything. By being at the intersection, it turns out to be the thing that everybody can agree on, so it's really easy to pass data back and forth.

Prior data interchange formats tended to try to be the union of all the languages, and that turns out to be horrendously complex, and very difficult to deal with. JSON, by being so simple, actually became really easy to use.

by mshook 2009-08-15 22:59 via · json · popular · history · lisp · runoff · markup · very · good · video · why · language · minimal · jsont · xml · critique · html · data · tree · javascript
http://developer.yahoo.com/yui/theater/video.php?v=crockford-json - cached - mail it - history
SELECT CONCAT( "[", GROUP_CONCAT( CONCAT("{name:'",`name`,"'"), CONCAT(",email:'",`email`,"'}") ) ,"]") AS json FROM users; CREATE TABLE `user`( `id` int not null auto_increment, `name` varchar(100), `email` varchar(50), PRIMARY KEY(id) ) ENGINE = InnoDB; INSERT INTO `user` (`name`, `email`) VALUES ('Cesar', 'cesar@craftyman.net'), ('Maria', 'maria@gmail.com'), ('Jose', 'j0s3@hotmail.com'), ('Albert','albertpr@yahoo.com');
by mshook 2009-08-10 08:54 via · json · popular · mysql · sql · howto · code · example
http://craftyman.net/mysql-to-json/ - cached - mail it - history
Features: * Multiple Data Representations: Treemaps, Radial Layouts, HyperTrees/Graphs, SpaceTree-like Layouts, and more... * Major Browsers Support: IE6+, Firefox2+, Safari3+, Opera9.5+ * Open Source: Licensed under the BSD License * Library Agnostic: You may use the JIT with your favorite DOM manipulation framework * Extensible: All visualization classes are mutable, so you can easily add/override any method you want. * Composable: Visualizations can be combined in order to create new visualization methods.
by mshook 2009-08-08 20:01 cool · javascript · processing · visualization · graph · json · tree · map · demo · source
http://thejit.org/ - cached - mail it - history

Firstly, define all the necessary information for a given module ID in _modules variable, e.g.,

...
m301:{l:"m301.html", t:"Module Definition"},
m302:{l:"m302.html", t:"Layout Definition"},
m303:{l:"m303.html", t:"Column Width Definition", c:"green"},
...
Wherein:
  • m301 - the module ID
  • l - short for link, defines the url of this module
  • t - short for title, defines the title of the module when loaded
  • c - short for color, defines the color theme of the module, now "red", "orange", "green", "yellow", "white" are supported with blue as default.
by mshook 2009-07-15 11:46 javascript · jquery · cms · framework · very · cool · emon · gadget · iframe · json · plugin · viapopular
http://www.trilancer.com/jpolite/ - cached - mail it - history

There are actually 3 protocols and 2 APIs that are used in Wave:

  • Federation (XMPP)
  • The robot protocol (JSONRPC)
  • The gadget API (OpenSocial)
  • The wave embed API (Javascript)
  • The client-server protocol (As defined by GWT)

The last one in that list is really nothing that needs to be, or will probably ever be documented, it is generated by GWT and when you build your own Wave client you will need to define how it talks to your Wave server. The rest of the protocols and APIs are based on existing technologies.

by mshook 2009-07-06 18:02 wave · rest · example · protocol · json · xmpp · gwt · joegregorio · good · api · rpc · how · why · comments · gadget · robot
http://bitworking.org/news/431/wave-first-thoughts - cached - mail it - history
  1. Use HTTP
  2. Use your verbs
  3. Keep Your URL/URIs Consistent
  4. Use Your Status Codes
  5. Expose (And Accept) Multiple Data Formats
  6. Protect Your Users with OAuth
  7. Don’t Shut Off HTTP Authentication Entirely
  8. Document, Document, Document
by mshook 2009-07-05 22:14 rest · api · tips · howto · example · code · xml · json · emon
http://wonderfullyflawed.com/2009/07/02/get-your-api-right/ - cached - mail it - history
google.visualization.Query.setResponse({
    version: '0.6',
    status: 'ok',
    sig: '202289222',
    table: {
        cols: [{
            id: 'A',
            label: 'Name',
            type: 'string',
            pattern: ''
        },
        {
            id: 'B',
            label: 'Value',
            type: 'number',
            pattern: '#0.###############'
        }],
        rows: [{
            c: [{
                v: 'One'
            },
            {
                v: 1.0,
                f: '1'
            }]
        },
        {
            c: [{
                v: 'Ten'
            },
            {
                v: 10.0,
                f: '10'
            }]
        }]
    }
});

( pretty printed by http://jsbeautifier.org/ )

by mshook 2009-06-20 00:23 javascript · pp · google · gadget · visualization · api · query · code · how · spreadsheet · data · source · datasource · json
http://spreadsheets.google.com/tq?key=rYdmpMlO1sGo3OBxv6SusWA&range=A1:B3&gid=0 - cached - mail it - history
1 - 10 of 25 next »  
Related Tags
 
- exclude ~ optional + require
Add Dates