Online Pharmacy

online viagra buy generic cialis in brisbane identify cialis Viagra without Perscription cialis buy online viagra lawyers Discount viagra cialis overnight Viagra Propecia low cost viagra where can one buy cialis cialis order from us buy cialis generic what is the price of viagra buy viagra in uk buy cheap cialis generic levitra viagra viagra pharmacy buy cialis in canada Discount Pfizer Viagra cheap generic viagra buy cheap cialis online Cheapest Viagra Price buy viagra mastercard viagra cialis levitra cialis commercial Buy Onlinecom Phentermine Viagra cheapest place to buy viagra online viagra pill cialis buy without prescription buy viagra no prescription buy cialis now top internet cialis web sites cialis mastercard buy cheap cialis in australia order cialis now Viagra Faq visa viagra viagra mastercard female viagra Viagra Tablet mastercard buy viagra cialis pro buy online viagra how does cialis work venta de cialis viagra cialis buy generic cialis from india Viagra Facts about viagra Cialis Viagra Online buy tadalafil cialis best price viagra buy cialis generic online Buy Viagra Now Online buy cheap cialis ipharmacy is cialis better than viagra No Prescription Viagra where to buy cialis where can i buy viagra from Viagra Pushups cialis soft tabs buy low price viagra where to buy viagra cialis vs. viagra buy cialis australia buy viagra paypal Buy Viagra Onlines best place to buy cialis where buy viagra cialis india sildenafil cialis generico what dose cialis does cialis work what is the generic name for cialis viagra cialis compare cialis levitra viagra buy viagra on line buy cialis paypal In Man Uk Viagra sales cialis buy cheap cialis ciales cialis buy discrete buy generic cialis online cialis women viagra from health store order viagra cialis viagra online buy cialis online viagra cheap price viagra Drug Viagra viagra buy maile order cialis cialis compared to viagra buy cialis online no prescription buy cheap viagra cialis visa Between Difference Levitra Viagra buy cialis visa discount viagra online Cheap Generic India Viagra viagra sale buy viagra where cialis and alcohol order cialis cheap buy cialis american express cialis 10mg cialis small packs cheap viagra uk sell viagra to buy cialis mastercard buy cialis buy canada cialis buy cheap purchase uk viagra viagra low cost mastercard viagra buy viagra visa viagra visa Viagra Alternative buy cialis drug online rx buy cialis cialis experience buy viagra line viagra sale online Very Cheap Viagra natural viagra Deer Viagra where can i buy viagra Viagra Online Shop is levitra better than cialis viagra prescription order viagra viagra for woman order cialis on line cialis generic buy discrete buy cialis soft tabs online chea Viagra Discount low cost cialis viagra best buy order cialis online herbal cialis prescription cialis us pharmacy buy viagra without prescription Cialis Generic Levitra Viagra cialis side effects cialis archive newest Viagra Concerns cialis visa cialis online no presription buying generic cialis buy viagra online cheap buy cialis without prescription buy cialis tablets buy viagra usa american express buy viagra viagra cialis generica what stores sell viagra cialis canada cialis order cialis europe viagra buy generic cialis viagra and cialis cheap discount viagra mastercard cialis buy cialis without a prescription Compare Levitra And Viagra cialis uk cialis sales cialis daily buy viagra Canadas Viagra Commercial buy cialis and viagra viagra mastercard viagra visa side effects of cialis Viagra for Women Cheapest Viagra cialis message board overnight cialis cheap cialis where to buy levitra cialis viagra online generic viagra viagra price buycialisonline liquid cialis Viagra Generika where can i buy cialis online viagra cialis phentermine soma sell viagra online Comparison Viagra Levitra Cialis buy cialis with no prescription cialis professional viagra dosage generic cialis soft online cheapest cialis cialis smile blog buy generic cialis viagra online generic cialis soft cheap generic cialis order cialis cialis mastercard Cialis Compare Levitra Viagra daily cialis buy cialis viagra Cheapest Cheap Viagra buy cialis online now Can Women Take Viagra buy uk viagra order cheap cialis generic cialis india buy cialis cheap Viagra Generic Drug Levitra Viagra paypal buy cialis Viagra Dangers cialis buy next day delivery buy cialis no prescription cialis forum buying cialis best price cialis Buy Viagra Order Viagra cialis for women viagra buy viagra cheap viagra alternatives american express buy cialis cialis to buy new zealand buy cialis line where to buy levitra cialis viagra no prescription paypal buy viagra visa cialis buy cheap generic cialis online cialis pricing Pill Viagra which is better cialis or viagra How Does Viagra Work Cialis Super Viagra buy cialis where cialis thanks blog Viagra Or Cialis buy cialis from icos 3cialis Generic Levitra Viagra generic viagra viagra on line Herbal Viagra Wholesale Generic India Viagra cialis on line Buy Cheap Uk Viagra Compare Cialis Levitra Viagra viagra cialis online buy generic viagra buy cialis online cialis online order viagra canada Cialis Comparison Levitra Viagra cheap viagra usa buy cialis doctor online buy cialis mastercard Levitra Or Viagra viagra online order viagra Buy Line Viagra viagra online order guide soft cialis cialis viagra cheap Soft Tab Viagra Sales Viagra cheap viagra cialis dosage propecia cialis viagra book buy cialis guest jill org site viagra online purchase cialis buy buy viagra online where can i buy cialis cialis mail order cheap viagra online viagra usa viagra buy online cialis confusion buy generic cialis in australian pharmacy where buy cialis visa buy viagra buy viagra online inu purchase viagra cialis clock buy viagra uk buy cialis custom hrt Viagra Sale Uk buycialis viagra cialis generic cialis best price viagra cialis cialis generic Sildenafil Viagra pfizer viagra viagra UK buy discount cialis buy cialis cheap in the uk Viagra Buy Viagra cheap cialis sale online Viagra Womans cialis online buy viagra in the uk viagra generic Viagra Online Purchase viagra for sale viagra generic buy Cialis Levitra Viagra cialis cost buy cialis in singapore visa buy cialis buy viagra now viagra side effects order viagra online Generic Viagra Sale Ciscount Viagra Viagra Com buy cialis on line buy viagra in canada viagra dose viagra soft tabs Viagra Lowest Price Viagra In The Water viagra pills buy viagra american express viagra order cialis daily use buy online order viagra order generic cialis discount cialis Effects Of Viagra where to buy viagra on line cheap sale viagra Viagra Onlines prices cialis Viagra Perscription viagra online ordering cialis for order Cheapest Viagra Prices Online Viagra Sale

