json AJAX and JSON By www.sproutworks.com Published On :: Sun, 9 Jul 2006 04:06:25 PST I have been writing simple AJAX applications for a while now. Up to now I have stuck with procedural JavaScript that fetchs raw HTML and inserts it in the page. I knew these methods were lacking, but I used them for quite a while anyway. I started reading about how to write object oriented JavaScript. I don't what took me so long to look into it. I've been using OO in C++ for about 10 years, and PHP for 3 years. I'm a big fan of objects. So tonight, I decided to write an Ajax object as part of a bigger scheme to buld myself a useful library for doing net stuff. I ran into some problems using a callback function for the xmlhttp response, but I figured it out. Next I started reading about parsing XML and JSON. I decided to try JSON since it sounded easier. I made a PHP class that converts an array of derived classes into a JSON object. I made a simple callback to parse the object on the client side, and write some boxes full of fake data into the page. Now everything is in place to use in a real application. I think I'll start with making an AJAX file/directory browser for a PHP project management system I'm developing. Then there are plenty of things I want to ajaxify. Full Article ajax javascript json
json SE Radio 570: Stanisław Barzowski on the jsonnet Language By se-radio.net Published On :: Tue, 27 Jun 2023 22:15:00 +0000 Stanisław Barzowski of XTX Markets and a committer on the jsonnet project joins SE Radio's Robert Blumen for a conversation about the jsonnet programming language. A superset of JSON, jsonnet adds programming language capabilities, particularly to address the need to handle large but mostly repetitive JSON configurations. They discuss the project’s history, use cases for Grafana and Kubernetes config, and interoperability with YAML. They examine jsonnet details, including the command line, constrained capabilities of the language, and objects and inheritance, and then consider the toolchain: compiler, formatter, and linter, as well as test frameworks and testing, package management, and the language’s performance. Barzowski describes four implementations -- go, C++, Rust, and Scala -- as well as popular libraries and the standard library. Full Article
json [ Z.171 (10/21) ] - Testing and Test Control Notation version 3: Using JSON with TTCN-3 By www.itu.int Published On :: Fri, 29 Oct 2021 09:12:00 GMT Testing and Test Control Notation version 3: Using JSON with TTCN-3 Full Article
json [ Z.171 (10/23) ] - Testing and Test Control Notation version 3: Using JSON with TTCN-3 By www.itu.int Published On :: Wed, 20 Dec 2023 09:22:00 GMT Testing and Test Control Notation version 3: Using JSON with TTCN-3 Full Article
json 639: DX, JSON, XML, HTML, and Databases! Oh My! By shoptalkshow.com Published On :: Mon, 28 Oct 2024 08:49:04 +0000 How important is the DX of software vs how important is the person showing off the software, Douglas Crockford and JSON, remembering XML, trying to write better HTML for email, new TC39 proposal, workshopping t-shirts, and what do you do if you want a little bit of database on your website? Full Article All Episodes database dx Javascript
json Loading JSON-formatted data with Ajax and `xhr.responseType='json'` By mathiasbynens.be Published On :: Wed, 24 Jul 2013 23:14:15 +0200 This post explains a hidden gem in the XMLHttpRequest standard that simplifies fetching and parsing JSON data through Ajax. Full Article
json Hiding JSON-formatted data in the DOM with CSP enabled By mathiasbynens.be Published On :: Tue, 27 Aug 2013 16:32:01 +0200 If Content Security Policy is enabled for protection against cross-site scripting attacks (i.e. the unsafe-inline option is not set), the use of inline