<?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 Onur Yanar on Medium]]></title>
        <description><![CDATA[Stories by Onur Yanar on Medium]]></description>
        <link>https://medium.com/@onuryanar?source=rss-f00a986979a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1Kv808SrdxRoi-Kc</url>
            <title>Stories by Onur Yanar on Medium</title>
            <link>https://medium.com/@onuryanar?source=rss-f00a986979a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:01:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@onuryanar/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[Separation of Concerns]]></title>
            <link>https://medium.com/@onuryanar/separation-of-concerns-eca786e75f5a?source=rss-f00a986979a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/eca786e75f5a</guid>
            <category><![CDATA[separation-of-concerns]]></category>
            <category><![CDATA[cohesion]]></category>
            <category><![CDATA[coupling]]></category>
            <dc:creator><![CDATA[Onur Yanar]]></dc:creator>
            <pubDate>Fri, 15 Jul 2022 08:56:17 GMT</pubDate>
            <atom:updated>2022-07-15T09:03:09.925Z</atom:updated>
            <content:encoded><![CDATA[<p>The fundamental principle of software development and architecture is the concept of separation of concerns. It is to ensure that different concerns do not coexist within the design or code.</p><p>At a low level, this principle is closely related to the “Single Responsibility Principle — SOLID”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*juF3TsoM1bEMG73Nclr7NQ.png" /></figure><p><strong>Separation of concern progress</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3kqXQupMu76HABmEu78fog.png" /></figure><ul><li>Identification of the various distinct concerns that are properties or areas of interest</li><li>Assignment of single concerns to single modules</li><li>At various levels: design and implementation</li></ul><p><strong>Cohesion and Coupling</strong></p><p><em>“High Cohesion </em>and<em> Low Coupling”</em></p><p>“Coupling” describes the relationships <em>between</em> modules, and “Cohesion” describes the relationships <em>within</em> them. They are also not limited only to Engineering but are equally applicable to all areas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hc_lc1HAV8xF0Cfd.png" /></figure><p><strong>Cohesion</strong></p><p>Cohesion is a measure of the degree to which the elements of the module are functionally related. Cohesion is the internal glue that keeps the module together.</p><p>A good software design will have high cohesion.</p><ul><li>Cohesive component performs only one concern/task</li><li>Maximize cohesion within a component required changes can be easily localized and will not propagate.</li></ul><p>Ex: If GUI’s visual properties needs to be changed, we will <strong>only</strong> change view! If view action’s operation need to be changed, we will <strong>only</strong> change controller!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qA7esAHFzXq0h68cWyfw0Q.png" /></figure><p><strong>Coupling</strong></p><p>Coupling is the measure of the degree of interdependence between the modules. A good software will have low coupling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_a6uS101Ftminwfc1lNew.png" /></figure><p>The Coupling increases as the number of calls between modules increases or the amount of data shared increases. It can be said that a design with high coupling will have more errors.</p><p><strong>Advantages of Separation of Concerns</strong></p><ul><li>Supports high cohesion among components</li><li>Supports low coupling among components</li><li>Increases modularity</li><li>Increases maintainability</li><li>Increases reusability</li></ul><h3>Conclusion</h3><p>Separation of Concerns directly supports quality factors. Lack of Separation of Concerns negatively impacts quality factors<em>.</em></p><p>Thank you so much for reading. If you have any questions or suggestions, leave a comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eca786e75f5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to the Scrum Framework]]></title>
            <link>https://medium.com/@onuryanar/introduction-to-the-scrum-b88b26ef86f9?source=rss-f00a986979a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b88b26ef86f9</guid>
            <category><![CDATA[product-owner]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[scrum-master]]></category>
            <category><![CDATA[sprint]]></category>
            <category><![CDATA[scrum-agile]]></category>
            <dc:creator><![CDATA[Onur Yanar]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 08:19:34 GMT</pubDate>
            <atom:updated>2022-07-14T14:48:01.084Z</atom:updated>
            <content:encoded><![CDATA[<p>Scrum is an agile framework that was designed to help teams in iterative and incremental development. It focuses on the use of various experimental processes that enable teams to respond quickly and efficiently to change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cf20ONsLV4qLDlgC.png" /></figure><p>The key feature of Scrum is that it breaks work into small, iterative cycles called sprints. This cyclical way of working makes the large and complex project small, manageable over time.</p><p>The goal is to validate an item bit by bit, incrementally and quickly before making new decisions to start building another item in the next sprint.</p><h3>Artifacts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*dZtJbUkN4KW3CRvB6fZ3oQ.png" /></figure><p><strong>Product Backlog</strong></p><p>The product backlog is an ordered and prioritized list of features, bug fixes, requirements that a product may need for successful delivery.</p><p>The Product Backlog may change with the values ​​to be added to the product and customer requirements. The Product Backlog is never complete.</p><p>Items added to the Product Backlog content should be user-oriented, not technical. A good user story should answer three questions: who? what? why?</p><p>The Product Owner is responsible for creating, modifying and sorting the Product Backlog.</p><p><strong>Sprint Backlog</strong></p><p>Sprint Backlog is list of things to do in a sprint. Sprint Backlog is selected based on team speed and Product Backlog priority.</p><p><strong>Increment</strong></p><p>The increment is the collection of the Product Backlog items that meet the team’s Done Definition by the end of the Sprint. The Product Owner may decide to release the increment or build on it in future Sprints.</p><p><strong>Definition of Done</strong></p><p>The definition of done is a team’s shared agreement on the criteria that a Product Backlog Item must meet before it is considered done.</p><p>As an example a Definition of Done could be this:</p><ul><li>All acceptance criteria are met</li><li>All necessary tests have been successfully completed</li><li>We have had multiple check the work</li><li>All necessary documentation has been created</li></ul><h3>Scrum Roles</h3><p>There are three well-defined roles in the team that work collaboratively:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Msnx59_g22SPHUt4.png" /></figure><p><strong>Product Owner (PO)</strong></p><p>PO has the authority to set priorities and make all product-related decisions. Responsibilities of the PO in scrum roles:</p><ul><li>Define and announce releases.</li><li>Share risks, issues, dependencies and assumptions with stakeholders.</li><li>Check delivery and product status.</li><li>Check that the product backlog is visible, transparent and clear.</li></ul><p><strong>Scrum Master (SM)</strong></p><p>SM creates a safe, agile environment for the entire team to work effectively and provides continuous improvement. Responsibilities of the SM in scrum roles:</p><ul><li>Helping the product owner maintain the product backlog.</li><li>Coaching the team on scrum principles for product quality.</li><li>Educating stakeholders and the rest of the organization on scrum.</li><li>Helping the Scrum team avoid or remove problems.</li><li>Promoting self-organization and cross-functionality within the team.</li></ul><p><strong>Development Team</strong></p><p>The <strong>Development Team</strong> builds the product guided by the PO’s priorities. Responsibilities of the Scrum Development Team in scrum roles:</p><ul><li>Development of Product</li><li>Create tasks and provide estimates</li></ul><h3>Scrum events</h3><p>Organizations apply Scrum through a series of specific events (or meetings). Among them are:</p><ul><li>Sprint Planning</li><li>Daily Scrum</li><li>Sprint Review</li><li>Sprint Retrospective</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/0*xmA4Il8YcSybinYK.png" /></figure><h4>Sprint Planning</h4><p>At the beginning of a sprint, the scrum team organizes a sprint planning for:</p><ul><li>Agree on the sprint goal they plan to deliver at the end of the sprint according to the priorities set by the PO.</li><li>Create a sprint backlog by mutually discussing and agreeing on this sprint.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/0*7CCs5B79T4UZaLnr" /></figure><p>The maximum duration of sprint planning is 8 hours for a 4-week sprint</p><h4>Daily Scrum meetings</h4><p>The Scrum Master is present during this meeting as well. If team members report problems, it’s the Scrum Master’s job to take care of them.</p><p>Each team member tells others what they did yesterday and what they’re planning to do today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*3opIoU4FfE8wQysh.png" /></figure><p>The Development Team members meet each day for a short 15-minute meeting to keep each other informed of their progress.</p><h4>Sprint Review</h4><p>The following sprint reviews are made at the end of a sprint:</p><ul><li>Presents the completed work to stakeholders (demo…)</li><li>Receiving feedback about the finished product part from stakeholders.</li><li>Discuss the impact of unfinished work from stakeholders</li><li>Receiving suggestions for future work from stakeholders</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*OnQMx7mwUIsECroz.png" /></figure><p>Product Owners should view the Sprint Review as an opportunity to review and improve the product backlog with stakeholders.</p><p>Maximum duration of the Sprint Review is 4 hours for 4-week Sprint.</p><h4>Sprint Retrospective</h4><p>At the sprint retrospective, the team:</p><ul><li>reflects on the past sprint(s)</li><li>inspects how the last Sprint went (individuals, interactions, processes, tools, Definition of Done)</li><li>identifies and agrees on continuous process improvement actions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*V-IJ0H2OVNBPIz3s.jpg" /></figure><p>Three suggested areas to consider in sprint retrospectives are:</p><ul><li>What went well during the sprint?</li><li>What did not go well?</li><li>What could we do differently the next sprint?</li></ul><p>The scrum master manages this event and presents it only as part of the team. The duration is maximum of 3 hours for 4-week sprint.</p><h3>Conclusion</h3><p>Scrum is easy to understand. However, it differs radically from traditional methodologies and imposes a set of cultural values ​​on organizations.<br>For these reasons, the transition to scrum can be difficult.</p><p>The purpose of this article is not to explore all of its nuances, but to provide an introduction to Scrum.</p><p>Thank you so much for reading. If you have any questions or suggestions, leave a comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b88b26ef86f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOLID Design Principles]]></title>
            <link>https://medium.com/@onuryanar/solid-design-principles-322ea6e8ed2f?source=rss-f00a986979a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/322ea6e8ed2f</guid>
            <category><![CDATA[interface-segregation]]></category>
            <category><![CDATA[dependency-inversion]]></category>
            <category><![CDATA[solid]]></category>
            <category><![CDATA[open-closed-principle]]></category>
            <category><![CDATA[single-responsibility]]></category>
            <dc:creator><![CDATA[Onur Yanar]]></dc:creator>
            <pubDate>Wed, 13 Jul 2022 10:45:43 GMT</pubDate>
            <atom:updated>2022-07-29T11:57:49.993Z</atom:updated>
            <content:encoded><![CDATA[<p>SOLID software principles ensure that the software is flexible, reusable, understandable, and avoidable code duplication.</p><p>If you are familiar with <a href="https://en.wikipedia.org/wiki/Object-oriented_programming">Object-Oriented Programming</a>, then you’ve probably heard about the <strong><em>SOLID</em></strong> principles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*p5XqY09KpTNBWr7C.png" /></figure><p>These five software development principles are guidelines to follow when building software so that it is easier to scale and maintain. You can not only apply it to classes, but also to software components and microservices.</p><ol><li><strong>S</strong>ingle Responsibility</li><li><strong>O</strong>pen/Closed</li><li><strong>L</strong>iskov Substitution</li><li><strong>I</strong>nterface Segregation</li><li><strong>D</strong>ependency Inversion</li></ol><h3>The Single Responsibility Principle</h3><p>“A class should have one, and only one, reason to change.”</p><p>The Single Responsibility Principle emphasizes that a class must do only one thing and therefore only have one reason to change.</p><p>Many developers may work on the same project and update the same class for different reasons. In these cases, there may be incompatibilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/0*NKCJS-zNf25T30sa.jpg" /><figcaption>Multiple Responsibilities</figcaption></figure><p>The code becomes overgrown and complex when multiple responsibilities are imposed on the class or function. Complex and large code is difficult to manage, has low flexibility, and is fragile.</p><p>It is necessary to separate the responsibilities. Each unit should have only one responsibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nXsUUNVk9ADqUp4waMDA0w.png" /><figcaption><strong>S</strong>OLID - Single Responsibility Principle</figcaption></figure><p><strong>Benefits of Single Responsibility Principle</strong></p><ul><li>Applicable, sustainable, understandable projects.</li><li>The code quality of the application is better, so having fewer defects.</li><li>New staff members adapt more quickly to the code, so they can start contributing to the code much faster.</li><li>Testing and writing test cases is much simpler</li></ul><p>Overall Spring Framework is a great example of Single Responsibility in implementation. We can add relevant modules to our dependency pom.xml only according to our needs. The Spring Data JPA module, which deals with all CRUD operations, is an example of “Single Responsibility”.</p><h3>Open-Closed Principle</h3><p>“Classes should be open for extension, but closed for modification”</p><p>The Open-Closed Principle requires classes to be expandable and unmodifiable.</p><p>Change means updating an existing class, and expansion means adding new capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*1AEBvjeTK7ZNGHOQ.jpg" /></figure><p>So what the Open-Closed principle means is this:</p><ul><li>Errors can occur every time we change existing code.</li><li>New capabilities should be added without touching the existing code.</li><li>Avoid touching tested and reliable production code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*kZ600-LK2HG-kVt0sNlgWA.png" /></figure><p>If there is a need to give an ability to an existing class, instead of modifying the original class, we extend it and only add the specific behavior to the child class.</p><p>This principle is a direct consequence of the Inheritance Principle in Object Oriented Programming.<br>It is usually done with the help of interfaces and abstract classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/0*8f-eZwwTvhAguuRk.jpg" /></figure><h3>Liskov Substitution Principle</h3><p>“Derived classes must be usable through the base class interface, without the need for the user to know the difference.”</p><p>The Liskov Substitution Principle states that subclasses should be substitutable for their base classes.</p><p>When we use inheritance, the child class inherits everything the parent class has. Child class behavior expands but never collapses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RCSuOOe0ShsS-OAMSXuXKQ.png" /></figure><p>A common example of this principle is to have a class hierarchy consisting of a main Shape and a child Rectangle.<br>If the Rectangle has the same width and height, it may be correct to model the Square as a child of the Rectangle. By inheriting properties from Rectangle, Square can now have different width and height, making it a Rectangle, but the area formula is based on width only.</p><p>Replacing the Rectangle with a Square breaks the Liskov Substitution Principle. So, if we want to model a Square class, it must be a child of Shape, not Rectangle class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/0*FkL_TAc1iSQZApST.png" /></figure><h3>Interface Segregation Principle</h3><p>“Clients should not be forced to depend on methods that they do not use”</p><p>Interface separation means that larger interfaces should be split into smaller ones. By doing this, we can ensure that application classes only deal with the parts that concern them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*d6QCNIM-tSGLXRhjs3iM1Q.png" /></figure><p>Breaking this principle is obvious when we use interfaces where classes implement only some methods and leave other methods unimplemented. You can think of this principle as the “Single Responsibility Principle for Interfaces”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/0*V8uIUgZTgWGBxf-A.png" /></figure><h3>Dependency Inversion Principle</h3><p>“High-level modules should not depend on low-level modules. Both should depend on the abstraction.”</p><p>“Abstractions should not depend on details. Details should depend on abstractions”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnFZHFW1ZCDVmuNtQ3qWOA.png" /></figure><p>Classes with complex logic must be reusable and unaffected by changes in modules that provide helper features.<br>To achieve this, it is necessary to define an abstraction that separates high-level and low-level classes. It is necessary to use interfaces for complex or business logic classes. We can write our business logic code using interfaces. This way it reduces the coupling between classes and there is no need to update the business logic code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/0*_gByMzKhzs6EQ5aE.png" /></figure><h3>Summary</h3><p>So far, we have discussed these five principles and highlighted their goals.</p><p>They all serve the same purpose:</p><p>“To create understandable, readable, flexible and testable code that many developers can collaboratively work on.”</p><p>Thank you so much for reading. If you have any questions or suggestions, leave a comment</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=322ea6e8ed2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gitpod]]></title>
            <link>https://medium.com/@onuryanar/gitpod-4c723c8e319a?source=rss-f00a986979a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c723c8e319a</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gitpod]]></category>
            <dc:creator><![CDATA[Onur Yanar]]></dc:creator>
            <pubDate>Thu, 30 Jun 2022 18:16:26 GMT</pubDate>
            <atom:updated>2022-07-14T08:32:37.604Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OEPelSXX1XlTmvpb.jpg" /></figure><p>Bulut IDE, kod düzenleyici, derleyici ve hata ayıklayıcı içeren web tabanlı bir geliştirme ortamıdır.</p><p>Gitpod bulut tabanlı geliştirme ortamı teknoloji sağlayıcısıdır. Gitpod’u aktif edebilmek için aşağıdaki link vasıtasıyla browser eklentisi kurulabilir.</p><p><a href="https://www.gitpod.io/docs/browser-extension">https://www.gitpod.io/docs/browser-extension</a></p><p>Bu eklentiyi kurduktan sonra github üzerinde “Code”un yanında “Gitpod” butonu çıkar. Buradan projeyi Gitpod üzerinden inceleyebilirsiniz.</p><p>IntelliJ ide’sinin uzaktaki github sunucusuna bağlanabilmesi için JetBrains Gateway’in kurulması gerekir.</p><p><a href="https://www.jetbrains.com/help/idea/remote-development-a.html">https://www.jetbrains.com/help/idea/remote-development-a.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c723c8e319a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>