{"id":595,"date":"2003-12-09T00:54:24","date_gmt":"2003-12-08T22:54:24","guid":{"rendered":"\/\/?p="},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T23:00:00","slug":"phplinks-persistance-layers","status":"publish","type":"post","link":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/","title":{"rendered":"php::Links(&#8216; Persistance Layers &#8216;);"},"content":{"rendered":"<p>stasera ho scoperto il mondo dei <em>Persistance Layers<\/em>. Questi non sono altro che delle classi PHP per la gestione di database come se fossero oggetti, ed \u00e8 quindi possibile aggiungere valori, modificarli o creare nuove strutture in modo semplice ed immediato. <\/p>\n<blockquote><p>A persistence layer encapsulates the behaviour needed to make objects persistent, ie. to load, save and delete objects to and from persistent storage, usually an SQL database server. Currently the only supported persistence mechanisms are relational databases.<\/p><\/blockquote>\n<p>Qualche link di riferimento:<br \/>\n&#8211; <a href=\"http:\/\/pear.php.net\/package-info.php?pacid=80\">Pear DB-DataObject<\/a><br \/>\n&#8211; <a href=\"http:\/\/sourceforge.net\/projects\/phdwait\/\">phdWait<\/a><br \/>\n&#8211; <a href=\"http:\/\/work.sebastian-eichner.de\/projects\/phpsorm.html\">phpSorm<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.sebi.com.ar\/projects\/php\/php_gen\/\">php Gen<\/a><br \/>\n&#8211; <a href=\"http:\/\/vidalcharles.free.fr\/pgosd\/\">pgosd<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.appelsiini.net\/~tuupola\/php\/DB_DataContainer\/\">DB DataContainer<\/a><\/p>\n<p>ciuaz<\/p>\n","protected":false},"excerpt":{"rendered":"<p>stasera ho scoperto il mondo dei Persistance Layers. Questi non sono altro che delle classi PHP per la gestione di database come se fossero oggetti, ed \u00e8 quindi possibile aggiungere valori, modificarli o creare nuove strutture in modo semplice ed immediato. A persistence layer encapsulates the behaviour needed to make objects persistent, ie. to load, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-tecnologia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>php::Links(&#039; Persistance Layers &#039;); - Fullo<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"php::Links(&#039; Persistance Layers &#039;); - Fullo\" \/>\n<meta property=\"og:description\" content=\"stasera ho scoperto il mondo dei Persistance Layers. Questi non sono altro che delle classi PHP per la gestione di database come se fossero oggetti, ed \u00e8 quindi possibile aggiungere valori, modificarli o creare nuove strutture in modo semplice ed immediato. A persistence layer encapsulates the behaviour needed to make objects persistent, ie. to load, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\" \/>\n<meta property=\"og:site_name\" content=\"Fullo\" \/>\n<meta property=\"article:published_time\" content=\"2003-12-08T22:54:24+00:00\" \/>\n<meta name=\"author\" content=\"Francesco Fullone\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fullo\" \/>\n<meta name=\"twitter:site\" content=\"@fullo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Francesco Fullone\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\"},\"author\":{\"name\":\"Francesco Fullone\",\"@id\":\"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c\"},\"headline\":\"php::Links(&#8216; Persistance Layers &#8216;);\",\"datePublished\":\"2003-12-08T22:54:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\"},\"wordCount\":101,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c\"},\"articleSection\":[\"tecnologia\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\",\"url\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\",\"name\":\"php::Links(' Persistance Layers '); - Fullo\",\"isPartOf\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/#website\"},\"datePublished\":\"2003-12-08T22:54:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fullo.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"php::Links(&#8216; Persistance Layers &#8216;);\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fullo.net\/blog\/#website\",\"url\":\"https:\/\/www.fullo.net\/blog\/\",\"name\":\"Fullo\",\"description\":\"nulla e&#039; impossibile per chi non lo deve fare!\",\"publisher\":{\"@id\":\"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fullo.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c\",\"name\":\"Francesco Fullone\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1\",\"url\":\"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1\",\"width\":622,\"height\":622,\"caption\":\"Francesco Fullone\"},\"logo\":{\"@id\":\"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1\"},\"sameAs\":[\"http:\/\/www.fullo.net\",\"https:\/\/www.linkedin.com\/in\/fullo\",\"https:\/\/x.com\/fullo\"],\"url\":\"https:\/\/www.fullo.net\/blog\/author\/fullo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"php::Links(' Persistance Layers '); - Fullo","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/","og_locale":"en_US","og_type":"article","og_title":"php::Links(' Persistance Layers '); - Fullo","og_description":"stasera ho scoperto il mondo dei Persistance Layers. Questi non sono altro che delle classi PHP per la gestione di database come se fossero oggetti, ed \u00e8 quindi possibile aggiungere valori, modificarli o creare nuove strutture in modo semplice ed immediato. A persistence layer encapsulates the behaviour needed to make objects persistent, ie. to load, [&hellip;]","og_url":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/","og_site_name":"Fullo","article_published_time":"2003-12-08T22:54:24+00:00","author":"Francesco Fullone","twitter_card":"summary_large_image","twitter_creator":"@fullo","twitter_site":"@fullo","twitter_misc":{"Written by":"Francesco Fullone"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#article","isPartOf":{"@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/"},"author":{"name":"Francesco Fullone","@id":"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c"},"headline":"php::Links(&#8216; Persistance Layers &#8216;);","datePublished":"2003-12-08T22:54:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/"},"wordCount":101,"commentCount":0,"publisher":{"@id":"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c"},"articleSection":["tecnologia"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/","url":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/","name":"php::Links(' Persistance Layers '); - Fullo","isPartOf":{"@id":"https:\/\/www.fullo.net\/blog\/#website"},"datePublished":"2003-12-08T22:54:24+00:00","breadcrumb":{"@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fullo.net\/blog\/2003\/12\/09\/phplinks-persistance-layers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fullo.net\/blog\/"},{"@type":"ListItem","position":2,"name":"php::Links(&#8216; Persistance Layers &#8216;);"}]},{"@type":"WebSite","@id":"https:\/\/www.fullo.net\/blog\/#website","url":"https:\/\/www.fullo.net\/blog\/","name":"Fullo","description":"nulla e&#039; impossibile per chi non lo deve fare!","publisher":{"@id":"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fullo.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.fullo.net\/blog\/#\/schema\/person\/24e91bc6caea6c411a8668df5639428c","name":"Francesco Fullone","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1","url":"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1","width":622,"height":622,"caption":"Francesco Fullone"},"logo":{"@id":"https:\/\/i0.wp.com\/www.fullo.net\/blog\/wp-content\/uploads\/2024\/10\/hawiaina-gold-circled-white.png?fit=622%2C622&ssl=1"},"sameAs":["http:\/\/www.fullo.net","https:\/\/www.linkedin.com\/in\/fullo","https:\/\/x.com\/fullo"],"url":"https:\/\/www.fullo.net\/blog\/author\/fullo\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3OSc1-9B","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":310,"url":"https:\/\/www.fullo.net\/blog\/2003\/06\/26\/phplinksdaogen\/","url_meta":{"origin":595,"position":0},"title":"php::Links(&#8216;daoGen&#8217;)","author":"Francesco Fullone","date":"26\/06\/2003","format":false,"excerpt":"Creare classi per la gestione di database non \u00e8 mai stato pi\u00f9 facile! Grazie a daoGen sar\u00e0 possibile creare e gestire un db in maniera semplice ed efficiente. Lo script, una volta immesse le specifiche del db ci creer\u00e0 4 file: il primo contentente la struttura SQL-compliant delle nostre tabelle,\u2026","rel":"","context":"In &quot;tecnologia&quot;","block_context":{"text":"tecnologia","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2206,"url":"https:\/\/www.fullo.net\/blog\/2007\/02\/05\/php-e-paradox\/","url_meta":{"origin":595,"position":1},"title":"PHP e Paradox","author":"Francesco Fullone","date":"05\/02\/2007","format":false,"excerpt":"I lavori pi\u00f9 strambi sono anche i pi\u00f9 divertenti, oggi ho recuperato un DB paradox di una decina di anni fa usando PHP, la PECL di Paradox ed una libreria ad hoc per linux. A seguire il piccolo tutorial per accedere ad un db Paradox. Piccola premessa, tutti i test\u2026","rel":"","context":"In &quot;php&quot;","block_context":{"text":"php","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2350,"url":"https:\/\/www.fullo.net\/blog\/2007\/10\/17\/sqlserver-driver-per-php-5\/","url_meta":{"origin":595,"position":2},"title":"SQLServer driver per PHP 5","author":"Francesco Fullone","date":"17\/10\/2007","format":false,"excerpt":"Pare che Microsoft si sia svegliata ed abbia finalmente rilasciato un driver ufficiale per SQL Server 2005. Il driver supporta stream di dati, SQL parametrizzati ed ha a corredo, pare, una buona documentazione. Leggo per\u00f2 che a parte un discorso di chiusura del codice, opinabile in un linguaggio dichiaratamente OSS,\u2026","rel":"","context":"In &quot;php&quot;","block_context":{"text":"php","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1660,"url":"https:\/\/www.fullo.net\/blog\/2005\/09\/22\/phparchitect-settembre\/","url_meta":{"origin":595,"position":3},"title":"php|architect settembre","author":"Francesco Fullone","date":"22\/09\/2005","format":false,"excerpt":"Nel nuovo numero di settembre di php|architect: An Introduction to PDO A common complaint of the anti-PHP \u201cexpert\u201d is the lack of a bundled, uniform database access component. With the advent of an improved object model, in PHP 5.0, a few of PHP\u2019s core developers decided that the time has\u2026","rel":"","context":"In &quot;php&quot;","block_context":{"text":"php","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":957,"url":"https:\/\/www.fullo.net\/blog\/2004\/08\/02\/phplinks-formsess\/","url_meta":{"origin":595,"position":4},"title":"php::Links(&#8216; formsess &#8216;);","author":"Francesco Fullone","date":"02\/08\/2004","format":false,"excerpt":"Formsess is a forms toolkit designed for Smarty, the compiling template engine. It handles most common step of forms manipulation: - generation - data association - validation (server side, and in the developement version, client side) - persistance of data through session ciuaz","rel":"","context":"In &quot;php&quot;","block_context":{"text":"php","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":620,"url":"https:\/\/www.fullo.net\/blog\/2003\/12\/22\/phplinks-dedicati-a-php5\/","url_meta":{"origin":595,"position":5},"title":"php::Links(&#8216; dedicati a PHP5&#8217; );","author":"Francesco Fullone","date":"22\/12\/2003","format":false,"excerpt":"Creole is a database abstraction layer for PHP5. It abstracts PHP's native db-specific API to create more portable code while also providing developers with a clean fully object-oriented interface based on the API for Java's JDBC. There are a number of database abstraction packages for PHP. Creole draws from experience\u2026","rel":"","context":"In &quot;tecnologia&quot;","block_context":{"text":"tecnologia","link":"https:\/\/www.fullo.net\/blog\/category\/tecnologia\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":0,"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fullo.net\/blog\/wp-json\/wp\/v2\/tags?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}