Author Archives: Aliyar Güneş

About Aliyar Güneş

I’am Aliyar Güneş, a learner and software developer from Istanbul, Turkey. I write C# and Java.

Poor Man’s LastFM History Downloader

I just wanted to warming up to C# and try WPF as a front. Also, LastFM may soon say goodbye (just a feeling) and I have good memories there that I want to keep. So, I built for myself this … Continue reading

Posted in LastFMHistoryDownloader | Tagged , , , | Leave a comment

Aspect Oriented Programming Notes #4 – Proxy Mechanism

In a pure object-oriented sense we are calling a method of an object (Target object). That method has some code which is already in it. Aspect code has to run whenever we call this target method. How is it possible … Continue reading

Posted in Spring Framework, Works | Tagged , , | Leave a comment

Aspect Oriented Programming Notes #3 – Some Additional Info

Reuse Aspect Pointcut Definitions @Pointcut annotation is used for defining a pointcut independently to be reused in multiple advices. Generally, if our pointcuts are shared between multiple aspects, it is better to centralize them in a common class. In this … Continue reading

Posted in Spring Framework, Works | Tagged , , , , | Leave a comment

Aspect Oriented Programming Notes #2: Setting Up AOP Dependencies and Declaring Aspects, Advices, Pointcuts

An aspect is a Java class that modularizes a set of concerns (e.g., logging or transaction management) that cuts across multiple types and objects. Java classes that modularize such concerns are decorated with the @Aspect annotation. In AOP terminology, aspects … Continue reading

Posted in Spring Framework, Works | Tagged , , , , , , , , , | Leave a comment

Aspect Oriented Programming Notes #1: The Concepts

Not just a feature that Spring provides, it’s a model of programming itself. (It’s functional programming) When you writing in such languages you think of a problem and then you break it down into different functions. Each function accomplishes a … Continue reading

Posted in Spring Framework, Uncategorized, Works | Tagged , , | Leave a comment

A Naive Example of Dependency Injection

–> It’s a way in which you decouple the conventional dependency relationships between objects. Say we have two objects that are related to each other, one is dependent on the other. The idea is decouple this dependency. So that they’re … Continue reading

Posted in Spring Framework, Works | Tagged , | Leave a comment