Re: separation of concerns w/o encapsulation

2015-05-14 Thread JUAN ANTONIO RUZ
pasting here what I think could be a separation of concerns code pattern proposal from "Graph: Abstractions for Structured Computation" *... Object-oriented programming encourages the decomposition of large systems into

Re: wondering the reasons to choose defrecord vs reify in stuartsierra/component

2015-04-29 Thread JUAN ANTONIO RUZ
Hi Stuart, > > Components are records in order to support the dependency-injection > features of `component/start-system`, which work via `assoc`. That was the only reason that I could imagine but I wanted to double checked here :) I'm always inclined to think in performance reasons that I don't k

Re: wondering the reasons to choose defrecord vs reify in stuartsierra/component

2015-04-29 Thread JUAN ANTONIO RUZ
Hi James I got this question after watching the David Nolen's video called "The Functional Final Frontier ". Around minute 11th he talked about "Local state is poison

Re: Dynamically creating defrecord

2015-01-26 Thread JUAN ANTONIO Ruz
Hi Sven, I was trying to do the same with my library tangrammer/defrecord-wrapper and, just today, I found a couple of links that worked fine for that http://grokbase.com/t/gg/clojure/11cjvz1jda/defrecord-based-on-runtime-metadata http://stackove

Real time stuartsierra/component system visualisations

2015-01-19 Thread JUAN ANTONIO Ruz
Hi folks, just sharing here [milesian/system-diagrams ] a tool to get real time system visualisations of your internal protocol calls in stuartsierra/component based systems You can find a couple of snapshots and instructions to use it in your cur

[ANN] milesian/aop "0.1.3" - Apply AOP in stuartsierra/component with a component perspective

2014-12-16 Thread JUAN ANTONIO Ruz
Hi folks Announcing here milesian/aop , a proposal to apply AOP middleware to your current stuartsierra.component system In the README , I've detailed the common example of applying logging cross-cutting conc

Re: Implementing a Oauth2 provider with clauth and friend

2014-12-16 Thread JUAN ANTONIO Ruz
e I learn to use it. > > Best > > Sebastian > > On Tuesday, December 16, 2014 9:51:45 AM UTC+1, JUAN ANTONIO Ruz wrote: >> >> Hi Sebastian, >> Are you using stuartsierra/component library? If you are, take a look at >> juxt/cylon <https://github.com/

Re: Implementing a Oauth2 provider with clauth and friend

2014-12-16 Thread JUAN ANTONIO Ruz
Hi Sebastian, Are you using stuartsierra/component library? If you are, take a look at juxt/cylon that in a component way offers Oauth2 (client and provider). opensensors.io have been the first adopters of this security cylon feature as you can find on the README.

Re: [ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-12 Thread JUAN ANTONIO Ruz
tem system-atom] [*aop*/wrap logging-function-invocation]]} El viernes, 12 de diciembre de 2014 14:08:18 UTC, JUAN ANTONIO Ruz escribió: > > Hi James! > > You're right I wrote a lot about the relation between "component > definition", "update-sys

Re: [ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-12 Thread JUAN ANTONIO Ruz
hrough the README, but I still don't feel like I understand > what problem this library is trying to solve. > > Could you perhaps provide an example of something that's hard to do with > just Component, and easy to do with BigBang? > > - James > > On 11 December

[ANN] BigBang v0.1.1 - compose stuartsierra.component/system-update(s) in start invocation time

2014-12-11 Thread JUAN ANTONIO Ruz
Hi folks, I wanted to share here BigBang, my library proposal in customization the way stuartsierra/component system starts. I'll copy here "*Why did I write this library*?" After trying to get working Aspect Oriented Programming and Reverse Dependency Injection in stuartuartsierra/component

Re: [ANN] co-dependency in stuartsierra/component

2014-12-02 Thread JUAN ANTONIO Ruz
-items are used/displayed on the menu component to adapt their renderer Does this explanation make sense to you? Thanks for reviewing Juan El martes, 2 de diciembre de 2014 12:55:42 UTC+1, Atamert Ölçgen escribió: > > Hi Juan, > > I thought co-dependencies ought to be designed out. Could y

[ANN] co-dependency in stuartsierra/component

2014-12-02 Thread JUAN ANTONIO Ruz
*co-dependency* is a library that lets you use "*cyclic*" dependencies in stuartsierra/component systems In other words, :a depends-on :b, :b (co-)depends-on :a Although I used "cyclic" word, this co-dependency library is designed on the idea that components don't need co-dependencies to start

is any work done to draw sequence diagrams with drcode/vijual ?

2014-12-01 Thread JUAN ANTONIO Ruz
Hi guys, I'm trying to guess in which state is drcode/vijual or which would be the better fork to start working on this "drawing sequence diagrams" feature... It's a really shame that this so cool tool seems to not be maintained any more :( Any advises or any

[ANN] defrecord-wrapper 0.1.3 - wrapping clojure.core/defrecord

2014-11-27 Thread JUAN ANTONIO Ruz
https://github.com/tangrammer/defrecord-wrapper This library lets you apply middleware to protocol implementations of clojure.core/defrecord in the same way as AOP does. The idea behind defrecord-wrapper is pretty simple. It creates another defrecord instance (wrapper) that will contain the ori