Sun_large
Sun_large

A Smart Mobile Foundation for Rails

Adding mobile-specific boilerplate code to your Rails project

Chris Maxwell

ViewThought.com

April 03, 2016

If you haven't done so already I strongly recommend setting up some foundation HTML and CSS for your project:

Mobile Boilerplate

When it comes to boilerplate, mobile is a special case. It's a complete different beast . . .

Read More

Telephone Numbers, A Great Use Case for Media Queries

Toggling between callto and tel

Chris Maxwell

ViewThought.com

March 25, 2016

Phone numbers on the web create an interesting dilemma, should I use callto or tel? Like most things on the web, that depends.

Here's the situation, when a user finds a phone number link like this one:

561-123-4567

...As developers we can change the links behavior so that when clicked a call is made: through a program like Skype, or just . . .

Read More

Mobile Device Detection with Ruby on Rails

How to set up mobile device detection in a Rails application using Rails variants and the Browser gem

Chris Maxwell

ViewThought.com

January 19, 2016

UPDATED: March 30, 2016

In 2007 I worked for Fidelity Investments helping develop their then new mobile offering. Our goal was to cover 99.999% of all web-enabled mobile phones that Fidelity customers used. To accomplish this we developed a super dumbed down HTML 1.0 template that would render correctly on at least 90% of mobile devices . . .

Read More

A Hybrid Approach to Rails Mobile Development

Using device detection and responsive web design to serve Rails views and assets to different device types

Chris Maxwell

ViewThought.com

January 17, 2016

UPDATED: March 13, 2016

I like using "user agent sniffing" to deliver highly optimized versions of a website to different devices. Doing so allows me to really optimize and improve the user experience. What happens though when a device slips through my detection strategy? Let's say it's brand-new and for whatever reason does . . .

Read More

A Truly “Mobile First” Rails Application

How to set up a mobile first Rails application using Rails variants and the Browser gem for device detection

Chris Maxwell

ViewThought.com

April 13, 2015

UPDATED: March 30, 2016

If you have been reading the last couple articles you know I am a big fan of Mobvious. I use it to figure out what kind of device any given request has come from, i.e. tablet, PC, phone?

With this information Rails then serves optimized content for that device:

Read More

Setting up a Smart Mobile Foundation for Rails (obsolete)

Adding mobile boilerplate files and configuring Rails to serve mobile specific files from a separate mobile folder

Chris Maxwell

ViewThought.com

October 10, 2014

Now that we have Mobvious set up – if you've been following along from the last article – here is how we will use it:

  1. Rails detects the device type through Mobvious
  2. If the device is a standard desktop computer, Rails will serve regular view files
  3. If the device is a mobile device, then Rails will serve files from a special folder . . .

Read More

Rails Mobile Device Detection with Mobvious (obsolete)

How to set up Mobvious to serve device specific scripts, markup and CSS

Chris Maxwell

ViewThought.com

October 09, 2014

In 2007 I worked for Fidelity Investments, helping develop their then new mobile offering. Our goal was to cover 99.999% of all web-enabled mobile phones that Fidelity customers used. To accomplish this we developed a super dumbed down HTML 1.0 template that would render correctly on at least 90% of mobile devices (then), and for the . . .

Read More

Archive
  Subscribe by Email and Never Miss a Post