Your answer is clear

Colin's Blog

My blog.  Thoughts on programming, being a business owner, freelancing and life in general.

AddSearchRSS

Stuck on building Roles with a sugary Class.
By perlDreamer - 2/26/2010 - 1 Replies WebGUI is in the process of moving to Moose, and I've spent the last few weeks just learning Moose and writing perl.  It has been a very good time. You can see the work that I've done in the git repo in the WebGUI 8 branch: http://github.com/plainblack/webgui/tree/WebGUI8 WebGUI::Definition provides two sugar methods, property and define, that replace the old definition subroutine/data structure, and it sets up the meta class for properties.  WebGUI::Definition::Asset builds on WebGUI::Definition with just another meta class and property class. Here's where the hang up comes.  What used to be AssetAspect is now a Moose Role.  Each Role should have all the same sugar and meta class as a regular Asset, but doing this:     use Moose::Role;     use WebGUI::Definition::Asset; makes for Moose puke:     WebGUI::Role::Asset::RssFeed already has a metaclass, but it does not inherit WebGUI::Definition::Meta::Asset (Moose::Meta::Role=HASH(0x9781a78)) at /usr/local/share/perl/5.10.0/Moose.pm line 160

Stupid Moose Questions
By perlDreamer - 1/25/2010 - 1 Replies I have always embodied the perl virtue of laziness.  Well, at least I've tried most times.  Most times, this is good, since it helps me to write small, well tested code that is easy to maintain.  Other times, it's bad, since I've never learned Moose or DBI::Class.

5 days of a git pre-commit hook, lessons learned...
By perlDreamer - 11/5/2009 Our project, WebGUI, a perl-based CMS, has a varied group of developers.  Most developers are consultants and contractors who make a living from customizing and developing applications for WebGUI.  Some are users who dabble in writing macros and simple sub-applications.  A few are purely volunteers.

WebGUI Testing: Skipping the SKIP block
By perlDreamer - 10/31/2009 After reading Perl Testing, A Developer's Notebook, I started putting this into all the WebGUI tests:

Client side caching costs me cash.
By perlDreamer - 10/1/2009 - 1 Replies Working on a perl-based CMS, I get bitten by client-side caching a lot.

Saving those precious finger joints, a new method in WebGUI will assuage your Laziness.
By perlDreamer - 9/26/2009 - 1 Replies When I was in graduate school, I interned at Hewlett Packard.

100% Test coverage != no bugs
By perlDreamer - 7/11/2009 In documentation and lectures and books I've read that 100% test coverage does not mean that your code is bug-free.

Let them eat POD!
By perlDreamer - 7/7/2009 - 1 Replies I'm definitely not your average perl programmer.

Janitorial test work
By perlDreamer - 5/19/2009 My blog posts seem to be running in the same vein.

More test cleaning up
By perlDreamer - 5/9/2009 A few weeks ago, I wrote about how there were now built-in ways to clean up WebGUI objects created for testing.

Automatically building forms with WebGUI::Crud
By perlDreamer - 4/30/2009 - 1 Replies WebGUI has it's own little ORM module called WebGUI::Crud.

Cleaning up
By perlDreamer - 4/13/2009 Several little tidbits:

WebGUI Network News, issue #1
By perlDreamer - 4/4/2009 - 1 Replies Hot off the keyboard is WebGUI Network News, issue #1.

Chained and Bound.
By perlDreamer - 4/2/2009 Perl allows for chained method calls, if each method returns an object:

Common WebGUI Programming Mistakes
By perlDreamer - 4/2/2009 Last year, at WUC 2008, I did a presentation called Common WebGUI Programming mistakes.

Test::Class for Account modules
By perlDreamer - 3/26/2009 - 2 Replies I got my start in WebGUI volunteering.

Office news
By perlDreamer - 3/24/2009 - 1 Replies Office news The Kuskie family has been working hard on building out the office.

Office 2009
By perlDreamer - 3/14/2009 No, I haven't gone off the deep end by starting to use Microsoft Office, this is about my office.

blue divider bar

Copyright 2010 perlDreamer Consulting | All Rights Reserved | Site Map | Graphic Design by Plain Black