HootSuite Dev 2

Post on 06-May-2015

2.305 views 0 download

Tags:

Transcript of HootSuite Dev 2

HootSuite Dev 2Tatsuhiro Ujihisa

May 12, 2011Tokyo, Japan

Thursday, May 12, 2011

Vancouver, B.C.Canada

Thursday, May 12, 2011

Thursday, May 12, 2011

Topics

•Teamwork

•My own work

Thursday, May 12, 2011

Tatsuhiro Ujihisa

•@ujm

•github.com/ujihisa

•http://ujihisa.blogspot.com

•HootSuite Software Engineer since June 2010

Thursday, May 12, 2011

Teams

•Web (web and keitai)

•Mobile (iPhone, Android and Blackberry)

•Design

•Test

Thursday, May 12, 2011

Web

•Biggest. Complete.

Thursday, May 12, 2011

Mobile

• Individuals. Subset. Flexible.

Thursday, May 12, 2011

Design

Thursday, May 12, 2011

Thursday, May 12, 2011

Infrastructure

devtest B

test A public

Thursday, May 12, 2011

•SVN

•PHP with Zend Framework• MySQL, MongoDB, Memcached, and Membase

Thursday, May 12, 2011

•PHPUnit and CruiseControl

•Selenium

•Man-power

Thursday, May 12, 2011

Thursday, May 12, 2011

Work

•Bike

•Rollerskate

•Bus☂

Thursday, May 12, 2011

Background

•Pattern Recognition (Master's)

•Ruby&JS programmer

•Vimmer

•Osaka → Vancouver

Thursday, May 12, 2011

In HootSuite

•HootSuite携帯版

•mixi Integration

•etc

•Since June 2010

Thursday, May 12, 2011

•PHP

• JavaScript

•HTML

Thursday, May 12, 2011

•Vim script

•Ruby

•PHP

•CoffeeScript

•Haml

Thursday, May 12, 2011

Thursday, May 12, 2011

Vim

•~/.vimrc 1412 lines

•Plugins: 66

•1999

•Good advisers

Thursday, May 12, 2011

Vim in HootSuite

•phpconceal

•quickrun

• shadow

Thursday, May 12, 2011

phpconceal

$a = 1; a = 1

return $x; ← x

$this->f() @f()

array('name' => 'value'); √'name': 'value)

Thursday, May 12, 2011

quickrun

<space>r

•upload files to dev server

• run its unittest remotely

• show it permanently

Thursday, May 12, 2011

shadow.vim

## cat -nhellotheworld

hello.txt.shd

1 hello2 the3 world

hello.txt

Thursday, May 12, 2011

shadow.vim

## coffee -cspf xf -> y + z

hello.txt.shd

(function() { f(x); f(function() { return y + z; });}).call(this);

hello.txt

Thursday, May 12, 2011

(ujihisa.vim)

http://cotocoto.jp/event/45772

5月14日(土)

株式会社タイムインターメディア

定員20名

Thursday, May 12, 2011

Ruby in HootSuite

•a shellscript

•Rakefile

• static source code processing

• spec

•prototyping

Thursday, May 12, 2011

mixi Integration

•mixi Voice

•mixi Voice Comment

•User Profile

•Mobile Version

Thursday, May 12, 2011

Thursday, May 12, 2011

Thursday, May 12, 2011