Review: Balsamiq Mockups

Posted on April 22nd, 2009 in Technology by Greg

In my job as a product manager one of my key responsibilities is designing high-productivity software that is easy to use and powerful. We work in a complex domain that involves massive amount of data, millions of dollars on the line, and tight deadlines. We attack these complex software with advanced technology, masked in easy to use software.

One of the challenges with user interface development – and all software development, for that matter – is that the further down the line in development something goes, the harder it is to change. Once a developer spends days or weeks working on something the resistance becomes huge as people are attached to their work – regardless of whether it is a good fit for the customer. To counter these problems, I’m a big advocate of building mockups in order to sort out the key design issues before significant development happens.

Over the years, I’ve used the following types of tools to do this:

  • Whiteboards with digital camera snapshots
  • Pen and paper sketches scanned
  • Photoshop / image mockups
  • HTML mockups
  • PHP prototypes

I use these various tools to build mockups for a variety of applications including native windows applications, classical web applications, and dynamic ajax applications. The more complex applications become, with complex widgets such as data grids, trees, and tabs, the tougher the hurdles are to crank out a quick mockup. The other problem I’ve seen is that the closer to ‘real’ a mockup looks, the more people are going to comment on the nitty gritty details instead of focusing on the key issues of workflow and usability – just like the problem of developers getting attached to something they’ve worked on, reviewers of super realistic models seem to often just assume that they can’t question the general structure and end up commenting on alignment issues, colors, etc.

