All Aboard…Ruby on Rails 3.1!

Ruby on Rails 3.1 utiliza una nueva tecnología llamada Sprockets para acelerar la ejecución de JavaScript. Sprockets compila todas las funciones que utiliza una aplicación web en un solo archivo, lo que simplifica el trabajo del desarrollador y acelera el tiempo de respuesta de la aplicación. Nuevas funciones a tener en cuenta

Canalización de activos

Asset Pipeline es la característica principal de la versión (Ruby on Rails 3.1). En términos simples permite la organización adecuada de archivos CSS y JavaScript. La canalización de activos ayuda a simplificar la organización y el servicio de sus activos.

Combining the pipeline with a well-tuned web and application server means that web sites being blazing fast! Also, browsers will load pages quicker than ever before, specially when used with the asset pipeline, because it’s just one file used throughout the app. Ideally, while the user is navigating through your website, his browser wouldn’t need to load the assets again since it’s cached; so loading time is only experienced at the first visit.

Transmisión HTTP

HTTP streaming(Ruby on Rails 3.1 update) helps the server by sending data to the client in chunks. Rather then sending it only when the page has been fully rendered, it sends rendered content as soon as it’s produced.

jQuery ahora es predeterminado

La biblioteca JavaScript predeterminada para Ruby on Rails has been switched to jQuery. Users can easily change from the previous default library, Prototype, through a single command. Developers shouldn’t notice any difference, and going forward, Ruby on Rails will be able to harness the work being done on this popular library.

These are just some of the new features available to you with Rails 3.1. There’s a lot of other good stuff you can explore. Tell us which of the features listed here would most suite your needs. Happy coding!

Póngase en contacto con nosotros.

Suscríbete para recibir las últimas actualizaciones

Artículos Relacionados

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Spanish
English
English
Japanese
German
French
Spanish

envíanos whatsapp

Salir de la versión móvil