{"id":118,"date":"2010-06-01T18:38:09","date_gmt":"2010-06-01T16:38:09","guid":{"rendered":"http:\/\/www.4amics.com\/x.perez\/?p=118"},"modified":"2010-06-18T15:50:11","modified_gmt":"2010-06-18T13:50:11","slug":"new-datastorage-class","status":"publish","type":"post","link":"https:\/\/www.4amics.com\/x.perez\/2010\/06\/new-datastorage-class\/","title":{"rendered":"New Data_Registry Class"},"content":{"rendered":"<p>I have developed a new class to save any kind of data in a php program, and retrieve it in any other php script.<\/p>\n<p>The Data_registry class is a singleton class, and all data can have persistence saved in the session files (DB, memcache also). It&#8217;s an great improvement over Zend_Registry class, duo to it&#8217;s better capabilities.<\/p>\n<p>This can help in debugging, tracing code, retrieving errors after page crash (if the error is stored persistent, you can get it in any other page meanwhile you don&#8217;t close your browser).<\/p>\n<p>The class can store any class, can create a new class and make it available in any other script, also can have persistence !!<\/p>\n<p>Take a look at google code: <a title=\"DataStorage Class Download\" href=\"http:\/\/code.google.com\/p\/data-registry\/\" target=\"_blank\">http:\/\/code.google.com\/p\/data-registry\/<\/a><\/p>\n<p>Or try it in a simple demo: <a title=\"Data Registry Demo\" href=\"http:\/\/www.4amics.com\/libraries\/data_registry\/Data_Registry_Examples.php\">http:\/\/www.4amics.com\/libraries\/data_registry\/Data_Registry_Examples.php<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have developed a new class to save any kind of data in a php program, and retrieve it in any other php script. The Data_registry class is a singleton class, and all data can have persistence saved in the session files (DB, memcache also). It&#8217;s an great improvement over Zend_Registry class, duo to it&#8217;s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9,11,10,13],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-developer","category-optimization","category-php","category-testing","category-tracing-debuggin"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":5,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/posts\/118\/revisions\/120"}],"wp:attachment":[{"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.4amics.com\/x.perez\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}