Search This Blog

Loading...

Thursday, August 30, 2007

The Importance of an Orangized Office

DSCF4813 Originally uploaded by Boyan & Amy
It's a pain to keep my office organized but doesn't this look so much better? I feel like I can get much more done now that my desk is not covered in clutter. Hopefully I can keep it looking like it does in the picture :-)

Widget in a Basket

DSCF4806 Originally uploaded by Boyan & Amy
This little cutie just loves baskets.

Wednesday, August 29, 2007

Bike Night at Sylvan Beach

DSCF4780 Originally uploaded by Boyan & Amy
Amy and I took a trip to Sylvan beach last night. "Bike Night" is every Tuesday in the summer. There were tons of bikes - both sport and cruisers. Since I only care for the sport ones, the pictures reflect that. More pictures on Flickr under Boyan & Amy's buddy icon 2007.08.28 - Bike Night

Tuesday, August 28, 2007

Weekend Shelving Project

DSCF4729 Originally uploaded by Boyan & Amy
This project took way to long but I finally got some shelves installed in my office. I don't why the heck it took so long. It's possible that 1. I didn't know what I was doing or 2. I was too anal about getting everything right (leveled and etc.). Now, it actually looks like an office. More pictures can be found on Flickr under the set 08.28.2007 - Weekend Project

2007 Yamaha FZ1 for the Iron Butt Rally

DSCN0560 Originally uploaded by Boyan & Amy
Came across this picture of a nice 2007 FZ1 setup for touring. This will be pretty nice to have when I try the Iron Butt Rally. I just learned about it today from a co-worker. It might sound crazy to some but the motto is "11 Days, 11,000 Miles". I am excited about trying this out! It would be awesome!

Monday, August 20, 2007

Monday, August 13, 2007

Model-Glue Gotcha - Bug or Feature?

I just ran into an interesting issue while developing with Model-Glue. It took a couple of minutes to figure out so here is a quick reminder for both myself and anybody else using Model-Glue. The scenario: You are using multiple views to build your application template. This means that your template itself is composed of several views such as "reportsMenu", "applcationMenu", etc. The actual template file is defined as follows in the template event:

<include name="template" template="dspApplicationTemplate.cfm" />
To include the "applicationMenu" you do
#viewcollection.getview("applicationMenu")#
somewhere in your dspApplicationTemplate.cfm The gotcha: The included view has to have <cfoutput> around the html even if there is no CF code to be ran. The complete event definition:
<event-handler name="applicationTemplate">
  <broadcasts>
   <message name="GetUsersWorkOrderTypes" />
  </broadcasts>

  <views>
   <include name="lookupWorkOrderForm" template="frmLookupWorkOrder.cfm" />
   <include name="reportsMenu" template="dspReportsMenu.cfm" />
   <include name="applicationMenu" template="dspApplicationMenu.cfm" />
   <include name="template" template="dspApplicationTemplate.cfm" />
  </views>
 </event-handler>
The "applicationMenu" view(dspApplicationMenu.cfm) iteself included the "lookupWorkOrderForm" and "reportsMenu". Unless I surrounded the html in the "reportsMenu" view (dspApplicationMenu.cfm) with <cfoutput>, it kept showing as an empty string.

Friday, August 03, 2007

Web Developer Toolbar - View Color Information

While trying to figure out what color the "Loading" indicator in Gmail uses, I was fooling around with the Web Developer extension. So I found out that you can get all the colors used on a page by going to "Information" and click on "View Color Information". Click on it will open a new tab with all the colors used on the page you are looking at. Try it for yourself, it's pretty nice. The extension has about a million other options too.

How to Use Model-Glue Generic List

This not new information by any means. However, I always seem to forget how to do this so I have to dig through existing projects to find it. It's pretty damn useful so here it is:

<message name="modelglue.genericlist">
    <!-- Any criteria for filtering the returned query (such as UserName=boyan) -->
    <argument name="criteria" value="" />
    <!-- The name of the table in the database -->
    <argument name="object" value="Users" />
    <!-- The query name to store the results -->
    <argument name="queryName" value="usersList" />
    <!-- Optional: use a custom query GetExistingUsersList from the UsersGatewayMSSQL gateway -->
    <argument name="gatewayMethod" value="GetExistingUsersList" />
</message>