{"id":69054,"date":"2022-05-08T17:54:39","date_gmt":"2022-05-08T15:54:39","guid":{"rendered":"https:\/\/rmarketingdigital.com\/wiki\/orm-2\/"},"modified":"2024-10-28T22:57:39","modified_gmt":"2024-10-28T21:57:39","slug":"orm","status":"publish","type":"glossary","link":"https:\/\/rmarketingdigital.com\/en\/wiki\/orm\/","title":{"rendered":"ORM"},"content":{"rendered":"<p><\/p>\n<div>\n<p><h2 class=\"titulo-entrada-wiki\">ORM concept<\/h2>\n<\/p>\n<div class=\"section\">\n<h3>What is the ORM?<\/h3>\n<p>The <strong>ORM<\/strong> <strong>(Object Relational Mapping)<\/strong> is a <strong>programming technique that allows the linking of objects with the data that they represent<\/strong>. From this dynamics, it achieves that the data access tasks are simplified for the programmer. In Spanish it is also known as Object-Relational Mapping.<\/p>\n<p>Its use has increased in recent years, surpassing the SQL code for the ability to delimit the number of records in a query, while freeing the programmer from manual writing to create the queries and manage the data in the RDBMS. From this dynamic,\u00a0<strong>Allows database mapping to be automatic.<\/strong><\/p>\n<p>The ORM <strong>It contains tools that allow the conversion of objects to be stored in a relational database.<\/strong> It also gives the opportunity to use the characteristics of object orientation, mainly inheritance and polymorphism. Similarly, when you retrieve the stored data from the relational database, the records become objects.<\/p>\n<p>Finally, <strong>works as an intermediate solution that bridges the gap between object-oriented language handling and relational database<\/strong>, facilitating the programmer&#039;s task and ensuring that data access is automatic.<\/p>\n<\/div>\n<div class=\"section\">\n<h3>What is the ORM for<\/h3>\n<p>It serves so that <strong>the database programming procedure is quick<\/strong>, as well as for <strong>reduce codes inserted in tables<\/strong> and <strong>make mapping as automatic as possible<\/strong>. All this, without the need for the programmer to insert codes and adapt them to the different tables according to the modifications required in the app.<\/p>\n<p>Some of the advantages of the ORM can be found in <strong>the security it provides to the data access layer against attacks.<\/strong> \u00a0Besides, the <strong>ease of maintaining the code and its own language for querying<\/strong>. Even though the latter can generate certain difficulties, since to make good use of the ORM, a deep knowledge of its operation is required.<\/p>\n<\/div>\n<div class=\"section\">\n<h3>ORM examples<\/h3>\n<p>Examples of ORMs that can be mentioned include <strong>Hibernate, iBatis, Entity Frameworks, Doctrine, Propel, DataObjects.net, Torque, Torpor, Django and many more<\/strong> adapted for different programming languages such as Java, PHP, Python and Net. The best known is Hibernate for Java.<\/p>\n<p>Although there are usage packages available for Object-Relational Mapping on the market, many programmers prefer to create their own tools.<\/p>\n<\/div>\n<div class=\"section\">\n<h3>More information about ORM<\/h3>\n<p>Would you like to know more about the ORM? Next, we suggest reading the following posts related to the topic:<\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Concepto de ORM \u00bfQu\u00e9 es el ORM? El ORM (Object Relational Mapping) es una t\u00e9cnica de programaci\u00f3n que permite la vinculaci\u00f3n de los objetos con los datos que ellos mismos&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"template":"","glossary-cat":[],"class_list":["post-69054","glossary","type-glossary","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ORM - R Marketing Digital<\/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:\/\/rmarketingdigital.com\/en\/wiki\/orm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ORM\" \/>\n<meta property=\"og:description\" content=\"Concepto de ORM \u00bfQu\u00e9 es el ORM? El ORM (Object Relational Mapping) es una t\u00e9cnica de programaci\u00f3n que permite la vinculaci\u00f3n de los objetos con los datos que ellos mismos...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rmarketingdigital.com\/en\/wiki\/orm\/\" \/>\n<meta property=\"og:site_name\" content=\"R Marketing Digital\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-28T21:57:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/orm\\\/\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/orm\\\/\",\"name\":\"ORM - R Marketing Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\"},\"datePublished\":\"2022-05-08T15:54:39+00:00\",\"dateModified\":\"2024-10-28T21:57:39+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/orm\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/\",\"name\":\"R Marketing Digital\",\"description\":\"Agencia SEO | Publicidad redes sociales | Community Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rmarketingdigital.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ORM - R Digital Marketing","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:\/\/rmarketingdigital.com\/en\/wiki\/orm\/","og_locale":"en_US","og_type":"article","og_title":"ORM","og_description":"Concepto de ORM \u00bfQu\u00e9 es el ORM? El ORM (Object Relational Mapping) es una t\u00e9cnica de programaci\u00f3n que permite la vinculaci\u00f3n de los objetos con los datos que ellos mismos...","og_url":"https:\/\/rmarketingdigital.com\/en\/wiki\/orm\/","og_site_name":"R Marketing Digital","article_modified_time":"2024-10-28T21:57:39+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rmarketingdigital.com\/wiki\/orm\/","url":"https:\/\/rmarketingdigital.com\/wiki\/orm\/","name":"ORM - R Digital Marketing","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/#website"},"datePublished":"2022-05-08T15:54:39+00:00","dateModified":"2024-10-28T21:57:39+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rmarketingdigital.com\/wiki\/orm\/"]}]},{"@type":"WebSite","@id":"https:\/\/rmarketingdigital.com\/#website","url":"https:\/\/rmarketingdigital.com\/","name":"R Digital Marketing","description":"SEO Agency | Advertising social networks | Community Management","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rmarketingdigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69054\/revisions"}],"wp:attachment":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media?parent=69054"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary-cat?post=69054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}