18 May 2013

The Ruby Reflector

Topic

IRC services

  Source Favicon
Email

…it's an architecture guide. Uncle Bob ( OOP) + Raganwald ( AOP) + Hexagonal Architecture. It's more like a set of guidelines

Piotr : EmberJS - it does as much as it can for managing your SPA. it's not minimalistic, for good reasons (you don't have to write much code).

Patrick : Backbone, very small, minimal. you don't bring too much dependencies. you can choose what you want.

Adam : Angular, Two-way data binding is the key feature. Synchronization …

andrzejonsoftware.blogspot.com Read
  Source Favicon
Email

Wait, wasn't that what AOP was about?

Introducing some simple AOP techniques (thanks to awesome Raganwald's library !), we have achieved exactly what was needed. This is what we currently call a Glue code. It's almost like a configuration, in most cases. No logic, just declarations.

Hexagonal architecture

We started with MVC in mind. The most basic rule of MVC is that when the model changes, the views are notified about it. After some time, we've realised …

andrzejonsoftware.blogspot.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 1 year ago.
Email

…Using ActiveSupport concerns to break up fat models.

The Definitive Guide: Sublime Text 2, a Code Editor to Love - A bit disorganized, but there are some useful tips buried in here.

YARD 0.8.0 Released! - With more control to override times when the automatic parsing doesn't work right.

Aquarium - AOP for Ruby, now supporting 1.9.3 and JRuby 1.6.7.

afreshcup.com Read
  Source Favicon
Email

I had a lot of work recently, so I didn't have time to tell you about our participation in the SSJS devmeeting a few weeks ago! It was a really valuable 12-hour journey through server side programming in Javascript. We warmed-up with in-depth Javascript basics and aspect-oriented programming implementation, then went on to Node.js and RingoJS.

Today I want to focus on the first part - AOP in JavaScript. I was totally shocked how this implementation could be instructive …

applicake.com Read
  Source Favicon
Email

For this reason, some advanced techniques, such as AOP or even reflection, should be used with care when dealing with domain code. Transparent remotability, EJBs, JPA, ActiveResource, ActiveRecord and any other libraries that work with a layer that it tries to obfuscate might generate problems if the end developer does not fully understands whats beyond it - and the developer who just joined the company *does not*. This is the case where multiple remote invocations or N+1 sql queries, …

guilhermesilveira.wordpress.com Read
  Source Favicon
By sergiojunior of CaelumObject Developers' Blog almost 3 years ago.
Email

…TryGetMember method in the DynamicXmlResource will be executed instead, pretty much as in a AOP pattern.

In the same way we have TryGetMember method, we had other methods to allow us change objects behaviour. In our project we make use of the TryInvokeMember method to give support for the actions described through links in XML representation, see code below:

class DynamicXmlResource : DynamicObject {

private XElement xmlRepresentation;

public override bool TryInvokeMember(InvokeMemberBinder…

guilhermesilveira.wordpress.com Read
  Source Favicon
By ceefour of AdaRuby almost 5 years ago.
Email

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 …

adaruby.com Read
  Source Favicon
By Andrzej Krzywda of Andrzej on Software 11 months ago.
Email

…front of everything, that fit perfectly well into this kind of apps. There are some concepts from AOP that come back (even Twitter uses them) and are great for domain - gui separation.

Even more, the backend is now an optional part (a plugin) of my project, it's possible to run the frontend application without a Rails backend.

We live in exciting times. The Single Page Applications are becoming more and more popular. I'm no longer a backend-only programmer and I am very happy …

andrzejonsoftware.blogspot.com Read
  Source Favicon
By Andrzej Krzywda of Andrzej on Software almost 2 years ago.
Email

…topic in the Ruby community. Partially, it's because Ruby gives us some AOP constructs out-of-the-box (open classes) but also due to some built-in mechanisms in Rails - like filters and callbacks which serve as the dynamic part of AOP.

I think that there are scenarios in which traditional AOP can be very useful. Today, I'm going to show you how to implement logging of chosen method calls, without touching the methods itself.

Aquarium seems to be the best AOP

andrzejonsoftware.blogspot.com Read
  Source Favicon
By Andrzej Krzywda of Andrzej on Software almost 2 years ago.
Email

I was involved in the AOP movement in my Java life. AOP was the tool that let you intercept method calls and run some crosscutting code from one place. If you needed logging of method calls and params, it was just 3 lines of code in an aspect and all of your method calls were traced. Similarly, it was possible to handle persistence with AOP. Another part of AOP was composing classes from smaller pieces. Fortunately, this part now appears in the Ruby world in form of the DCI architecture …

andrzejonsoftware.blogspot.com Read