Programación en Internet

Blog de la asignatura de la titulación Ingeniero en Informática

27 febrero 2017
by Sergio Luján Mora
3 Comments

Por qué los frameworks son malos

Tampoco son malos, pero hay que saber para qué usarlos y cuándo usarlos. Una buena explicación y una buena solución la tenemos en Frameworks without the framework: why didn’t we think of this sooner?:

We’re shipping too much code to our users. Like a lot of front end developers, I’ve been in denial about that fact, thinking that it was fine to serve 100kb of JavaScript on page load – just use one less .jpg! – and that what really mattered was performance once your app was already interactive.

But I was wrong. 100kb of .js isn’t equivalent to 100kb of .jpg. It’s not just the network time that’ll kill your app’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.

If you’re not convinced that this is a problem, follow Alex Russell on Twitter. Alex hasn’t been making many friends in the framework community lately, but he’s not wrong. But the proposed alternative to using frameworks like Angular, React and Ember – Polymer – hasn’t yet gained traction in the front end world, and it’s certainly not for a lack of marketing.

Perhaps we need to rethink the whole thing.

10 febrero 2017
by Sergio Luján Mora
2 Comments

Cambiar el juego de caracteres no es sólo cambiar la declaración

Muy buena la aclaración que aparece en Using character escapes in markup and CSS:

Changing to UTF-8 means re-saving your file. Using the character encoding UTF-8 for your page means that you can avoid the need for most escapes and just work with characters. Note, however, that to change the encoding of your document, it is not enough to just change the encoding declaration at the top of the page or on the server. You need to re-save your document in that encoding. For help understanding how to do that with your application read Setting encoding in web authoring applications.

8 febrero 2017
by Sergio Luján Mora
0 comments

Error en los textos

Un sitio web es un producto tecnológico que puede llegar a ser muy complejo ya que combina muchos componentes. Uno de esos componentes es algo tan simple como el texto que muestra la página web.

En Aulas Informáticas de libre acceso (Informática, nuevas tecnologías y redes sociales) he encontrado un error de edición en los textos:

ua-textos

A alguien se le ha olvidado editar y actualizar los textos que se muestran:

  • (la sociedad del cercano futuro) no me gusta, quitar , la sociedad de la información
  • ha creado puesto en funcionamiento
  • la planta baja (antigua sala de estudio 24 horas) quitar