3 Aug 2011

The Book of Ruby (3rd Edition) Review

Author: ceefour | Filed under: Books, Reviews, Ruby

the book of ruby The Book of Ruby (3rd Edition) Review

Looking to learn Ruby programming language? You’re lucky: The Book of Ruby, fresh from the oven 3rd Edition has been published by No Starch Press. Written by Huw Collingbourne, the developer of Ruby in Steel IDE, so it’s quite a special treat.

The book contains 425 pages in 20 chapters, while quite short it explains well a lot of the Ruby programming language constructs that you will use everyday.

Ruby development learning materials covered are as follows:

2 Jul 2010

Assembla – Agile Bug Tracking and Issue Management

Author: ceefour | Filed under: Reviews

assembla agile project management svn hosting bug tracker Assembla   Agile Bug Tracking and Issue Management is an online software development version control and management tool. The site includes an SVN/Subversion/Git/Mercurial/CVS repository hosting, a complete ticketing system, a collaboration tool and a management tool.

Certain features of the site can be used for free, but to use the entire suite of tools requires a paid subscription to the site. The site uses 128-bit encryption for free and paid users, and all data is stored on secure Amazon servers. The ticketing system incorporates task tracking, issue tracking and bug tracking. The collaboration tool includes a wiki, a message board and shared files. The software repositories offered by the site require no setup and offer seamless integration with the ticketing, collaboration and management tools.

6 Feb 2010

Rails 3 Beta Ready with Merb Goodness

Author: ceefour | Filed under: Rails

What do you get when the power of Ruby on Rails is combined with flexibility of Merb web framework? Rails 3 of course!

We have a very happy news: Rails 3 Beta is ready for testing. The improvements are numerous: ActiveRecord, ActionController, ActionView, and ActionMailer, ActiveSupport have all been redesigned. ActiveRecord got pimped with ActiveRelation scoped queries.

Some components have been refactored into their own: ActionDispatch, ActiveModel. Even better, all components can be used alone and you don’t have to require the entire Rails framework.

Rails is now not only Rack compatible, but subcomponents of Rails, like routing, are Rack middlewares.

3 Feb 2010

Why You Should Be Grateful for Coding in Ruby

Author: ceefour | Filed under: Opinions

adaruby01 529710929 7b3d85e103 272x300 Why You Should Be Grateful for Coding in Ruby

How do you feel during your daily Ruby programming workflow? Do you feel fun or productive? Either way, you’ve got to feel grateful!

After several years not doing any serious PHP programming, today I get curious.

Right now, PHP has evolved. PHP programmers are not “script kiddies” anymore, they’re professional programmers with quality MVC web frameworks.

Now it won’t be fair if I compared Ruby on Rails with PHP, as that’d be like comparing apples and oranges. So I have to pick some killer app written in PHP that competes directly with Rails, as long as it’s not WordPress or Drupal. icon razz Why You Should Be Grateful for Coding in Ruby

8 Jan 2010

Quest for The Fluid Web Framework

Author: ceefour | Filed under: Fluid Web
During my experience developing web applications, it’s challenging to find the “best” web development approach of them all.I like these principles:

  • POJO approach. No inheritance, interfaces, minimal annotations. Configuration is all that’s necessary.
  • Convention over Configuration. Even with POJO, some configuration is needed. Minimize configuration by using conventions. And document the conventions! Because conventions can sometimes be confusing.
  • REST approach. This is not anti-SOAP or anti-WS-*. It means designed for the web, and embrace resource-oriented and stateless principles.
  • Use JSON. For browser-server communication JSON is preferable. Atom+XML is more suited for documents and server-server communication.
21 Dec 2009

Three Ways You Can Speed Up Your Fresh Rails Development

Author: ceefour | Filed under: Rails

A Ruby on Rails web application I’ve been developing uses Dojo-based full AJAX frontend. I learned some new tricks during development, relearned old pitfalls, and found some mistakes that I’d like to share with you.

16 Dec 2009

How to Use ActionView Helpers in Your Rails Controller

Author: ceefour | Filed under: Rails

sbres 1260943259 0   How to Use ActionView Helpers in Your Rails Controller

Sometimes when developing a Ruby on Rails web application, you want to use an ActionView helper method inside your controller. The following tip is from Gabriel Gironda 1.

This is incredibly straightforward and more of an occasional convenience, but I thought I’d throw it out there anyway.

One use case is to use pluralize() in a flash message and not have to do it by hand using the inflector. You could include ActionView::Helpers::TextHelper in the controller, but that fills your namespace with crap.

Put this in the class ApplicationController instead:

sbres 1260822883 0   NetBeans IDE 6.8 Released    with Enhanced Ruby on Rails Support!

NetBeans IDE version 6.8 has been released, Sun Microsystems’ newest flagship programming environment. Primarily targeted at Java programmers, NetBeans also sports a very polished IDE for Ruby on Rails developers.

New NetBeans 6.8 features and improvements for Ruby on Rails include:

  • Upgraded bundled JRuby to 1.4

  • Ruby 1.9 debugging support

  • Run/Debug File with arguments

  • Support for running/debugging files that are not part of a project

  • Improved handling of inherited methods in rename refactoring

  • Possibility to specify arguments for Rails servers

  • Navigation support for ActiveRecord associations

27 May 2008

Aquarium 0.4.2: Aspect-Oriented Programming for Ruby

Author: ceefour | Filed under: JRuby, Reviews, Ruby, Tutorials

Aquarium is a framework that implements Aspect-Oriented Programming (AOP) for Ruby. The premise of AOP is that some concerns in an application will cut across the natural object boundaries of the problem domain. Rather than scatter duplicated code in each object to handle the cross-cutting concern, AOP modularizes the specification of which execution points are affected (called join points) and the actions that should be invoked at those points.

New in V0.4.0: Preliminary support for advising Java classes in JRuby! See the discussion here.

See also the RubyForge project page.

12 May 2008

A Server Hard Drive Crash :(

Author: ceefour | Filed under: Complaints, News, Opinions

Just got a server hard drive crash icon sad A Server Hard Drive Crash :(

We should be back operational soon. In the mean time please bear with us. Thank you. icon smile A Server Hard Drive Crash :(