I’m always on the prowl for new tools to use in this design phase, and have recently come across a product that is becoming a great addition to my arsenal of tools: Balsamiq Mockups. Balsamiq is a lightweight tool for building wireframes/mockups that look like sketches. The focus is on rapid creation of screen mockups that are easy to make and easy to change, encouraging feedback and rapid iteration. The product is available in a desktop version and also version integrated with Wiki software like Confluence. For the past few weeks I’ve been playing around with the desktop version – their website said that they’d give a free license of the desktop version if you promised to write a review, so here I am! Here I’d like to point out some of my likes, some annoyances, some features I’d like to see, and a weird little bug I came across.

First off, here’s a sample of what a mockup looks like for a fictional, non-sense product:

Balsamiq Mockup screenshot

In a way, Balsamiq seems to be very much inspired by Microsoft PowerPoint…but in a good way. You drag shapes from a list of about 75 widgets onto a page and then rearrange, align, and change properties for the items. The big difference is in the different types of widgets that are available. There are some basic shapes, but most of the widgets are things you would see in applications, like text inputs, dropdowns, radio/checkboxes, and then some more complex widgets like tabs, trees, data grids, and iPhone widgets. The result is that you can build things fast – the mockup above took about 5 minutes to put together.

What I like

  • Easy to use – the number one feature. As mentioned, the application uses many known paradigms from existing applications such as PowerPoint and other design apps. I was able to get going without reading the manual, going through a tutorial, or getting a lesson – the application explains itself.
  • Fast – ok, this is tied for the number one feature. Because of its ease of use, it is possible to create and iterate on designs very quickly. The ‘Quick Add’ feature really speeds things up by letting you type in the name of a widget without having to find it in the mix of 75 widgets – conveniences like this can make a massive difference in productivity.
  • Just the right level of realism – the mockups definitely would never be confused with a real application, but they are clean enough that they can convey to point very well and get people to focus on the key design and workflow issues early on in product design and development
  • Advanced widgets such as tree and data table – these advanced widgets are some of the items that make it tough to build mockups for advanced apps in languages like HTML without investing a lot of effort to use libraries like extjs, jquery, or YUI.
  • Easy to export to PNG – mockups can easily be exported out to the PNG format for posting on a wiki or emailing.
  • Editable – as compared to paper mockups, these have the major advantage of being editable, so you don’t have to break out the eraser or start over from scratch.
  • Translates well to traditional webapps, ajax webapps, and desktop applications – because the application

Annoyances…or things that aren’t necessarily bugs, but would make the application easier to use if they were addressed

  • After ‘Quick Add’ clicking f2 doesn’t go into edit mode – you have to click the widget first. If you drag items from the strip they automatically go into edit mode, it would be nice to have that for the quick add as well.
  • Dragging items from the strip doesn’t show the guides unless you place the widget then drag again, whereas normally when you are dragging you see guides to help you line up widgets
  • It would be nice if there were a better way to select a set of items without moving the item beneath it. If you have 20 widgets on a dialog box and you need to shift them over to make space, in order to select them all you have to first lock the dialog box, select the items by click dragging, drag, release, and unlock the dialog. If you don’t do this then the dialog box will just be moved. This gets more confusing if you have multiple boxes on top of each other. It would be nice if there were a way to move into selection mode which would allow you to select any elements that are entirely enclosed by a bounding box.
  • Related to the previous entry, you unlock items through a right-click menu (the only usage of right-click in the app?), but if multiple items are locked in the clicked area it just shows the item type in the context menu. In some scenarios I had 3 or 4 items showing up, some of which were of the same type. It would be nice to highlight the item when hovering over it in the context menu to let you know you’ve got the right one.
  • It would be nice if the tree could user smaller fonts – some of the other widgets allow for choosing smaller fonts to fit more text, but the tree uses a very large font, making it tough to represent even remotely realistic data.

