May 15, 2015 by Daniel P. Clark

Speed Up Your Rails Views By Deferring Changes

Nobody likes a slow website.  And the more notifications and content privileges you calculate beforehand the longer your web requests take to load and send.  The most efficient way to change this is to make as much of your site static as you can and defer your changes to after the page has fully loaded. …

Continue Reading »

March 15, 2015 by Daniel P. Clark

More UJS fun with Accordion Content

I’ve already covered loading Bootstrap modals directly from the server on Rails with UJS in this blog post: Discovering UJS with AJAX.  Now I’d like to continue from there and demonstrate Bootstrap’s accordion feature with content loaded directly from the server.  We’ll use a personal profile example where you click on an expansion link to…

Continue Reading »

January 14, 2015 by Daniel P. Clark

Email Composer/Editor Template for WebDevs

I went searching online for a HTML template of an email composer and didn’t find any.  I’m very disappointed in the interwebs for not being so forth coming.  There are many sites and services that allow you to write email.  Heck even Rails has ActionMailer which can handle sending mails.  But why not have a…

Continue Reading »

January 8, 2015 by Daniel P. Clark

JavaScript is easy with jQuery

If I had only known how easy it would be to pick up JavaScript with jQuery I would have learned it a long time ago.  But I had allowed a glimpse of obscure looking JavaScript to deter me in the same way Java kept me from learning programming for years. When I first wanted to…

Continue Reading »