{"id":3677,"date":"2020-01-18T17:39:30","date_gmt":"2020-01-18T15:39:30","guid":{"rendered":"http:\/\/www.webinvent.ro\/?p=3677"},"modified":"2020-02-23T23:19:54","modified_gmt":"2020-02-23T21:19:54","slug":"ce-este-ajax","status":"publish","type":"post","link":"https:\/\/www.webinvent.ro\/ce-este-ajax\/","title":{"rendered":"Ce este Ajax !?"},"content":{"rendered":"

Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este in sine o tehnica, dar pentru a putea fi folosit ar trebui inteleasa filosofia din spatele lui. Cu alte cuvinte, nu tehnica folosita este imporanta, ci folosirea unui nou set de idei si a unei noi abordari a dezvoltarii web e ce conteaza.
\nIn centrul acestei tehnici se afla obiectul xmlhttprequest si activeX-ul echivalent de la Microsoft. Acest obiect permite datelor sa fie transferate asincron. Asincron inseamna posibilitatea manipularii proceselor independent de alte procese, sincron insemnand ca procesele depind unele de altele.
\nAjax este urmarea progresului natural al unui set existent de tehnici, mai mult decat ceva complet nou. Cu toate acestea, in acest progres, lucrurile sunt afectate altfel decat in anii precedenti in cateva arii principale de activitate:<\/p>\n

Ofera un mecanism pentru integrarea xml-ului cu xhtml.<\/p>\n

Reduce semnificativ nevoia de sincronizare continua cu server-ul (scripting-ul IFrame remote este aproape comparabil aici).<\/p>\n

Preintampina unele bottlenecks (gatuiri) rapide carora dezvoltarea Web traditionala le-a cazut prada. In cele mai multe cazuri un site bazat pe Ajax se va incarca mai repede decat unul de acelasi fel traditional.<\/p>\n

Folosit corect, reduce semnificativ timpul de incarcare initial.
\nTrebuie stiut ca Ajax are si el problemele lui, care vor fi rezolvate odata cu maturizarea. Dar e un domeniu promitator in care sa fii implicat si, cu cat vor trece anii, va afecta modul in care privim dezvoltarea paginilor web si a aplicatiilor web.
\nDupa cum am mai spus, Ajax nu este o tehnologie ci o tehnica care combina mai multe tehnici si tehnologii. Spre exemplu xml, dhtml, css si xhtml. De fapt, Ajax chiar e DHTML cu obiectul xmlhttprequest integrat. Este uimitor cum un obiect poate schimba atat de mult !<\/p>\n","protected":false},"excerpt":{"rendered":"

Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este in sine o tehnica, dar pentru a putea fi folosit ar trebui inteleasa filosofia [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":3678,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[73,77,74,75,65,45,76,71],"class_list":["post-3677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-referate-web","tag-ajax","tag-dhtml","tag-java","tag-javascript","tag-limbaj-programare","tag-web","tag-xhtml","tag-xml"],"yoast_head":"\nCe este Ajax !? | Web Invent Co. Webdesign Studio<\/title>\n<meta name=\"description\" content=\"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...\" \/>\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.webinvent.ro\/ce-este-ajax\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ce este Ajax !?\" \/>\n<meta property=\"og:description\" content=\"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Invent Co. Webdesign Studio\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webinvent.ro\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-18T15:39:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-23T21:19:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/ajax.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"webinvent\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@versuswebinvent\" \/>\n<meta name=\"twitter:site\" content=\"@versuswebinvent\" \/>\n<meta name=\"twitter:label1\" content=\"Scris de\" \/>\n\t<meta name=\"twitter:data1\" content=\"webinvent\" \/>\n\t<meta name=\"twitter:label2\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\"},\"author\":{\"name\":\"webinvent\",\"@id\":\"https:\/\/www.webinvent.ro\/#\/schema\/person\/d3fd8b9e6a3150a90d6368752c13b720\"},\"headline\":\"Ce este Ajax !?\",\"datePublished\":\"2020-01-18T15:39:30+00:00\",\"dateModified\":\"2020-02-23T21:19:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\"},\"wordCount\":290,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webinvent.ro\/#organization\"},\"keywords\":[\"ajax\",\"dhtml\",\"java\",\"javascript\",\"limbaj programare\",\"web\",\"xhtml\",\"xml\"],\"articleSection\":[\"Referate Web\"],\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webinvent.ro\/ce-este-ajax\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\",\"url\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\",\"name\":\"Ce este Ajax !? | Web Invent Co. Webdesign Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.webinvent.ro\/#website\"},\"datePublished\":\"2020-01-18T15:39:30+00:00\",\"dateModified\":\"2020-02-23T21:19:54+00:00\",\"description\":\"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webinvent.ro\/ce-este-ajax\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webinvent.ro\/ce-este-ajax\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webinvent.ro\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ce este Ajax !?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webinvent.ro\/#website\",\"url\":\"https:\/\/www.webinvent.ro\/\",\"name\":\"Web Invent Co. Webdesign Studio | Studio specializat in Programare, Promovare, Administrare & grafica Web, Design Publicitar, Optimizare SEO, Hosting & Domenii\",\"description\":\"Web Invent - Studio specializat in Programare, Promovare, Administrare & grafica Web, Design Publicitar, Optimizare SEO, Hosting & Domenii.\",\"publisher\":{\"@id\":\"https:\/\/www.webinvent.ro\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webinvent.ro\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ro-RO\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webinvent.ro\/#organization\",\"name\":\"Web Invent\",\"url\":\"https:\/\/www.webinvent.ro\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/www.webinvent.ro\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/favicon_apple.png\",\"contentUrl\":\"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/favicon_apple.png\",\"width\":180,\"height\":180,\"caption\":\"Web Invent\"},\"image\":{\"@id\":\"https:\/\/www.webinvent.ro\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webinvent.ro\",\"https:\/\/twitter.com\/versuswebinvent\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webinvent.ro\/#\/schema\/person\/d3fd8b9e6a3150a90d6368752c13b720\",\"name\":\"webinvent\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/www.webinvent.ro\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fc5232604f487a08581450dbe520d510?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fc5232604f487a08581450dbe520d510?s=96&r=g\",\"caption\":\"webinvent\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ce este Ajax !? | Web Invent Co. Webdesign Studio","description":"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...","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.webinvent.ro\/ce-este-ajax\/","og_locale":"ro_RO","og_type":"article","og_title":"Ce este Ajax !?","og_description":"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...","og_url":"https:\/\/www.webinvent.ro\/ce-este-ajax\/","og_site_name":"Web Invent Co. Webdesign Studio","article_publisher":"https:\/\/www.facebook.com\/webinvent.ro","article_published_time":"2020-01-18T15:39:30+00:00","article_modified_time":"2020-02-23T21:19:54+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/ajax.jpg","type":"image\/jpeg"}],"author":"webinvent","twitter_card":"summary_large_image","twitter_creator":"@versuswebinvent","twitter_site":"@versuswebinvent","twitter_misc":{"Scris de":"webinvent","Timp estimat pentru citire":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/#article","isPartOf":{"@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/"},"author":{"name":"webinvent","@id":"https:\/\/www.webinvent.ro\/#\/schema\/person\/d3fd8b9e6a3150a90d6368752c13b720"},"headline":"Ce este Ajax !?","datePublished":"2020-01-18T15:39:30+00:00","dateModified":"2020-02-23T21:19:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/"},"wordCount":290,"commentCount":0,"publisher":{"@id":"https:\/\/www.webinvent.ro\/#organization"},"keywords":["ajax","dhtml","java","javascript","limbaj programare","web","xhtml","xml"],"articleSection":["Referate Web"],"inLanguage":"ro-RO","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webinvent.ro\/ce-este-ajax\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/","url":"https:\/\/www.webinvent.ro\/ce-este-ajax\/","name":"Ce este Ajax !? | Web Invent Co. Webdesign Studio","isPartOf":{"@id":"https:\/\/www.webinvent.ro\/#website"},"datePublished":"2020-01-18T15:39:30+00:00","dateModified":"2020-02-23T21:19:54+00:00","description":"Prescurtarea de la \u201cAsynchronous Javascript \u015fi XML\u201d din limba englez\u0103, Ajax este \u00een sine o tehnic\u0103, dar pentru a putea fi folosit ar trebui \u00een\u021beleas\u0103...","breadcrumb":{"@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webinvent.ro\/ce-este-ajax\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webinvent.ro\/ce-este-ajax\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webinvent.ro\/"},{"@type":"ListItem","position":2,"name":"Ce este Ajax !?"}]},{"@type":"WebSite","@id":"https:\/\/www.webinvent.ro\/#website","url":"https:\/\/www.webinvent.ro\/","name":"Web Invent Co. Webdesign Studio | Studio specializat in Programare, Promovare, Administrare & grafica Web, Design Publicitar, Optimizare SEO, Hosting & Domenii","description":"Web Invent - Studio specializat in Programare, Promovare, Administrare & grafica Web, Design Publicitar, Optimizare SEO, Hosting & Domenii.","publisher":{"@id":"https:\/\/www.webinvent.ro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webinvent.ro\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ro-RO"},{"@type":"Organization","@id":"https:\/\/www.webinvent.ro\/#organization","name":"Web Invent","url":"https:\/\/www.webinvent.ro\/","logo":{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/www.webinvent.ro\/#\/schema\/logo\/image\/","url":"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/favicon_apple.png","contentUrl":"https:\/\/www.webinvent.ro\/wp-content\/uploads\/2020\/01\/favicon_apple.png","width":180,"height":180,"caption":"Web Invent"},"image":{"@id":"https:\/\/www.webinvent.ro\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webinvent.ro","https:\/\/twitter.com\/versuswebinvent"]},{"@type":"Person","@id":"https:\/\/www.webinvent.ro\/#\/schema\/person\/d3fd8b9e6a3150a90d6368752c13b720","name":"webinvent","image":{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/www.webinvent.ro\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fc5232604f487a08581450dbe520d510?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fc5232604f487a08581450dbe520d510?s=96&r=g","caption":"webinvent"}}]}},"_links":{"self":[{"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/posts\/3677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/comments?post=3677"}],"version-history":[{"count":1,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/posts\/3677\/revisions"}],"predecessor-version":[{"id":3679,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/posts\/3677\/revisions\/3679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/media\/3678"}],"wp:attachment":[{"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/media?parent=3677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/categories?post=3677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webinvent.ro\/wp-json\/wp\/v2\/tags?post=3677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}