Features I’d like to see

  • Ability to click through from one mockup to another to create workflow – while I don’t need to create an entire flow for an application, if I’m mocking up a particular feature it would be useful to show 3 or 4 screens that are linked together maybe with a generated HTML files or something of the sort.
  • Ability to regroup after ungrouping items – you can group items, but you need to ungroup to make any edits (unlike PowerPoint which allows you to change text or even move sub-items), but then you don’t have an option to regroup…meaning you have to go through the same fun of locking outer elements, and reselecting.
  • Radio and Check Box controls should allow adding multiple at once similar to Dropdown – since these fields usually come with multiple entries it would be nice to have the widgets allow for adding multiple ‘rows’ of data similar to dropdowns
  • It would be nice to have right-click context menus for some operations like grouping or ungrouping
  • Layers – it might be nice to have layers (like Photoshop) to help avoid some of the issues with moving items…this would add a lot of utility but it would come with the negative impact on ease of use and ramp up time.
  • Ability to add custom widgets – it would be nice to be able to add custom widgets…now if you create a widget by composing the built in widgets you have to save it as another mockup and then select-all and copy/paste into the destination mockup – it would be nice to be able to save the widget to the strip and give it a name.
  • Favorites bar in addition to the current ‘All’, ‘Big’, ‘Buttons’ – for many projects only a small number of the widgets are necessary. In my applications I have no need for things like the iPhone widgets so they just get in the way.
  • Maybe a way to switch from click mode to select mode for selecting multiple items

Bug

  • This was a weird one. If you type ’scro’ into the Quick Add box and click the entry for the ‘vertical scrollbar’, the horizontal scrollbar is actually added. Surprisingly, if you type in ’scrol’ or ’scr’ it works just fine!

Conclusion

Overall I really like this application – I’ve found myself evangelizing to colleagues and used it for some real feature design and have gotten good feedback from all who have seen the results. Like all software, there are many things that could be improved and there likely always will be, but it seems that the application is in active development and the focus on usability and user productivity look like they’ll keep the product on the right trajectory. At $79 I think it is a bargain and justifies its cost in hours or days of use. It doesn’t necessarily replace all of the other tools in my mockup toolbox – to get to the finer level of detail I still need to break out the HTML occasionally – but this is now usually something that happens only after I’ve validated the basic design with Balsamiq.

Rating: 8/10



Playing mp3s with SoundManager 2

Posted on November 23rd, 2008 in Music, Web Development by Greg

My friend Michael Ross is a musician and he sent me an email with a couple of the songs he recorded recently. I asked him if he would like me to put together a simple web page for his songs so that he didn’t have to send out emails with large attachments, and a week or so later we had a new site up and running for him – www.michaelrossmusic.net. He wanted a page that listed the albums, had links to download mp3 songs, and a way for people to listen to the songs without downloading them. I had used SoundManager 2 previously to have mp3s play on a page, so I knew that it would be a good fit.

I wanted to be able to build a simple page with regular links to the mp3 files and for JavaScript to do the magic of making the songs playable in the browser – this post explains how I made it happen. SoundManager 2 is a JavaScript library built on top of Flash – the music plays through Flash (which has much better audio support than browsers), but everything is controlled via JavaScript. I also used Prototype as a framework to build out the functionality.

Here’s what I did:

  1. Created a simple page with links to mp3 files
  2. Added a SoundManager handler so that as soon as it loads it instantiates PagePlayer, a JavaScript class I created
  3. PagePlayer takes a CSS selector as input (and optionally an options object) and identifies all of the links that match the selector – ‘a.mp3Link’ in this case (all links with the class ‘mp3Link’).
  4. For each of the identified links, PagePlayer creates a SoundManager sound object using the link to the mp3, adds a play button just prior to the song link, creates event handlers for the play button and sound object, and stores the song in a hash
  5. The event handlers take care of all of the logic: playing songs, making sure that only a single song is playing, changing the state of the button from play to stop

