Tuesday, April 19, 2011

A New Logo in the Works

I've just finished work on a new logo:

"Mute"

This accompanies a total site-style redesign.

It is surprisingly involved changing logos after even such a short time. I had previous thought the process would be trivial, however, there are actually many considerations to be made.

I decided on the original logo as a temporary measure. It was better to have something than nothing, and it was a direct visual translation of "sordina". I knew that it wasn't immediately identifiable, but logos are often abstract anyway so I didn't attribute much urgency to finding a better one. The new logo is also a direct translation of "sordina".

I chose the name Sordina Productions as an homage to music and minimalism. The word "sordino" is often present on musical scores. This is in reference to instructions involving an instrument's mute. The previous logo was modelled after my cello mute. It had great sentimental value, but was almost totally unrecognisable. The new logo's metaphor should be almost completely self-evident.

I chose the concept of a mute in reference to "turning down the volume" of today's websites. Websites, more often than not, are cluttered affairs that are the visual equivalent of several obnoxious people shouting at you all at once.

My answer to this is minimalism - "hitting the mute button on the web"

Monday, October 25, 2010

Shut Down in Mid Flight

We were shut down today during our pitch to a japanese restaurant in Mt Lawley.

The manager at was determined not to even see us once he had heard that we were selling a website. I think that this experience shows that it is extremely valuable to establish even a superficial relationship with the business manager/owner before pitching a site. How to actually accomplish this is another problem.

From a business point of view this rejection is by no means a major roadblock. We can always recycle the site. However, I had eaten at the establishment many times in the past and I find their lack of a web-presence disturbing.


C'est la vie.


Onwards and upwards.

Saturday, October 23, 2010

Phone-Targeted CSS

After reading over the source of the Less CSS Framework 2, I have implemented a phone-targeted rendering approach for client sites (soon to be ported to sordina.net).

The full size page:

Chrome

The phone-targeted page:
iPhone

A smaller sized layout is kept in mind at all stages of the design process, and finally customized when the bulk of the site is finished.

The trick lies almost entirely in the @media selector:

@media only screen and (max-width: 756px)

This allows for conditionally applied layouts.

I have found that two layouts is the most optimal number, as it allows for a customized browsing experience from phones, but at the same time doesn't overwhelm the developer with what essentially boils down to a constraint satisfaction problem when trying to eliminate browser glitches.

Monday, October 11, 2010

Easy Email with SendGrid

In order to get up and running with email quickly and painlessly, I have been using the Heroku SendGrid plugin. Heroku creates some environment variables for use with your mail-library of choice when you install sendgrid:free. The problem with this is that you can't use these locally without setting them in your environment explicitly. Luckily you can work around this by referencing a file not in version control containing your sendgrid username and password, etc. Like so:

# Load private passwords for local development
# This file is not checked into version control and is used to store account information for development
if File.exist?("private_env.yaml")
YAML.load_file("private_env.yaml").each do |key,val|
ENV[key] = val
end
end

Then create the yaml file referenced:

---
SENDGRID_DOMAIN:   localhost.localdomain # sordina.net
SENDGRID_PASSWORD: XXXXXX
SENDGRID_USERNAME: XXXXXX@heroku.com
 
In order to determine these variables, just use the following command in your application:

heroku config -long

Now you are able to use the environment variables to send email with (in this example) Pony:


post '/contact' do
Pony.mail(
:to          => 'maydwell+sordina@gmail.com',
:from        => params[:email],
:subject     => "sordina.net feedback from [#{params[:name]}].",
:body        => params[:comment],

:via         => :smtp,
:via_options => {

:address        => 'smtp.sendgrid.net',
:port           => '25',
:authentication => :plain,
:user_name      => ENV['SENDGRID_USERNAME'],
:password       => ENV['SENDGRID_PASSWORD'],
:domain         => ENV['SENDGRID_DOMAIN']
})

redirect '/thanks'
end



Done!
 
 

Wednesday, September 15, 2010

The Amazing Internet

It's easy to take it all for granted, but sometimes you have to stop and smell the roses.

My cubical.


I'm sitting in my back garden, researching potential clients using a virtual reality view of the world to walk down Beaufort Street wirelessly. Playing music from my laptop through my speaker-system in the lounge next-door with audio-streaming software. Talking to my friends from all over the world. Automatically translating articles written in German and Japanese into less-than-perfect, but still comprehensible English. Using open-source software written purely for the benefit of mankind with no reward expected other than attribution. Publishing opinions and photography, however irrelevant, that millions of people could view instantly if they so chose.

I guess I'm becoming a techno-hippie because the internet feels almost utopian to me right now. The people who are trying to lock it down don't have your best interests at heart.

Either way, I don't think I care about that hover-car so much anymore.

Monday, September 13, 2010

Asynchronous Javascript

There are many javascript frameworks and tools that can help the besieged web-developer in their quest to slay the dragon. I personally use jQuery for even the most menial of tasks thanks to its beautiful monadic design, however, even the miniscule 72k of minified jQuery source is still going to slow down page-load on slow connections. Combine this with CSS resources, other javascript files, and what-have-you, and your page will stall on grandma's computer.

The very simple solution I have implemented on sordina.net is to create a small asynchronous function that triggers a download of resources using setTimeout:


/*
 * Simple async callback function for loading external scripts without
 * slowing down the page.
 */
function async(element,options,callback){
function f(){
var e = document.createElement(element)
for(var i in options) { e[i] = options[i] }
if(callback) {
if(element == "link") {
if(options['type'] == 'text/css') onloadCSS(element, callback)
} else {
e.onload = callback
}
}
document.getElementsByTagName('head')[0].appendChild(e)
}
setTimeout(f,0); // This makes the function asyncronous
}

I began thinking about this issue as I was sitting on a wireless connection that had multi-second pings. Requests to jQuery, Google Font Directory, and other external resources were slowing down the loading of my page even though I was developing it from a web-server on my laptop.

Now that I am using the "async" function the page loads very quickly in this scenario, with dynamic and stylistic functionality being loaded into the page as resources become available. So long as you are designing your pages to use graceful degradation, this shouldn't be a major issue.

Until next time, let me know if I've just blogged any hideous bugs!

Friday, September 10, 2010

Tyler API

Tyler is now integrated into sordina.net at http://sordina.net/Tyler

The early-nerd catches the internet-worm.

That was a fun couple of hours.