{"id":4277,"date":"2017-02-27T09:00:56","date_gmt":"2017-02-27T08:00:56","guid":{"rendered":"https:\/\/blogs.ua.es\/pi\/?p=4277"},"modified":"2016-12-01T22:57:40","modified_gmt":"2016-12-01T21:57:40","slug":"por-que-los-frameworks-son-malos","status":"publish","type":"post","link":"https:\/\/blogs.ua.es\/pi\/2017\/02\/27\/por-que-los-frameworks-son-malos\/","title":{"rendered":"Por qu\u00e9 los frameworks son malos"},"content":{"rendered":"<p>Tampoco son malos, pero hay que saber para qu\u00e9 usarlos y cu\u00e1ndo usarlos. Una buena explicaci\u00f3n y una buena soluci\u00f3n la tenemos en\u00a0<a href=\"https:\/\/svelte.technology\/blog\/frameworks-without-the-framework\/\">Frameworks without the framework: why didn&#8217;t we think of this sooner?<\/a>:<\/p>\n<blockquote><p>We&#8217;re shipping too much code to our users. Like a lot of front end developers, I&#8217;ve been in denial about that fact, thinking that it was fine to serve 100kb of JavaScript on page load \u2013 just use one less .jpg! \u2013 and that what really mattered was performance once your app was already interactive.<\/p>\n<p>But I was wrong. 100kb of .js isn&#8217;t equivalent to 100kb of .jpg. It&#8217;s not just the network time that&#8217;ll kill your app&#8217;s startup performance, but the time spent parsing and evaluating your script, during which time the browser becomes completely unresponsive. On mobile, those milliseconds rack up very quickly.<\/p>\n<p>If you&#8217;re not convinced that this is a problem, follow Alex Russell on Twitter. Alex hasn&#8217;t been making many friends in the framework community lately, but he&#8217;s not wrong. But the proposed alternative to using frameworks like Angular, React and Ember \u2013 Polymer \u2013 hasn&#8217;t yet gained traction in the front end world, and it&#8217;s certainly not for a lack of marketing.<\/p>\n<p>Perhaps we need to rethink the whole thing.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Tampoco son malos, pero hay que saber para qu\u00e9 usarlos y cu\u00e1ndo usarlos. Una buena explicaci\u00f3n &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/blogs.ua.es\/pi\/2017\/02\/27\/por-que-los-frameworks-son-malos\/\"> <span class=\"screen-reader-text\">Por qu\u00e9 los frameworks son malos<\/span> Read more \u2192<\/a><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4277","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/4277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/comments?post=4277"}],"version-history":[{"count":1,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/4277\/revisions"}],"predecessor-version":[{"id":4278,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/4277\/revisions\/4278"}],"wp:attachment":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/media?parent=4277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/categories?post=4277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/tags?post=4277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}