Here’s a current snapshot of the script:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
PagePlayer = Class.create({
	songCount: 0,
	songs: new Hash(),
	nowPlaying: null,
	options: null,
 
	initialize: function(selector, options) {
		this.options = {
			imgPath: 'images/',
			imgPlay: 'control_play.png',
			imgStop: 'control_stop.png',
			mp3LinkTitle: 'Download song'
		};
		Object.extend(this.options, options || {});
		$$(selector).each(this.addSong,this);
	},
 
	addSong: function(mp3Link) {
		mp3Link.title = this.options.mp3LinkTitle;
		var songId = mp3Link.identify();
		var soundObj = soundManager.createSound({
			id: songId,
			url: mp3Link.href,
			onfinish: this.finishHandler.bind(this,songId)
		});
		var controlBtn = new Element('img',{
			src: this.options.imgPath + this.options.imgPlay,
			className: 'audioControl'
		});
		mp3Link.insert({before: controlBtn});
		controlBtn.observe('click', this.toggleHandler.bind(this,songId));
 
		this.songs.set(songId, {
			controlBtn: controlBtn,
			soundObj: soundObj
		});
 
		this.songCount++;
	},
 
	toggleHandler: function(songId) {
		var oldSong = this.nowPlaying;
		var newSong = this.songs.get(songId);
 
		if(oldSong) {
			oldSong.soundObj.stop();
			oldSong.controlBtn.src = this.options.imgPath + this.options.imgPlay;
			if(oldSong === newSong) {
				this.nowPlaying = null;
				return;
			}
		}
 
		newSong.controlBtn.src = this.options.imgPath + this.options.imgStop;
		newSong.soundObj.play();
		this.nowPlaying = newSong;
	},
 
	finishHandler: function() {
		this.nowPlaying.controlBtn.src = this.options.imgPath + this.options.imgPlay;
		this.nowPlaying = null;
	}
});

And on the page it is started up as follows:

1
2
3
4
5
6
7
8
<script src="js/soundmanager2-nodebug-jsmin.js"></script>
<script src="js/pagePlayer.js"></script>
<script>
	soundManager.url = '';
	soundManager.onload = function() {
		new PagePlayer('a.mp3Link');
	};
</script>

It’s not the prettiest code, but it gets the job done in 1.58 KB of code and works at least in recent versions of Firefox, IE, Safari, and Chrome. So, if you need to add some mp3s to a page, check out SoundManager 2 – it’s easy to use, well documented, and super flexible…


A walk on the beach

Posted on October 19th, 2008 in Uncategorized by Greg

Its been a long time since I’ve written anything here…mostly due to a very busy year which included Yenari and me getting married in June. I’ll try my best to be more active (i.e. more than one post a year), but for now, I’ll just provide a link to a little experiment I put together from some pictures from our honeymoon in the Cook Islands. It’s a little slideshow-like page, built with JavaScript:

Walking into the Ocean

Nothing too crazy on the JavaScript side – just playing around with some stuff I hadn’t done before. I wrote about three quarters of this a few months ago and just finished it off this afternoon. I had to write a simple, but hopefully effective, image preloader that has nice callbacks and a decent api. The actual slideshow could be written better, but it works, and that’s all I was going for…


Yelp for the iPhone

Posted on December 3rd, 2007 in Web Development by Greg

I just put together my first simple website for my new toy – my iPhone. It is a simple iPhone-specific interface for Yelp, my favorite source for restaurant and other local reviews. They have a ton of reviews for just about every local restaurant so I find myself using it all the time to find new restaurants to go to or to find more info about restaurants I already know. I could access the website just fine already on my phone, but it was a bit crowded and difficult to navigate on a small screen, so I decided it take this as a challenge to build my first iPhone web interface.

