Brian began developing applications for the Internet in 1995, and has continued to architect, design and develop Internet software for the last 11 years, including projects for IHG, IBM, Brighthouse, and Cox Target Media (Valpak).

Here he shares his thoughts and opinions on Internet Software Architecture and Development, chronicles his current projects and areas of research, and give tips and tricks he discovers along the way.

Ruby On Rails



Bookmarks of the Week - June 3rd

21 Ruby Tricks You Should Be Using In Your Own Code Great Ruby tips here. Keeping this open in a browser tab and trying to use the tips throughout the week.

XMLMate TextMate plugin: “Check XML and XHTML documents for Well-Formedness and Validity while editing them in TextMate with support for DTD, W3C XML Schema, RELAX NG, Schematron, XInclude, XML Catalog, and XPath 2.0 Visualizer.”

Elements of Design Great collection of web design elements but together by Christian Watson. Great for inspiration.

Rails Widgets Nice Rails plugins to assist in creating navigation bars, tabs, tooltips, show/hide toggling, and tableizer.

One-line web server in Ruby

See One-line web server in Ruby on dzone snippets for exactly as described…a one line web server in Ruby.

Toggling Odd and Even classes in Rails

When you need to toggle the odd or even class names to stripe your table rows, or any similar functionality, you can skip using a counter and checking if its divisible evenly and instead use the Ruby on Rails helper called cycle. It cycles through whatever values are in the supplied argument list each time its called, so it can also be used in other situations. Here is an example for marking your table rows with odd and even classes:

cycle('odd', 'even')

« Previous PageNext Page »


Close
E-mail It