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 . . .

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 . . .

Read More

A Smart HTML Foundation for Rails

A Practical Guide to setting up a new Rails application with HTML5 Boilerplate and other front-end goodness

Chris Maxwell

ViewThought.com

October 03, 2014

UPDATED: February 3, 2016

Setting up the foundation markup of a Rails application is super straightforward. Every time I build a new application I use the starter code from Rails Views, Doing It Right and follow these steps...

Step 1: Clone the Starter Code

Here it is, the starter code:

git clone . . .

Read More

Rails Views and the Foundation Code Structure

A Rails view primer and front-end code to start any Rails project out right

Chris Maxwell

ViewThought.com

September 30, 2014

UPDATED: January 15, 2016

The template system and associated files and folders used in Rails are known as Views, the V in MVC. View code is primarily found in two high-level folders within a Rails 3.0 or greater application: the helpers and the views folders...

app
+- assets
+- controllers
+- helpers
+- . . .

Read More

Archive
   Subscribe by email and never miss a post.