And yes, I’m probably about the 58th person to build a Yelp interface for the iPhone, but I was looking for something I’d actually use and learn from!

Yelp provides a REST search API that allows you to pass in a location and a search term and they return a JSON object with a list of matching businesses, their ratings, and the business info. I used the Zend Framework and the Prototype JavaScript library to put it together. I could have done a pure JavaScript implementation using script hacks, but figured it’d be better to have the PHP code serve as a basic proxy for the Yelp web service.

Try it out!


PHP5 Defensio Class

Posted on November 24th, 2007 in PHP by Greg

Looooong time since I’ve written anything here – about 9 months! This time around I’ve put together a simple PHP5 class for communicating with the Defensio web service. Defensio has an example PHP class, but unfortunately it is PHP4 only and it’s more fun to rewrite it, right?

For those who don’t know about Defensio, it is a web service for determining whether a comment on a blog or message in an application is spam. To use it, you must first register for an API key. Defensio is very similar to the venerable Akismet (see the article I wrote on Akismet) but they provide a couple other features such an indication of the ’spaminess’ of an individual message. Akismet has worked out great for me (123,419 spam comments caught so far!), but I figured it would be good to try out something new as well.

The class is a PHP5 class and the public methods are reasonably well commented. The bottom of this post has a link to a test application and a download of the class/test application. So…the usage of this class is quite straightforward, as shown below:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require('library/Gregphoto/Defensio.php');
require('library/Gregphoto/Defensio/Adapter/Streams.php);
 
$apiKey = 'mysecretapikey';
$siteUrl = 'http://my.secret.site.url.com';
 
$defensio = new Gregphoto_Defensio($apiKey,$siteUrl);
$defensio->setHttpClient(new Gregphoto_Defensio_Adapter_Streams());
 
$params = array(
	'user-ip' => $_SERVER['REMOTE_ADDR'],
	'article-date' => '2007/11/24',
	'comment-author' => 'Big Bad Spammer',
	'comment-type' => 'comment',
	'comment-content' => 'please click links and buy viagra',
	'comment-author-email' => 'bigbadspammer@annoying.com',
	'comment-author-url' => 'http://www.annoying.com'
);
$result = $defensio->audit_comment($params);
if($result['spam'] == 'true') {
	echo "Comment is spam with a spam score of " . $result['spaminess'];
} else {
	echo "Comment is not spam";
}

A couple key points on usage:

  • Each Gregphoto_Defensio object requires an Http adapter that it will use to make Http POST requests to the Defensio web service. I originally hardcoded it to use the Zend_Http_Client from the Zend Framework, but figured this could discourage people from using it. Then I wrote up a quick adapter to use PHP’s Http Stream Wrappers, but realized that didn’t work on my Dreamhost account, so I added in an extra one for the Curl extension. In theory I should have added a Gregphoto_Defensio_Adapter_Interface class, but I was lazy and didn’t want to add in an extra file.
  • Each Gregphoto_Defensio object can be used to make many requests
  • All of the current Defensio API’s are covered by the class. These are covered by the following methods in the Gregphoto_Defensio class:
    • validate_key
    • announce_article
    • audit_comment
    • report_false_negatives
    • report_false_positives
    • get_stats
  • Each of these methods takes a single parameter, an associative array of options as defined by the Defensio API. Each API also returns an associative array of response parameters. Two static utility methods Gregphoto_Defensio::getActions (returns a list of defensio methods such as ‘validate-key’) and Gregphoto_Defensio::getActionDetails (returns a list of required parameters, optional parameters, and response parameters for a specific Defensio action) are provided in order to get the details of the input and output parameters.

I created a simple test application which can be used to test Gregphoto_Defensio and all of the APIs provided by Defensio.

Download the Gregphoto_Defensio class and the test application