<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rumeysa Alkayiş on Medium]]></title>
        <description><![CDATA[Stories by Rumeysa Alkayiş on Medium]]></description>
        <link>https://medium.com/@rumeysaalkayis?source=rss-9db3dd7f0068------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tToDLhpd9v-AErp2</url>
            <title>Stories by Rumeysa Alkayiş on Medium</title>
            <link>https://medium.com/@rumeysaalkayis?source=rss-9db3dd7f0068------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 12:45:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rumeysaalkayis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Aspect Oriented Programing]]></title>
            <link>https://medium.com/@rumeysaalkayis/aspect-oriented-programing-9aca341b8785?source=rss-9db3dd7f0068------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aca341b8785</guid>
            <dc:creator><![CDATA[Rumeysa Alkayiş]]></dc:creator>
            <pubDate>Sun, 04 Dec 2022 14:13:27 GMT</pubDate>
            <atom:updated>2022-12-05T05:05:00.170Z</atom:updated>
            <content:encoded><![CDATA[<h3>Spring Aspect Oriented Programing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*faPbuOrufQnLOh9TyFRG_w.png" /></figure><p><strong>Neden AOP ?</strong></p><p>İstekler arttıkça iş kodları uzayıp karmaşıklaşır. Birde üstüne revize gelince düzenleme yenileme içinden çıkılamaz hale gelir bunu önlemek için bir yaklaşım türüdür . Projeye özgü iş kodlarının yanında her proje de ortak olan logging ,exeption handling, caching, authentication , authorization, transaction işlemleri Aop yaklaşımı ile düzenli bir hale getirip kodun okunabilirliğini , revize geldiğinde bakımını , aynı olan durumları tekrar kullanmayı sağlayabiliriz.</p><p><strong>Spring için AOP</strong></p><p>Projeye özgü olan domain kodlarının yanında işleyen ve kod bütünlüğü olarak ayrı bir yapıda çalışmasını sağlamak için Spring framework içinde anatasyonlardan yararlanabiliriz.</p><p>Projemize eklemek istiyorsak ilk olarak projenin main classına <strong>@EnableAspectJAutoProxy</strong> anatasyonu ile adepte etmeliyiz.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad6dc13e8d85e65fce135241dc510d21/href">https://medium.com/media/ad6dc13e8d85e65fce135241dc510d21/href</a></iframe><p>@Aspect</p><p>@After advice belirtilen join pointten sonra çalışır</p><p>@Before advice belirtilen join pointten önce çalışır.</p><p>@Pointcut belirtilen join point te bir hata meydana gelirse bu advice çalışır.</p><p>@AfterReturing methodumuzun kesişim noktası değer döndükten sonra çalışmasını sağlar.</p><p>@AfterThrowing Methodumuzun kesişim noktasında bir exception oluşmasından sonra çalışmasını sağlar.</p><p>@JoinPoint Kesişim noktası olarak belirlediğimiz methodun parametrelerine ulaşmamızı sağlayan çok biçimli veri yapısı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*XvCBRve5v-JUub8D55bcGg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/1*DzTabeahzCQzK3SMsE9OQA.png" /></figure><p><a href="https://github.com/RumeysaALKAYIS/northwind-Java-Spring/tree/main/src/main/java/com/kodlamaio/northwind/core/utilities/logging"><strong>https://github.com/RumeysaALKAYIS/northwind-Java-Spring/tree/main/src/main/java/com/kodlamaio/northwind/core/utilities/logging</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aca341b8785" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Değer Tip ve Referans Tip]]></title>
            <link>https://medium.com/@rumeysaalkayis/de%C4%9Fer-tip-ve-referans-tip-5549d0dd849d?source=rss-9db3dd7f0068------2</link>
            <guid isPermaLink="false">https://medium.com/p/5549d0dd849d</guid>
            <category><![CDATA[out]]></category>
            <category><![CDATA[heap]]></category>
            <category><![CDATA[stack]]></category>
            <category><![CDATA[ref]]></category>
            <dc:creator><![CDATA[Rumeysa Alkayiş]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 07:52:47 GMT</pubDate>
            <atom:updated>2022-10-13T08:00:55.524Z</atom:updated>
            <content:encoded><![CDATA[<p>C# ve Java da iki veri tipi vardır. Bunlar bellekte farklı şekilde tutulurlar. Bu diller belleği Stack(Yığın) ve Heap (Öbek) olarak ikiye ayırılar. Değer(primitive) tipler belleğin Stack tarafında tutulur . Stack da veriler üst üste sıralanır ve sırası ile işlem yapılır , hızlıdır. Referans tipler belleğin Heap bölgesinde tutulur new anahtar sözcüğü ile türetilirler. Stack de veriler hemen silinirken heap de veri çöp toplayıcı algoritması (Garbage Collector) ile silinir.</p><blockquote>Primitive Type = ” int, decimal, double, float, enum, char, bool ,byte ”;</blockquote><blockquote>Reference Type = ” object, class, interface, array, ”;</blockquote><p><strong><em>Peki </em>ya STRING ?</strong></p><p>String immutable tipdir. Oluşturulduktan sonra durumu(state) değişmeyen yapılardır. String heap bölgesinde saklanır.</p><p><strong>REF ve OUT Keywordleri ?</strong></p><p>Methotlara parametreler birer kopya olarak geçirirler ancak bazı durumlarda adresde ki gerçek yerlerine göre değişiklik yapılmak istenir böyle durumlarda ref ve out keywordleri ile verilirler. Ref kullanıldığı zaman methota parametre verilmeden önce ilk değer ataması yapılması zorunludur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*y2arWgqxVdhuxBCIyXYbPQ.png" /><figcaption>Bu örneği aşağıda hazırlamış olduğum kodlara bakabilirsiniz.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/1*DzTabeahzCQzK3SMsE9OQA.png" /></figure><p><a href="https://github.com/RumeysaALKAYIS/Medium/tree/master/ConsoleApp1"><strong>https://github.com/RumeysaALKAYIS/Medium/tree/master/ConsoleApp1</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5549d0dd849d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>