packaging

how to decouple data from business logic

Here is the scenario, Let's say I have a user class like so: public class User{ private String firstName; private String lastName; //... // setter, getters } Then I have a class like so to handle user Comments: public class Comments{ // some fields public static loadComments(User user, int count){...} } So far very basic s...

Packaging and distributing a QtRuby app as a gem? Or how?

I have finished developing a GUI desktop Ruby application that uses Qt through the qtbindings gem, and I need to release it with a few requirements: The user doesn't have to build or compile anything, especially Qt libraries, installing Ruby and Rubygems is OK, but not more It must run on Mac and Windows, Linux too preferably I've tr...