RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

gcao — 7 posts

http://www.github.com/gcao

I have blogged about Aspect4r API and execution model recently. They should bring you a good understanding on how it works and how it can be used. If you have not give it a peek, now is the good time. As always, any suggestions/comments are welcome.
Aspect4r 0.8.1 is out. Important new features are: define advices on class methods, test advices and wrapped methods easily. IMO, with this release it can be considered a complete solution for extract common code from one class/module.

Please see the blog post for details.
If you like to align your assignments in textmate, you'll love this bundle - AlignText.tmbundle. It allows you to enter a regular expression pattern and align code in any way you like. Please see this blog post for detail.
I've just released Aspect4r 0.7.1. Please see more details on my blog post. Aspect4r adds a solid method wrapper to Ruby, makes it easy to do Aspect Oriented Programming with help of Ruby's powerful meta-programming functionality.
I am releasing my first gem - aspect4r. It allows one to extract common logic from multiple methods using before_method/after_method/around_method etc. It also provides a approach to split large methods into small pieces. I hope you guys find it useful. It might undergo some API changes before 1.0 after I put it in use in one of my projects. I'll also be doing some benchmark testing next and improving its internals.
I came across Pancake today and feel it could be a game changer on developing rack based applications. Here is extracted from its readme:
While Rack provides the low level framework for building web applications on, Pancake provides a stack as a place to start your application. A stack provides a whole bunch of behavior for you including a router and middleware stack. The stack will accept any valid Rack application as the endpoint.
Sounds like it can greatly simplify managing a big site with multiple rack based apps, e.g. an authentication app + a CMS + more apps.
I just noticed my feed reader does not display all topics posted on Ruby Flow. Is it a bug or a feature? If you look at the RSS feed page below, you'll notice it does not include one single post on Mar 8th, however there are several actually. RSS Feed