<?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 Mert Kamalı on Medium]]></title>
        <description><![CDATA[Stories by Mert Kamalı on Medium]]></description>
        <link>https://medium.com/@mert172317?source=rss-59a86aa304e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g12Sx3KMZOQZxbLstF1_Tg.jpeg</url>
            <title>Stories by Mert Kamalı on Medium</title>
            <link>https://medium.com/@mert172317?source=rss-59a86aa304e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:56:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mert172317/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[A Roadmap for React Beginners (HTML/CSS) #1]]></title>
            <link>https://medium.com/@mert172317/a-roadmap-for-react-beginners-html-css-1-a6286c1a8ca9?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6286c1a8ca9</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[scss]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Sat, 29 Oct 2022 06:41:46 GMT</pubDate>
            <atom:updated>2022-10-29T06:41:46.640Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A roadmap for learning <strong>ReactJS</strong>, a <strong>JavaScript library</strong> for building user interfaces.</blockquote><p>Hello everyone, I am sharing with you the roadmap that I have drawn, which I am also considering using.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*hQ3RBWsok1DYMQtVwRwprA.png" /></figure><h3>The first thing we should do is learn HTML.</h3><h4><strong>HTML(Hypertext Markup Language)</strong>:</h4><blockquote><strong><em>HTML is the standard markup language for creating web pages and web applications.</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*MGvuEi-yGDVTn3pP.png" /><figcaption><strong>Html Released Year(1993–2014)</strong></figcaption></figure><p><em>We want to use</em><strong><em> Semantic HTML</em></strong><em> to improve the structure of our website.</em></p><p><strong><em>Semantic HTML</em></strong><em>: </em><strong><em>Semantic HTML</em></strong><em> is a type of HTML that uses markup to describe the meaning of the content on a page, rather than its appearance. </em><strong><em>Semantic HTML</em></strong><em> is a type of HTML that adds meaning to the web page through the use of markup. It is used to structure the DOM properties.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*Yn0DnUudLozanQnU4tMmiA.png" /></figure><p><strong><em>DOM(The Document Object Model)</em></strong><em>: is a tree-like structure that represents an HTML document. Every node in the DOM has properties that can be accessed and modified. DOM is a tree-like structure that represents the HTML document.Learning HTML requires familiarity with </em><strong><em>Semantic HTML</em></strong><em>, a type of HTML that emphasizes the meaning of content rather than presentation.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edxAwYlCiQ11Zk8oqo_oXA.png" /></figure><p><strong><em>Semantic HTML</em></strong><em> is a type of HTML that gives meaning to the content on a webpage. This meaning can be interpreted by search engines and browsers to provide a richer experience to users.Additionally, you should learn how to configure the DOM or Document Object Model. The DOM is a tree-like structure that represents the HTML document. Finally, knowledge of HTML attributes, which are attributes of HTML elements, should be learned.</em></p><h4><strong>Cascading Style Sheets (CSS) :</strong></h4><p><em>CSS (Cascading Style Sheets) is a style sheet language used for describing the presentation of a document written in a markup language. A style sheet is a collection of rules that tells a web browser how to display a document written in HTML or XML.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*ec_Of2K5KmwbJ9vG5MMI8w.png" /></figure><p><strong>Properties:</strong></p><p><em>CSS properties are values ​​that can be assigned to style HTML elements.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*Z9zOSuQYoJCLoMs_ZPmp2g.jpeg" /></figure><h4>You can refer to the <a href="https://www.w3schools.com/">W3C</a> HTML specification to learn the basics of configuring HTML, Semantic HTML, and DOM properties.</h4><h4><strong>Responsive Web Design &amp; Queries :</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*1alStYsmhlG2qCbI7isbvQ.jpeg" /></figure><p><em>A responsive web design that uses media queries to adapt the layout and content of the website to the device’s field of view and resolution.<br>Responsive web design is a web design approach that makes web pages display well on a variety of devices and screen sizes. Media queries are also a CSS technique used to create responsive designs.<br>Use media queries to create a responsive design that adapts to different screen sizes.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*-RjX47LtRakHZfpZ.jpg" /></figure><h4><strong>Grid And Flexbox :</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*X1oNGYhjENanWsJS.png" /></figure><p><strong>Grid and flexbox</strong> are two CSS layout methods that can be used to create responsive designs. A grid is a two-dimensional layout system that organizes content into rows and columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MDkrgNbjCAMgmuk0" /></figure><p><strong>Flexbox</strong> is a one-dimensional layout system that organizes content into a linear sequence. <strong>Grid and Flexbox</strong> are used to create responsive web designs that adapt to the viewport and resolution of the device. So A grid-based layout with Flexbox for responsive and mobile-friendly web design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*b7B8xbO0oc2xBLc_4J7W2w.png" /></figure><p><strong>Sass/SCSS(Syntactically Awesome Style Sheets) :</strong></p><p><em>Sass/SCSS is a CSS preprocessor that can be used to write more maintainable and reusable CSS code.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*K0N4oxdFvdzRQ52MzsgUPQ.png" /></figure><p><em>Sass/SCSS is a CSS preprocessor that can be used to create responsive designs. SCSS is a CSS pre-processor that adds logic to CSS stylesheets.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*tG-LF5msJNjLoQUfGSaW3g.png" /></figure><p><em>It allows for the use of variables, mixins, nested rules, and other features that make CSS more maintainable and extensible. SCSS (Sassy CSS) is a variant of SASS that uses the same syntax as CSS.</em></p><h4><em>Thank you for browsing my article, if you found it useful, you can like and share it so that it reaches more people.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*g86DAIY76llp6QQX2AI_qA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*RYcO9qhP09a7OUzBSyT7HA.gif" /></figure><h4><em>Here is the;</em></h4><h4><a href="https://www.figma.com/file/WcXO7EhGiwsKrkb1lp8ceF/Untitled?node-id=0%3A1"><em>Figma link</em></a></h4><h4><em>Design etc. If you want to inspire on topics, please get in touch :)</em></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6286c1a8ca9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Hooks Tutorial: UseState and Lifecycle]]></title>
            <link>https://blog.devgenius.io/react-hooks-tutorial-usestate-and-lifecycle-5618ecbb37ab?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5618ecbb37ab</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[usestate-hook]]></category>
            <category><![CDATA[reactjs-tutorial]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Wed, 29 Jun 2022 07:33:46 GMT</pubDate>
            <atom:updated>2022-06-29T07:33:46.902Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using useState With React</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*IS33I0gPSQ9YxrNo.png" /></figure><p><em>This tutorial will teach you the basics of using React Hooks in your stat government.</em></p><p><em>In this tutorial we will cover:</em></p><p><em>Create a component that uses useState</em></p><ul><li><em>Adding a useEffect hook to clear our state when our component is detached</em></li><li><em>Using variables in our hooks</em></li></ul><p><em>React Hooks are a new feature of React that makes it easy to write functional components.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*b5qfLP1BxkArg3xG.png" /></figure><p><em>There are two types of hooks: state and useState.</em></p><p><em>The useState hook is used to create a stateful function component that can be used with JSX. The useState hook takes an initial state and returns a function that returns the value of the state on each commit.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*-8a6lzG3d0hDRHmA.png" /></figure><p><strong><em>This tutorial shows you how to use the useState hook in your own projects!</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IS33I0gPSQ9YxrNo.png" /></figure><p><strong>Section:</strong> <em>Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WiSY-Y36I4kAlUGi.png" /><figcaption>Class components vs Hooks</figcaption></figure><p><strong>Section</strong>: <em>Import useState from the react library</em></p><p><strong>Section</strong>: <em>Write a functional component that returns something</em></p><p><strong>Section</strong>: <em>Call the useState hook at the top of your functional component</em></p><p><strong>Section</strong>: <em>Copy and paste this snippet of code wherever you want to use your</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/96996603aff383bd501ca5cd756d0f0c/href">https://medium.com/media/96996603aff383bd501ca5cd756d0f0c/href</a></iframe><blockquote><strong><em>new state variable:</em></strong></blockquote><blockquote><strong><em>const [name,setName] = useState(&quot;Initial value&quot;)</em></strong></blockquote><p>Takeaway: You can use hooks with React instead of classes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9e5414651bcf618e4ac70382a7a8a89/href">https://medium.com/media/e9e5414651bcf618e4ac70382a7a8a89/href</a></iframe><p>useState is a powerful feature. It can be used in many different ways and each way has a unique animation, which makes useState one of the most important hooks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CrBzFEhSkedel9kK.png" /></figure><p>As this tutorial showed, you can useuseState directly in any React component by wrapping your stateless component with the useState hook. The end result is a component that will incrementally update when the state changes, without needing to digest the entire state every time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YuYwpCeRFdx3shjd.png" /></figure><p>This makes it well-suited for tracking small pieces of data, as we’ve demonstrated here. We’ve also shown how it can work with other React hooks like useEffect and useReducer if that’s something you need to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jGCaC7m2uc1QA1ka" /></figure><p>If you’re looking for a way to quickly organize the useState hook for your project, then I recommend leveraging libraries like react-hooks-toolkit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*49qOrAocRJ708Nnu.png" /></figure><h3><strong>Bonus:</strong></h3><p>The Hooks API is powerful and elegant, but admittedly not always the easiest to understand. While everything we just covered may not be a piece of cake for everyone, we recommend that you persist through it. You’ll have a unique appreciation for the power of useState once you’ve dug into it a bit. And even if you never use this function in your day-to-day work, it’s valuable to know how to implement it when the time comes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6hjkpzJUb1sNanDx.jpeg" /></figure><p>If you’ve read this far, thank you. If you like, share and comment on the articles, we can reach more people. stay in peace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*v2SPFjSNpNPKWWP3Skwldg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*DIp25BeC8xf_k7Smhc9PQw.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5618ecbb37ab" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/react-hooks-tutorial-usestate-and-lifecycle-5618ecbb37ab">React Hooks Tutorial: UseState and Lifecycle</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[9 Reasons Why React Is Better Than Flutter.]]></title>
            <link>https://medium.com/@mert172317/9-reasons-why-react-is-better-than-flutter-9b94df09133d?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b94df09133d</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Sat, 11 Jun 2022 18:47:44 GMT</pubDate>
            <atom:updated>2022-06-11T18:47:44.579Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. React developers are in high demand</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MCtr9PHGkCSfu5EQ.jpeg" /></figure><blockquote><em>and get paid handsomely. You can work as a React developer in many companies including tech startups and tech giants, such as Facebook.</em></blockquote><blockquote><em>React developers are responsible for developing user interface and user experience using React and its related technologies. They use React to create reusable UI components that can be used in different projects.</em></blockquote><blockquote><em>React developers should have a strong understanding of JavaScript and React concepts. They should also know how to use ReactJS in conjunction with other front-end technologies like HTML, CSS, and AJAX.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/0*d7anIkT-6o4xu7HL.png" /></figure><h3>2. React is a mature technology</h3><blockquote><em>It’s been investigated and scrutinized by the developers who rely on it, so you can be sure it will continuously evolve. Your app is safe in React’s hands, and it will stay relevant for years to come.</em></blockquote><pre>&lt;/p&gt;</pre><pre>&lt;p class=”author_info”&gt;```Ethan Goddard&lt;/p&gt;</pre><pre>&lt;/div&gt;</pre><pre>&lt;/div&gt;</pre><pre>);</pre><pre>}</pre><pre>componentWillMount() {</pre><pre>// const pet = this.props.location.state ? this.props.location.state : {name: “Cat”};</pre><pre>//this setState won’t trigger render method(’cause there’s no key changed), HOWEVER — when the child-c for example has &lt;Link &gt; to get back to App this way render METHOD WILL BE TRIGGERED!!! if not{“”); || EVERY TIME WHEN YOU GO BACK TO APP THIS COMPONENT USING page Refresh technique security measure ; but data should still be passed through Link in child-C btw}!! */}path<br></pre><h3>3. React has a large community and robust ecosystem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*OJGLwiJ9QD3eU5eC.jpg" /></figure><blockquote><em>Writing component logic in JavaScript instead of templating languages like Handlebars makes it easier to pass data around your app and keep state out of the DOM.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*DbWiPmkum-vdWyao.png" /></figure><h3>4. React is server-side rendering friendly</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BXZ7VvLKxLm66P5W.png" /></figure><blockquote><em>React is server-side rendering friendly! You can use React on the server to render your app and send it to the client as a static markup. This allows you to get the performance benefits of server-side rendering without having to worry about the complexity of mounting and unmounting React components on the client.</em></blockquote><h3>5. The syntax used in React is JSX, which is similar to HTML and easier to learn for most web developers than Dart’s syntax.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/0*klO9ei4nsmkQ3GB4.jpg" /></figure><blockquote><em>The Docs are fully-featured and up to date.</em></blockquote><blockquote><em>React has been embedded in some of the biggest web applications, such as Facebook, Blizzard’s Battle.net client, etc, which level can Dart is not expected to reach any time soon.</em></blockquote><blockquote><em>There are lots of security vulnerabilities related with Dart at the moment and fortunately React doesn’t have these problems (warrented here)</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W26AsGoUUFMZ4Eqq.png" /></figure><h3>6. In general, React components are simpler and faster to create than Flutter widgets.</h3><blockquote><em>However, Flutter widgets incorporate all the critical platform differences such as scrolling, navigation, icons and fonts to provide full native performance on both iOS and Android.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*FtJWwRjobk73Hjke.png" /></figure><blockquote><em>React Native has a large community that create third-party components. The quality of these components is often low and may not be updated for newer versions of React Native. This can lead to significant project delays. Although Flutter also has a growing community creating open source packages, the majority of them are created and supported by Google.</em></blockquote><h3>7. With React, it is easy to create reusable code components which can be imported into other projects; this is more difficult with Flutter’s widget system.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*gnVeIdj7dzgMjLOc" /></figure><blockquote><em>Flutter attempts to provide a more unified approach to creating mobile apps that look and feel the same across multiple platforms. However, in order for it to be truly platform agnostic, it has to make some fundamental sacrifices, one of which is full access to the native components provided by each platform. This often results in a more difficult development experience as well as apps that don’t always look and feel like they’re native to their respective platforms.</em></blockquote><h3>8. React provides better performance than Flutter due to its advanced techniques such as virtual DOM and server-side rendering (SSR)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*w9tXgdFovezRhZqI.png" /></figure><blockquote><em>React has JSX and hence it is easy to read and understand. On the other hand, Flutter has Dart and keeping up with efficiency for a minor or major changes in UI can quickly become a tedious task.</em></blockquote><blockquote><em>Both frameworks provide cross-platform support, however, React Native offers abundant mobile app development features that allow developers to create code once, then easily update it for Android, iOS, Web &amp; Desktop platforms resulting in reduced app maintenance flow.. whereas flutters is fairly new so majority of the start ups tend to go with react native but given time flutter will also take majority market share too…</em></blockquote><h3>9. The learning curve for React is shallower</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*4iZPYrvhNQ43qf_S.png" /></figure><blockquote><em>than for other sections such as Ember and Angular, and the training required is similar to that of HTML originally.</em></blockquote><blockquote><em>React JS has a easier learning curve and requires less amount of time to train to proficiently use it for web development. The advantage of using ReactJS is mainly its huge community which helps with fixing issues, updates, etc.</em></blockquote><blockquote><em>If you want more up-to-date content, don’t forget to like and follow this article.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*kyK0v1uwH0BlzyJS.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b94df09133d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOLID Design Principles for Object-Oriented Design]]></title>
            <link>https://medium.com/@mert172317/solid-design-principles-for-object-oriented-design-954dcd4afe1?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/954dcd4afe1</guid>
            <category><![CDATA[solid-principles]]></category>
            <category><![CDATA[object-oriented-design]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[net-core]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Mon, 23 May 2022 17:56:36 GMT</pubDate>
            <atom:updated>2022-05-23T17:56:36.893Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Need an introduction to SOLID design principles? SOLID is an acronym that represents five design principles that can help improve the quality of your object-oriented code, particularly when it comes to maintainability, flexibility, and reusability (Moores’ law anyone?). For this lesson, we’ll take a look at each of these principles in turn, what they stand for, and how you can apply them to your own work.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L9w9Eq0C8Cet0Jrn.png" /></figure><h4>Single Responsibility Principle</h4><p>The single responsibility principle states that a class should have one, and only one, reason to change. A class that has more than one responsibility is hard to test. This principle is also known as A Class Should Only Have One Job. In .NET programming, we can use interfaces to represent responsibilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*YXeXww_UtOa-HT9G.png" /></figure><p>For example, if you are writing an application that will send emails and SMS messages you could create an interface called IEmailService and another called ISMSService with each having a SendMail() method or SendTextMessage() method respectively. Each implementation of these interfaces would then be responsible for sending either emails or SMS messages but not both at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*T6lupfxB0VuY0a7v.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/0*mBKJ_ux7I028bTBp.png" /></figure><h4>Open/Closed Principle</h4><p>The Open/Closed Principle is one of five SOLID principles of object-oriented programming and design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/0*15zjbftyOinOs-8s.png" /></figure><p>The principle states that software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/0*VMQ2L8D49tejNvDV.png" /></figure><p>The idea is to have a class or module implement an interface; when that class is changed to implement a new interface, the change should not ripple through existing code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9fjbQOa7Jm7fEPDi.png" /><figcaption>Credit: <a href="https://www.brainconcert.com/articles/openclosed-principle">https://www.brainconcert.com/articles/openclosed-principle</a></figcaption></figure><h4>Liskov Substitution Principle</h4><p>The Liskov Substitution Principle, or LSP, states that objects should be replaceable with instances of their subtypes without altering any of the desirable properties of your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/0*-2C0imeZSLwGxLA2.png" /></figure><p>For example, if you have a method that requires an Animal object as a parameter, you should be able to pass in a Dog object without causing any errors within your application’s logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/0*UWq1OwvzPvy56O_V.png" /></figure><h4>Interface Segregation Principle</h4><p>The Interface Segregation Principle was developed by Robert C. Martin and states that Clients should not be forced to depend upon interfaces that they do not use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_nVtE6VBNA_g3Ha7ebEvQ.png" /></figure><p>This principle requires developers to create clients that only utilize interfaces they need rather than forcing them to implement all of an interface’s members and methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*La4iLSielsgwiGdp.png" /></figure><h4>Dependency Inversion Principle</h4><p>The Dependency Inversion Principle is a software design principle that states high-level modules should not depend on low-level modules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tEiQPQrfv2sleYFO.jpg" /></figure><p>Both should depend on abstractions. This principle creates many advantages, but one advantage is that it helps ensure high-level modules can be easily swapped out with minimal dependencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*0w0X_nOyY21WBu5L.png" /></figure><p>If you need to swap out a module in your application, then you don’t have to worry about changing any of your other code. You simply change what you need to in order to use your new module and leave everything else alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*jl3ckiHggNU_HS8o.png" /></figure><h4>Law of Demeter</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S8vKZ98liKD9xluZ.jpeg" /></figure><p>The Law of Demeter is a design principle that basically states that we should have as few interactions with objects outside our own object’s context as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/0*3hmh1dUbgm1CVqy7.png" /></figure><p>In other words, if we use some method or property on an object x and then use a different method or property on object y, it means that our class knows too much about object y.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/0*nOoEVWX39opPQita.png" /></figure><p>This violates encapsulation because we are exposing information to classes that don’t need to know about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/0*p5NSc2hGStc-ZF9x.png" /></figure><p>If you find yourself in a situation where you are accessing methods/properties from multiple objects, ask yourself whether your code can be refactored so that only one of those objects is used instead. This will make your code more readable and easier to maintain in future.</p><h3>Similar resources on the subject:</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9hP-bsb3SeQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9hP-bsb3SeQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9hP-bsb3SeQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/95641ba614467e6ca9703cb0c3d2939a/href">https://medium.com/media/95641ba614467e6ca9703cb0c3d2939a/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9qvCeRt9_hM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9qvCeRt9_hM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9qvCeRt9_hM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/24127926798206af601a976a7a59d319/href">https://medium.com/media/24127926798206af601a976a7a59d319/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHLFbeC78YlU%3Flist%3DPL6n9fhu94yhXjG1w2blMXUzyDrZ_eyOme&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHLFbeC78YlU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHLFbeC78YlU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9b3a13d2ca9743515918754794b0ab92/href">https://medium.com/media/9b3a13d2ca9743515918754794b0ab92/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=954dcd4afe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is ASP .Net Core? An Introduction to the New Framework]]></title>
            <link>https://medium.com/@mert172317/what-is-asp-net-core-an-introduction-to-the-new-framework-b0e551bcdc07?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0e551bcdc07</guid>
            <category><![CDATA[mvc-frameworks]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[net-core-6]]></category>
            <category><![CDATA[programming-framework]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Sun, 22 May 2022 19:21:21 GMT</pubDate>
            <atom:updated>2022-05-22T19:21:21.192Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is ASP .Net Core? An Introduction to the New Framework</h3><h4><em>What is .Net Core?</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*KDgnW_ttF9_2-Gy4.png" /></figure><p><em>.Net Core is the new open-source and cross-platform version of the .Net framework. In this introductory article, we’ll look at what changes it might bring to the C# community, and how it compares to other modern languages and frameworks in terms of performance, reliability, maintainability, and compatibility with existing codebases.</em></p><h4><strong><em>Context &amp; Background</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k5a97VZXWJTmnjYh.png" /></figure><p>Microsoft has been working on what they call a cloud-first, mobile-first framework and programming language. The result of which is a light and fast way to build web apps based in C# that can be cross-platform compatible (cross-compiled). As of February 2016, Microsoft released RC1 (Release Candidate 1) for their new framework — that is, it’s ready for production use.</p><h4>Why Now?</h4><p>Why should you start learning about a brand-new, cross-platform framework now instead of later? There are plenty of reasons. One is that you may need to work with it, especially if you’re in web development or planning on making a career switch into software development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*tRyzZpovAeMyrwUmJ8uWMw.png" /></figure><p>Another reason: As Microsoft rolls out Windows 10 and Azure, many existing tools — including Visual Studio, one of Microsoft’s flagship developer products — will soon be replaced by Asp .Net Core versions.</p><h4>Benefit #1 — Open Source</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2sawOR0kZCUTPSZd1D22Fw.jpeg" /></figure><p>By being Open Source and a Microsoft Collaboration Project, we can get features developed at a much faster pace than traditional development. Plus it gives us lots of great open source libraries (like Web API, Sql Client Libraries) to use out of box in our projects.</p><h4>Benefit #2 — Improved Performance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8tkBjRf02eY48sPoqgCqnw.png" /></figure><p>The framework offers improved performance for both client and server applications over its predecessor. .NET Core can scale from very small devices all the way up to high-memory virtual machines and support true side-by-side app deployment, making it ideal for applications with a diverse set of target devices.</p><h4>Benefit #3 — Better Language Support</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*d_OrzjIZb7EGgEEntHZ0Vg.png" /></figure><p>The platform comes bundled with a new toolset called Language Integrated Query (LINQ) which enables you to work directly with data sources (data objects such as tables, views and stored procedures). No more writing tons of boilerplate code. It’s one of my favorite additions in Visual Studio.</p><h4>Overview — The Core .NET Runtime &amp; Libraries</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*W5DxOVj5Ui4pmoVUmJ75Fg.png" /></figure><p>Microsoft has stated that their new framework was built from scratch, starting from what they saw as a bare minimum. This has resulted in many changes for those who will be building applications on it, including: a complete rewrite of MVC; re-implementation of Web API; no more support for Windows Forms; and much more.</p><h4>How Does it Work?</h4><p>The best way to understand how .NET Core works is to look at how it works. To do that, we’ll create a simple web application using its MVC (Model-View-Controller) framework.</p><p>Using a terminal window or command prompt, navigate to your favorite directory and type dotnet new mvc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*S_3SyUENHpSSQKxH.PNG" /></figure><p>This will create a new folder called SampleMvcApp containing all of the files needed for our simple web app.</p><h4>#BONUS — Visual Studio and select Create a new project. —</h4><ul><li>Start Visual Studio and select Create a new project.</li><li>In the Create a new project dialog, select ASP.NET Core Web App (Model-View-Controller) &gt; Next.</li><li>In the Configure your new project dialog, enter MvcMovie for Project name. It&#39;s important to name the project <em>MvcMovie</em>. Capitalization needs to match each namespace when code is copied.</li><li>Select Next.</li><li>In the Additional information dialog, select .NET 6.0 (Long-term support).</li><li>Select Create.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Y-gAUj2pEYkpTlVR" /></figure><p>For alternative approaches to create the project, see <a href="https://docs.microsoft.com/en-us/visualstudio/ide/create-new-project">Create a new project in Visual Studio</a>.</p><p>Visual Studio uses the default project template for the created MVC project. The created project:</p><ul><li>Is a working app.</li><li>Is a basic starter project.</li></ul><h3>Run the app</h3><p>Select Ctrl+F5 to run the app without the debugger.</p><p>Visual Studio displays the following dialog when a project is not yet configured to use SSL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/0*1Qxb7yMJgjYoahuA" /></figure><p>Select Yes if you trust the IIS Express SSL certificate.</p><p>The following dialog is displayed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/0*Pc3VRNxNHDwv5THd" /></figure><ul><li>Select Yes if you agree to trust the development certificate.</li><li>For information on trusting the Firefox browser, see <a href="https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-6.0#trust-ff">Firefox SEC_ERROR_INADEQUATE_KEY_USAGE certificate error</a>.</li></ul><p>Visual Studio runs the app and opens the default browser.</p><p>The address bar shows localhost:port# and not something like example.com. The standard hostname for your local computer is localhost. When Visual Studio creates a web project, a random port is used for the web server.</p><p>Launching the app without debugging by selecting Ctrl+F5 allows you to:</p><ul><li>Make code changes.</li><li>Save the file.</li><li>Quickly refresh the browser and see the code changes.</li></ul><p>You can launch the app in debug or non-debug mode from the Debug menu:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*KaUMh8p5WriMZJdj" /></figure><p>You can debug the app by selecting the MvcMovie button in the toolbar:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_uhrCTcxoEzbz9TA" /></figure><p>The following image shows the app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*xk48fGgbb5ZzPljy" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0e551bcdc07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kısa Bir Motivasyon Yazısı]]></title>
            <link>https://medium.com/@mert172317/k%C4%B1sa-bir-motivasyon-yaz%C4%B1s%C4%B1-3b934fbe064c?source=rss-59a86aa304e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b934fbe064c</guid>
            <category><![CDATA[sürekli-gelişim]]></category>
            <category><![CDATA[süreklilik]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[motivasyon]]></category>
            <dc:creator><![CDATA[Mert Kamalı]]></dc:creator>
            <pubDate>Wed, 16 Mar 2022 11:08:33 GMT</pubDate>
            <atom:updated>2022-03-16T11:15:45.007Z</atom:updated>
            <content:encoded><![CDATA[<h4>16.03.2022 tarihe bir not</h4><h3><strong><em>Herkese Merhabalar arkadaşlar,</em></strong></h3><blockquote><strong>Bu seriye yeni başlıyorum. Belki çok alışkın değilim makale yazmaya. Teknik açıdan birçok kusur barındırabilirim. Eksiklerimi geliştirmek adına geri dönüşlerinizi bekliyor olacağım.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*oEAJ_2BPPn1icC1iPnPqdA.gif" /></figure><blockquote><strong>Öncelikle umarım hepinizin hayatı olumlu ya da olumsuz olsa da iyiye evirilmeye, gelişmeye devam ediyorsunuzdur. Çok uzun zaman önce olmasa da girdiğim bir yolda birçok güvensiz ve kendi güvenimi, saygımı kaybedecek birçok olay yaşadım. Fakat pes etmek yerine kendi tutkularımı bulup geliştirmeye zaman harcamaya çalışıyorum. Ve altından bile daha değerli olan zamanı iyiye kullanmak için elimden geleni yapıyorum. Hepimiz bir olayla karşılaştığımızda pes etmeyi çabuk istiyoruz. Belki de bu genlerimize kodlanmış bir koddur. Fakat bu durumu sadece biz kendi içimizde yaşamıyoruz. Ve bu sadece bir döneme özel de olmayabilir.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*v1vxf46dPUKAzXx4vAPq4w.jpeg" /></figure><blockquote><strong>Kendimize verdiğimiz sözleri bazen tutamıyor da olabiliriz. Bunlar insanlığın her döneminde karşılaşılan konulardı. Her zaman iyi koşullarda yaşlanılmıyor. Herkes iyi olmak istiyor ama çok az kişi bunun için mücadele veriyor. Çünkü etrafımızda düşmemizi bekleyen binlerce insan var. Şuan hangi koşullarda mücadele ediyorsun bilmiyorum. Ama tek bildiğim şey var tutkunu bulup bu tutkuna zaman harcadığın sürece seni iyiye ve gerçek anlamda mutlu edecek yolu bulabileceğini söyleyebilirim.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*JmCf6VEb8KIcxAlQMiEPSQ.jpeg" /></figure><blockquote><strong>Aşırı kötü durumlarda mücadele eden çok insan tanıdım. Küçük yaşlarda güvendiğim insanların bana yanlışlar yapması ve beni inandığım yoldan caydırması elbette ki beni kötü etkiledi, hayata küstüğüm zamanlar oldu bazen hala daha oluyor. Bunu bahane edip çaba göstermeden zamanın akışını beklersen ki en ölümcül hastalıktır. Maalesef istediğin hayata hiçbir zaman ulaşamayacaksın. Birçok hayır alacaksın, hayır, hayır, yapamıyoruz, olmuyor, kriterlerimiz siz değilsiniz. Şuan da böyle bir pozisyon ihtiyacımız yok bla bla bla diye gidecektir. İşte o anda devam edebilecek güç sende varsa ve her şeye rağmen tutkunu bulup kendini geliştirmeye devam ediyorsan. Emin ol günün birinde istediğine ulaşacaksın. Bu formül çok basittir. Ve hiçbir okulda bunu öğretmezler.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tfq5y1EWEoDVDZse8LW3JQ.jpeg" /></figure><blockquote><strong>Özetle kendini geliştiren bireyler, günün birinde her şeyin battık bittik dediği dönemde , karşısına öyle insanlar çıkabilir ki sen istemesen bile seni geliştirebilecek insanlar bir mesaj kadar uzağında olabilir. Başlarda sen bu durumun farkında bile olmayabilirsin ama o toplulukla nefes alsan bile gelişirsin, çünkü kolektif bilinci yakalamış oluyorsun.</strong></blockquote><blockquote>Zaman ayırdığınız için,</blockquote><blockquote>Teşekkür ederim.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b934fbe064c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>