{"id":406,"date":"2017-07-25T09:40:46","date_gmt":"2017-07-25T07:40:46","guid":{"rendered":"http:\/\/webposible.com\/xposible\/?p=406"},"modified":"2017-07-25T09:44:11","modified_gmt":"2017-07-25T07:44:11","slug":"indexeddb","status":"publish","type":"post","link":"http:\/\/webposible.com\/xposible\/2017\/indexeddb\/","title":{"rendered":"IndexedDB"},"content":{"rendered":"<p>Estaba mirando la especificaci\u00f3n de <a href=\"https:\/\/www.w3.org\/TR\/IndexedDB\/\" lang=\"en\" hreflang=\"en\">Indexed Database <abbr title=\" Application Programming Interface\">API<\/abbr><\/a> (especificaci\u00f3n del <abbr title=\"World Wide Web Consortium\" lang=\"en\">W3C<\/abbr> desde el 2015), pero gracias al siguiente tutorial, me he enterado mucho mejor. Y aqu\u00ed lo dejo.<\/p>\n<blockquote lang=\"en\" cite=\"https:\/\/www.ibm.com\/developerworks\/library\/wa-indexeddb\/index.html\"><p>A website can have one or more IndexedDB databases. Each database must have a unique name.<\/p>\n<p>A database can contain one or more object stores. An object store, which is also uniquely identified by a name, is a collection of records. Each record has a key and a value. The value is an object that can have one or more properties or attributes. The key can be based on a key generator, derived by a key path, or explicitly set. A key generator automatically generates a unique sequential positive integer. A key path defines the path to the key value. It can be a single JavaScript identifier or multiple identifiers separated by periods.<\/p>\n<p>The specification includes both an asynchronous and a synchronous API. The synchronous API is meant to be used within web workers. The asynchronous API uses requests and callbacks.<\/p><\/blockquote>\n<p lang=\"en\"><cite>Brian Stewart<\/cite> \u2014 <a href=\"https:\/\/www.ibm.com\/developerworks\/library\/wa-indexeddb\/index.html\" hreflang=\"en\">Using the HTML5 IndexedDB API<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Estaba mirando la especificaci\u00f3n de Indexed Database API (especificaci\u00f3n del W3C desde el 2015), pero gracias al siguiente tutorial, me he enterado mucho mejor. Y aqu\u00ed lo dejo. A website can have one or more IndexedDB databases. Each database must have a unique name. A database can contain one or more object stores. An object [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,62,69],"tags":[],"_links":{"self":[{"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/posts\/406"}],"collection":[{"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/comments?post=406"}],"version-history":[{"count":3,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/posts\/406\/revisions"}],"predecessor-version":[{"id":409,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/posts\/406\/revisions\/409"}],"wp:attachment":[{"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/media?parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/categories?post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/webposible.com\/xposible\/wp-json\/wp\/v2\/tags?post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}