pjax+Rails

40 %
60 %
Information about pjax+Rails
Technology

Published on March 20, 2014

Author: BruceWhite3

Source: slideshare.net

Description

A Ruby on Rails application that demonstrates advanced pjax integration.

This demo was presented at Ruby::AZ (http://rubyaz.org) on March 18th, 2014.

Sponsored by Software Ops (http://softwareops.com). We build mobile app systems.

pjax+Rails pushState ajax for dummies Ruby::AZ - March 18, 2014 Bruce White Software Ops developer bruce@softwareops.com

We Build Mobile App Systems

Who is pjax? • pjax = pushState + ajax • A jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button • For browsers that don't support pushState pjax fully degrades • https://github.com/defunkt/jquery-pjax

Turbolinks “You’re Soaking In It” • Rails 4 includes a pjax-like feature called Turbolinks • Turbolinks and pjax+Rails are not compatible - yet

pjax+Rails “Two great tastes that taste great together” • Combine the use of pjax with Ruby on Rails • Use the rack-pjax gem to minimize the HTML sent to the browser • Multiple pjax container support • Form and link support • Skip layout rendering on pjax requests

When To Use pjax+Rails You Want ajax-Like Responsiveness But… • You are new to Ruby on Rails or Javascript or • You want a simple architecture or • You are in a hurry

Let’s See Some Code! Full source for this presentation is available at:
 https://github.com/SoftwareOps/pjax_rails_demo

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

rails/pjax_rails · GitHub

README.md PJAX for Rails 3.2+ Integrate Chris Wanstrath's PJAX into Rails 3.2+ via the asset pipeline. To activate, add this to your app/assets/javascripts ...
Read more

defunkt/jquery-pjax · GitHub - GitHub · Where software ...

jquery-pjax - pushState + ajax = pjax. Skip to content. Sign up Sign in. ... If you'd like a more automatic solution than pjax for Rails check out Turbolinks.
Read more

layout - pjax with rails - Stack Overflow

I am using rack-pjax gem as described in the railscasts playing with pjax But the issue i am having with my layout is, i have some dynamic generated links ...
Read more

#294 Playing with PJAX - RailsCasts - Ruby on Rails ...

PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems.
Read more

#294 Playing with PJAX - RailsCasts - Ruby on Rails ...

Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.
Read more

pjax alternatives for ruby on rails - Stack Overflow

Rails, pjax and DataTables. 1 rack-pjax isn't recognizing `jQuery ->` 1 Cleanly deploying PJAX or Turbolinks application. Hot Network Questions
Read more

Pjax on Rails - Ruby on Rails | BigBinary

BigBinary is a Ruby on Rails consulting company based in Miami, Florida. We build web and mobile applications using Ruby on Rails and ReactJS.
Read more

pjax helpers for different frameworks · GitHub

pjax helpers for different frameworks. Skip to content. All gists; GitHub; Sign up for a GitHub account; ... Rails: https://github.com/rails/pjax_rails ...
Read more

Building Super Fast Web Apps with PJAX - Nathan Totten's Blog

Building Super Fast Web Apps with PJAX. There has been a great deal of interest recently in client side frameworks such as Knockout.js, Backbone.js, and ...
Read more

Introducing Turbolinks for Rails 4.0 - geekmonkey

Subscribe Introducing Turbolinks for Rails 4.0 27 September 2012 on Ruby on Rails, gem, pjax, javascript, jquery. David Heinemeier Hansson, creator of Ruby ...
Read more