The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Count your Packages

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Count your Packages Posted: May 4, 2007 5:55 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Count your Packages
Feed Title: Travis Griggs - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/travis-rss.xml
Feed Description: This TAG Line is Extra
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Travis Griggs - Blog

Advertisement

This post is a reference to three things that combined to make a fun demo. There's a package in the Open Repository called PackageMetrics that some may be able to load and be amused by. There's also a little mov file at the end of this blog that shows it in action. There were basically three things that led to this:

1) For a long time now, I've wanted to have some way to encourage people to achieve more with less. For me, what really impresses me, is when you can make the same package do the same stuff (or even more), but have the code count go down. So I thought it would be fun to spike a little RB tool that gave some sort of metrics on a packages. This one does that. It'll show the class count, the method count, and the parse node count (derived at least). If the in image package has changed, and it can find the original package it was derived from, it will show a stock-ticker style "up or down" for the delta. The idea is you can look at it just before you publish and see how you're doing. You could do lots more, like graph backwards over multiple versions and such. This was just a fun spike.

2) While doing the Cairo presentation in Cairo itself was cool, it was just static graphics displayed on a screen. I was hoping to have a demo of some fun widget using Cairo in the browser. It was mostly done for the presentation, but I ran out of time, so I didn't show this. It doesn't need cairo at all, I just wanted it to be "pretty".

3) While I was listening to Boris Popov at Smalltalk Solutions give his Seaside presentation, I focused in on something trite in his slides. The slide titles had cool little "reflection" shadows of the title text, I wondered if I could do something like that using Cairo/Pango. Of course, mine needed to look cooler.

Enjoy:

Read: Count your Packages

Topic: Smalltalk Solutions Pictures Previous Topic   Next Topic Topic: Application Frameworks Experience Report

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use