Coding

Path to the dark side

[via Matterr]
If I may add, “Java leads to suffering”.
Share This

PhRUG January Meetup

Some photos from the PhRUG (Philippine Ruby Users Group) meetup at Ateneo De Manila University last Jan 16. The meetup was sponsored by Topher Rigor and the AdmooLabs gang. Topher talked about Ruby on Rails to students and I discussed testing and rspec.

This is Topher.

This is Me.
There will be another PhRUG meetup […]

Ajax will die

Now that I have your attention, it’s not Ajax that will die, it’s the term that will.
When Jesse James Garret coined the term Ajax, it was meant to describe a set of technologies that have already existed for several years: XHTML and CSS for standards-based presentation, DOM for dynamic display in the browser, data exchange […]

Firebug, YSlow, asset_packager and why your website is “slow”

When tasked to improve a web app’s performance, the first thing that developers often do is tweak the backend - web server, database, for example. But according to the Yahoo! Exceptional Performance Group, most optimization opportunities exist after the requested page has been given to the browser. For example, when a URL is entered […]

What Ruby on Rails plugins you use?

After months of sticking with Rails 1.1.6, I have finally moved my app to 1.2.3. I’ve been holding off the upgrade because I am using the theme_support plugin by Matt which would break in 1.2.3 because of routing changes. As a consequence, I can’t use ar_mailer because it requires 1.2.x., according to my buddy Evan. […]

Animated Ruby on Rails commercial

We should be producing more of these to show to our bosses.
Share This

Writing code on paper is good for your brain

The reason I did that was because I had no money. I could never build one. Chips back then were… like I said, to buy a computer built, it was like a downpayment on a good house. So, because I could never build one, all I could do was design them on paper and try […]

Monday RoR updates

Raymond Lim is looking for RoR developers for his company Somase. Somase is looking for at least 2 programmers, with one ideally highly experienced (someone who can really help develop their toolsets and development process e.g. a tech lead or project manager with programming background). If you feel like staying in beautiful Cebu, contact Raymond.
syndeo::media […]

I hope the software works

Do you tell this to yourself every time your team releases a version of your software to your customers?
Are your customers spending more time filing bug complains than actually using your software?
In case you haven’t heard, there is what we call quality-assurance (QA for short) activities that make sure you release a software that […]

Ruby on Rails tip: Simplify your templates with helper methods

Do you find yourself writing the same code in several templates? For example, in one template you have:
PLAIN TEXT
HTML:

<h2 class='page_title'>Contacts</h2>

and in another template, you have:
PLAIN TEXT
HTML:

<h2 class='page_title'>Goals and Action Items</h2>

Simplify your code by writing helper methods. In the case above, you can have this method:
PLAIN TEXT
RUBY:

def page_title(title)

  content_tag('h2', title, :class => 'page_title') if [...]