Posts

  • Business Logic and Domain Logic

    It had been really vague to me about what exactly is business logic for a long time. But now I understand what it is, it helps me how I organize my code. The definition may vary to the people, but I have one solid definition which I have been able to rely on. ... more

  • Relation of Specs and Requirements

    One confusion I see a lot in software development projects is people sometimes mix up the words of “Specificiations” and “Requirements” for the other. ... more

  • Learning English with Python Scraping

    If you have ever tried to learn some foreign language, you know learning words is undoubtedly one of the biggest challenges. I have used online web dictionary services with my native launguage, but they are weak in keeping your search history. My favorite service gives me only 10 histories, ... more

  • Test Rake tasks with RSpec

    It’s tricky to test rake tasks for following reasons.

    1. It’s annoying to see the task’s outputs when running tests if you set it up so.
    2. rake does not allow you to run the same task for multiple test examples as it is.
    ... more

  • MVC + Layered Architecture (Rails)

    I believe the point of adopting Rails is to maximize the development productivity, namely to build an application very quick with small amount of code. But if you try to do everything within the original MVC, you will easily end up messing up with ... more

  • CI Automation in a ruby project

    We introduced Jenkins for our Ruby on Rails project and we loved it the convenience and power it gave us. ... more

  • Dynamic Prepared Statement (Presentation)

    My presentation regarding static vs dynamic prepared statements. ... more

subscribe via RSS