Posts tagged webdev

Aug18

States and provinces for Rails' grouped_options_for_select

webdev rails | comments

My company was needing a state drop down in a Rails app to record license plate states. As a higher-education institution, there is the possibility of Canadian and Mexican vehicles as well. Not finding a Rails-ready hash for the grouped_options_for_select method, I converted an HTML version to a Rails-ready version for my reference and perhaps the benefit of others.

Continue reading »

Feb22

Flash on a website?

webdev | comments

Should I Flash for a website?

I recently had a coworker ask for articles/rationale for not using Flash for a website. While nothing here is original, the hope is to provide a quick, basic summary of reasons why Flash may not be a good choice for website content. Some issues with Flash:

Continue reading »

Jun16

FF3 and Safari 3 compared

webdev applezealtory | comments

Another reason to like the Mac community is this comparison of Safari and Firefox 3 rendering styles. The fact that there are people that care this much about title bar gradients shows why Mac community’s emphasis on look and feel contribute to the overall user experience.

Continue reading »

Apr30

Dynamic find_by_* methods in Rails

webdev rails | comments

In looking at my logs, it many people come to this site based on the find_by_name text in the header. If you are such a person, I assume you are new to Rails and are wanting to learn more about it. Here’s a few tips:

Continue reading »

Apr22

mod_rails and the demise of the Ruby/Rails community

webdev ruby rails | comments

mod rails was released recently (I submitted a voice sample to narrate the demo screencast, but they went with the ├╝ber-helpful Ryan Bates), giving hope to not-big-enough-to-require-a-dedicated-server Rails developers everywhere. Deployment has long been the biggest complaint against Rails, and hopefully this gem will facilitate getting Rails apps up and running on servers everywhere.

Continue reading »

Apr04

acts_as_asp.net

webdev ruby rails | comments

I caught this one a little too late, but thought it deserved some pub. After being exposed to the .NET world for the last few months at my new job, I, too, have come to appreciate some of the niceties that the .NET framework provides. Fortunately I’m not the only one who notices this shortcoming, and a Rails plugin has been developed to give it .NET functionality. The short description is definitely worth reading.

Continue reading »

Mar05

jQuery tab navigation AJAX page loading tutorial

webdev jquery tutorial | comments

I wanted to use tabs as a navigational tool and load page content based on those tabs without a page load but in a way that would gracefully degrade. The technique is shared here in hopes that it helps others out who are considering the same thing.

Continue reading »

Mar05

One sheet to rule them all

webdev css | comments

As a freelance web developer, and someone who does development in my current job, I’ve had my share of frustration with Internet Explorer’s rendering bugs. IE 5.0 and 5.5 were bad. IE 6 wasn’t much better. IE 7 made great promises, but only got us halfway towards compliance (I still enjoy Dan’s predictions).

Continue reading »

Feb22

Finding unused CSS styles

webdev ruby css | comments

I inherited a hideous stylesheet and was trying to determine which styles were unused. I was about to write a Ruby script or something to go through all the pages in the site and find which styles weren’t used in any of the pages. Fortunately, someone already came across this problem. The Dust-Me Selectors Plugin for Firefox will do this for you. It lets you surf to as many pages in a site as you want to check on or it will read Google sitemap files and do the work for you.

Continue reading »

Aug02

xray is beautiful

webdev | comments

With the proliferation of DOM-based inspectors these days, it’s more helpful than ever to dissect a webpage and determine how the code is structured and how the element is styled. I already use several great tools that allow you to do this: Safari 3, CSSEdit (also a great CSS Editor), and the FireFox extensions Web Developer and Firebug.

Continue reading »