Published June 28th, 2006
in General.
I was fortunate enough to attend Rails Conf 2006, held between 6/23 and 6/25 in Chicago. I also participated in RailsDay 2006 on June 17th.
I’ve had a very edifying few weeks. I’m going to take a few minutes and enumerate (get it?) some of the bigger lessons learned:
Know your problem domain.
This has to be my […]
Published June 25th, 2006
in General.
Here’s a list of stuff I’ve learned and pointers to cool stuff.
ZenTest
The Ruby Idioms TextMate bundle (It’s in textmate)
I need to learn Camping
Eric Hoffer
The Agile Manifestio
RBatis
Jacob’s Well
Metaid.rb from _Why
Chapters 24 and 26 in the Pickaxe / Ruby for rails 13 / Why’s Seeing metaclasses clearly (again)
Montastic.com
rcov – ruby coverage
Arts – rjs testing suite
Infrant
Menu meters
Brookers
Published June 25th, 2006
in General.
!http://static.flickr.com/45/174612466_dc75eb189b_m.jpg!:http://flickr.com/photos/kastner/174612466/
Ben Curtis runs the plugin directory on rails
21st music is trying to fill the gap between 100% independent and 100% soul-sucking RIAA.
Ben’s major role was in making the shopping cart e-commerce site.
h3. Who is Ben Curtis?
* a startup guru
* worked at real networks
* worked at upscale USA (perl and php)
* March of ‘05 he learned […]
Published June 25th, 2006
in General.
!http://static.flickr.com/71/174516202_d32c95948f_m.jpg!:http://flickr.com/photos/kastner/174516202/
“Laszlo on Rails”:http://wiki.openlaszlo.org/Laszlo_On_Rails
“http://mikepence.wordpress.com”:http://mikepence.wordpress.com
OpenLaszlo is blurring the line between desktop and web apps.
On the internet today, there is a movement towards a better look, feel and more interactivity.
Pimp my site (mypace, et. al).
Brookers from youtube demo :)
Web apps need Sex, Drugs and rock and roll which is a fun way of saying Pretty, Immersive and Rich.
Pandora […]
Published June 24th, 2006
in General.
Short Version: Think before you code. If you think clearly about your domain problem - the answer is much simpler.
!http://static.flickr.com/66/174165944_3e34fa58a3_m.jpg!:http://flickr.com/photos/kastner/174165944/
Before DHH’s keynote, rails conf 2007 was announced:
RailsConf 2007 will be done in partnership with O’Reilly & Associates!
may 17th-20th in Portland, OR
DHH talks about his very strong opinions. About bending the outside world to our way, […]
Published June 24th, 2006
in General.
!http://static.flickr.com/77/174086298_dcced1f566_m.jpg!:http://flickr.com/photos/kastner/174086298/
h3. Train
c.1870 Bobby - a shop manager. Knows the ins-and-outs of the shop, but doesn’t own it. He is starting to hear things about the new frontier and how much opportunity is out there. Also, the homesteading act has just come into being (about 10 years previously). The homesteading act was the ability to stake […]
Published June 24th, 2006
in General.
A awesome panel. Nice and slow!
h3. Unit tests
* go with one model
validates_presence_of :title
validates_uniqueness_of :title
protected
def validate
errors.add(:price, “should be positive”) if price.nil? || price > 0
end
Our test
def test_validate
product = Product.new
assert !product.valid
assert product.errors.invalid?(:title)
assert product.errors.invalid?(:price)
product.title = “Something cool”
price.price = 1234
assert product.valid?, product.errors.full_messages
end
(you can run tests from TextMate!)
Same for postive checking @def test_price_should_be_positive@
To test for uniqueness, we need some data
h4. […]
Published June 24th, 2006
in General.
h3. What is universal design?
Getting your design to the WIDEST range possible as is viable in busines
h4. Accessiblity is for
* people with disabilities
* sensory
* motor
* cognitive
h4. people with technical or cultural disadvantages
* Old computers or slow internet connections
* English as a second language
h4. Accessible tech
h4. Nielsen in usability engineering cites 5 factors:
* Learnablity
* Efficiency
* memoraiblity
* […]
Published June 24th, 2006
in General.
!http://static.flickr.com/44/173955543_7857844e2d_m.jpg!:http://flickr.com/photos/kastner/173955543/
h3. When NOT to use ActiveRecord
h4. AR has some limit
* One class per table
* Primary key has to be id
* no composite primary keys
* Foreign keys are table_name_id
h4. iBatis as a datamapper - a different mapper for data -> objects
It uses the “DataMapper” pattern
h3. RBatis
* ruby implimention of iBatis
* written by “Jon Tirsen”:jutopia.tirsen.com
* less then […]
Published June 24th, 2006
in General.
aka. “Some things I learned when trying to build my program up toward a DRY domain-specific language”
Short version: Very very dense talk, but great stuff. I think I’ll grok it at a later date.
!http://static.flickr.com/68/173879904_4576e078a1_m.jpg!:http://flickr.com/photos/kastner/173879904/
“http://www.writertopia.com/”:http://www.writertopia.com/
“http://www.writertopia.com/developers”:http://www.writertopia.com/developers
“http://www.simbiome.org/”:http://www.writertopia.com/developers
“http://simtk.org/svn/simbiome/”:http://simtk.org/svn/simbiome/
h3. Bottom-up Design
“It’s OK to look like a fool.” - Paul Graham from yesterday. That was on a slide - AGILE!
h3. “What […]