18 April 2014

The Ruby Reflector

Topic

IRC services

  Source Favicon
On Article RSS Feed 22 days ago.
Email

introduce the basic concepts of AOP, and how it is still relevant even in a non-statically typed language like Ruby

show you how to easily and quickly leverage some AOP principles in your Rails application

play with some AOP-friendly constructs in Ruby 2, in particular TracePoint

walk you through two existing Ruby frameworks to practice Aspect-Oriented Programming

She will even attempt to prove that not all things coming from the Java world are necessarily bad.

Pub

lrug.org Read
  Source Favicon
By Andrzej Krzywda of Andrzej on Software 12 months ago.
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 almost 2 years 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
By Paul Ingles of pingles over 2 years ago.
Email

Java web frameworks I used to work with would most likely wrap this kind of stuff in via. an AOP framework that's wired in with some IoC container like Spring .

What makes Clojure different, apart from not needing any more frameworks, is that it's using such a core, language-level abstraction: there's no need to write middleware adapters to join disparate things together.

ZeroMQ

I mentioned that it had been my working with ZeroMQ that reminded me …

oobaloo.co.uk 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
By Guilherme Silveira of blog.caelum.com.br almost 3 years ago.
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 blog.caelum.com.br almost 4 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 6 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 almost 2 years 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