<?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 Furkan Cengiz on Medium]]></title>
        <description><![CDATA[Stories by Furkan Cengiz on Medium]]></description>
        <link>https://medium.com/@Furki4_4?source=rss-3ae06bee9b20------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QnlRnVokns7xOJh8GBpKOg.png</url>
            <title>Stories by Furkan Cengiz on Medium</title>
            <link>https://medium.com/@Furki4_4?source=rss-3ae06bee9b20------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:03:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Furki4_4/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[Make Your Image Loading Blurry in Next.js]]></title>
            <link>https://medium.com/@Furki4_4/make-your-image-loading-blurry-in-next-js-0f0e5bf3dc7c?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f0e5bf3dc7c</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 12:23:46 GMT</pubDate>
            <atom:updated>2023-11-16T12:23:46.926Z</atom:updated>
            <content:encoded><![CDATA[<p>Images on the web matter in terms of site performance and to be frank, they are painful. One of the best features of Next.js is the <a href="https://nextjs.org/docs/pages/api-reference/components/image">Image component</a> that optimizes images for you. It automatically generates images in modern formats like WebP for different screen sizes to reduce image sizes, lazy loading to load images when they enter the viewport, and visual stability to prevent layout shifts. If you’re not familiar with the Image component, I recommend you watch <a href="https://www.youtube.com/watch?v=IU_qq_c_lKA">this video</a> by <a href="https://leerob.io/">Lee Robinson</a>. In this article, I want to focus on adding blurred images while the actual images load.</p><h4>the Default Image Blur of the Image Component</h4><p>Even though there is one limitation, the Image component can even generate blurred images out of the box! Let me show you an example from my <a href="https://www.furkancengiz.software/">portfolio website</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfGX5WlkZP2M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfGX5WlkZP2M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfGX5WlkZP2M%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/b28aff32d860af9d2e64b1a737aa51ec/href">https://medium.com/media/b28aff32d860af9d2e64b1a737aa51ec/href</a></iframe><p>It’s way better than the default loading. As I stated above, there is a limitation: you need to statically import the image. It may not be possible to import images statically especially if you’re using dynamic images or cloud services. We’ll overcome this limitation in the following technique but now let’s see the code that makes possible this default blurred image.</p><pre>import furkanpicture from &quot;@/public/pics/furkan.png&quot;;<br>import Image from &quot;next/image&quot;;<br>import React from &quot;react&quot;;<br><br>export default function AboutImage() {<br>  return (<br>    &lt;figure&gt;<br>      &lt;Image<br>        src={furkanpicture}<br>        alt={&quot;Furkan Cengiz&quot;}<br>        placeholder=&quot;blur&quot; //it&#39;s &quot;empty&quot; by default<br>      /&gt;<br>    &lt;/figure&gt;<br>  );<br>}</pre><p>When the placeholder prop is passed as blur, and the src prop is passed as a statically imported image object, the Image component generates blurred images as you see in the video! If you’re building a static page or website, you can leverage this default blur behavior for sure!</p><h4>Generating dataURL Using Plaiceholder</h4><p>We are able to add blurred images for loading states in case we’re using static images. Now, we need to overcome the limitations of the previous method.</p><p>As stated in the docs, we must pass <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs">dataURL</a> to the blurDataUrl property of Image component for dynamic images. The dataURL is a string that basically holds the blurred image data in base64 format.</p><pre>here&#39;s an example of dataURL<br>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJ0lEQVR4nGPY2fXjv458/H9Bbtf/IDbD/7v//8/Mvfq/J+nEfxAbAF3NFsFiuaE1AAAAAElFTkSuQmCC</pre><p>Now, we know what we need but how do we generate dataURL like this? <a href="https://plaiceholder.co/">Plaiceholder</a>, as suggested in the docs, makes this possible for us!</p><p>First off, we need to install two packages: sharpand plaiceholder. Please follow <a href="https://plaiceholder.co/docs/getting-started">this page</a> for installations.</p><p>I assume that you’re using Next.js. Please follow <a href="https://plaiceholder.co/docs/plugins/next">this page</a> to configure your next.config.ts or next.config.mjs file.</p><p>The installation is done! Now, we need to implement a custom function that runs on the server side and generates dataURLs which’s exactly what we need.</p><pre>import fs from &quot;node:fs/promises&quot;;<br>import { getPlaiceholder } from &quot;plaiceholder&quot;;<br><br>export const getBase64 = async (imgPath: string) =&gt; {<br>  try {<br>    const file = await fs.readFile(`public/${imgPath}`)<br>    const { base64 } = await getPlaiceholder(file)<br>    return base64<br>  } catch (error: unknown) {<br>    //error handling<br>    if (error instanceof Error) return error.message<br>    else if (error &amp;&amp; typeof error === &quot;object&quot; &amp;&amp; &quot;message&quot; in error)<br>      return error.message as string<br>    else if (typeof error === &quot;string&quot;) return error;<br>    else return &quot;Unexpected error!&quot;<br>  }<br>}</pre><p>I implemented using the async-await keywords instead of using then or catch methods as in docs. We first need to read the file that the getPlaiceholderfunction needs. I added a prefix as <em>public </em>since I’m sure that every file path has <em>public </em>prefix. Then, we pass the file to thegetPlaiceholderfunction. It returns different objects like css, color, pixels, base64, and more. Destructure returned object to extract base64 value and return it!</p><p>The function we need to generate dataURLs is complete. Here comes the last important step!</p><h4>Using getBase64 function</h4><p>Notice that we read a file in the function importing fsfunction from node:fs/promises which means this function can only run on the node environment. So, it’s important to note that this function cannot be used on client components. However, there’s no need to worry just yet, as we do have server components. Although you are not able to use this function on client components, you can still call this async function in a server component and pass the returned value down to the client components.</p><p>You can see an example from my portfolio project below. (If you’re already using your Image component in a server component, you don’t need this last step, just make your component async, call the function, and pass the base64 string to blurDataUrl prop)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dIdINXnbStaFHUOr0ZVYpg.png" /></figure><p>In the code above, I’m generating multiple base64 strings which are passed down into individual client components. (You can generate a single base64 string just by passing the path string of your single image to the getBase64 function and await it)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8a4U0LYLWwJdjshhkH1now.png" /></figure><p>That’s it, we have our blurred images ready!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FctayTM1SHM8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DctayTM1SHM8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FctayTM1SHM8%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/7cbf3653ce14fa3b2fa96982428dc74a/href">https://medium.com/media/7cbf3653ce14fa3b2fa96982428dc74a/href</a></iframe><p>Last but not least, there are other techniques such as SVG and color that you can leverage from using plaiceholder. You may want to try them as well, and visit all techniques presented in the <a href="https://with-next.plaiceholder.co/">demo by plaiceholder</a>.</p><p>Blurred images in loading states are something that I really love. It’s a technique that many websites and even Windows applications such as Discord use, and I think it adds a touch of elegance. I hope this article was helpful. To stay updated on my latest work, follow me on Medium or <a href="https://www.linkedin.com/in/furkancengizz/">LinkedIn</a>. Looking forward to seeing you in the next one!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f0e5bf3dc7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Basic TypeScript Types That Every Junior Dev Should Know]]></title>
            <link>https://medium.com/@Furki4_4/basic-typescript-types-and-tricks-that-every-junior-dev-should-know-782b1f5d7c47?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/782b1f5d7c47</guid>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Sat, 11 Nov 2023 12:39:48 GMT</pubDate>
            <atom:updated>2023-11-11T12:41:50.551Z</atom:updated>
            <content:encoded><![CDATA[<p>Even though I’m a type-safety enthusiast, TypeScript was a bit frustrating at first. Imagine creating a type for the inputs of a form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TiQd7as6qyKc9UdXCEuiiQ.png" /></figure><p>Doesn&#39;t it seem a bit irritating? string, string, string… And imagine that you have many more similar forms as well! Let’s begin learning new tricks by refactoring the types in my projects. (I don’t know if I’m being rude by exploiting this article to refactor my code :D)</p><h3>1. Union Type</h3><p>First things first, the Union type is one of the basic types in TS. It allows us to have several options of types by placing the pipe symbol “ | ” between the types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-k1tnEqT-a_IOJX4IRGsw.png" /><figcaption>Size can be only one of the following: “sm”, “md” or “lg”</figcaption></figure><h3>2. Record&lt;Keys, Type&gt;</h3><p>Record is one of the utility types I often stumble upon. It maps through the Keys by assigning the Type as the type of the keys.</p><figure><img alt="This is how I used the Record utility with union types to define keys" src="https://cdn-images-1.medium.com/max/1024/1*Xx8xwfTyerFYfFk5Vo-_7Q.png" /></figure><p>I assigned all the keys to a new type variable using Union type which is described above. Then, I passed it to the Record as Keys and defined that the Type is <em>string</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*fQODdOQXIWu66ZobxTp5UQ.png" /></figure><p>As can be seen above, the new SignupForm type is the same as the older one with less code.</p><p>(Note that the Keys in Record is a <em>union type </em>of string, number, and symbol.)</p><p>Throughout the entire project, I needed additional types for sure! and the ones that require similar key-type pairs of course. For instance, I needed another type for sending the signup credentials. The server doesn’t require the confirmPassword key. No one wants to write the same keys without the confirmPassword key and use the Record to create the SignupRequest type, right? Well, at least I didn’t make that mistake. (You believed that?)</p><h3>3. Omit&lt;Type, Keys&gt;</h3><p>There are lots of utility types in TypeScript and you may not need most of them. However, you cannot escape from using Omit. It allows us to remove the keys that we don’t wanna use anymore from a type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*c-CM5xjmaH0vHHF-K7EzvA.png" /></figure><p>We removed the <em>confirmPassword property </em>and constructed a new type!</p><p>Last but not least, you can remove more than one key by passing multiple keys using union types!</p><pre>type UserSessionData = Omit&lt;SignupForm, &quot;confirmPassword&quot; | &quot;password&quot;&gt;</pre><h3>4. Intersection Types</h3><p>This is also one of the basic types and allows us to merge different types into a single type by putting ampersand “ &amp; ” between the different types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMmqDfz49SjcqYnZfMLYpQ.png" /></figure><p>It sounds great to intersect types even though my example may not seem perfect. There is a problem here that you will stumble upon though. When we hover over CardProps, let&#39;s see what appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*yRR8kuqJdOPUxdPvL6WQkg.png" /><figcaption>behavior of intersections</figcaption></figure><p>It&#39;s frustrating that we can&#39;t easily identify the key-value pairs.</p><p>Note that those type intersections may not be the best intersection example.</p><h3>5. Prettify</h3><p>This is a custom utility type by <a href="https://www.totaltypescript.com/concepts/the-prettify-helper">TypeScript Wizard Matt Pocock</a>. It’s just a mapping type intersected with an object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Onwt5kiVBU7k5QYcEqZzOw.png" /><figcaption>Prettify Type Implementation</figcaption></figure><p>Let’s see what appears when we hover over the CardProps after wrapping some of the types with Prettify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*sNbgUaZkkxD3EFZpLqeBsg.png" /></figure><p>the new version is more comprehensible and self-explanatory, isn’t it?</p><p><em>In my example, I stuck with the same type examples as above. The </em><strong><em>images </em></strong><em>property you see can be better though.</em></p><p>There are other utility types that are helpful in certain situations such as ReturnType, Awaited, Exclude, Extract, and Partial. I haven’t used them before but I believe that they’ll help me in the future. Please make sure you see the related <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html">TypeScript Docs page</a> as well.</p><p>Thank you for reading this article. This is my first English article, and I am not sure if there are any mistakes. However, I am planning to write more articles on Next.js, React, and TypeScript in the future. See you in the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=782b1f5d7c47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS’ten Tiksinen Bir Backend’ci Nasıl CSS’i Sevdi]]></title>
            <link>https://medium.com/@Furki4_4/cssten-tiksinen-bir-backend-ci-nas%C4%B1l-css-i-sevdi-12bf0e9f8cfb?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/12bf0e9f8cfb</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 08:14:43 GMT</pubDate>
            <atom:updated>2023-04-24T08:14:43.442Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*PWclB_AqoFSLRF5Bn3rmqw.gif" /><figcaption>CSS Temelleri Düzgün Atılmayınca Özetle Olan</figcaption></figure><h3>Öncelikle her şeyin nasıl başladığını birazcık anlatmak istiyorum.</h3><p>Ekseriyetin aksine HTML, CSS, JavaScript öğrenerek web geliştiriciliğine başlamadım, kısaca oyun yapmak istediğim için C# öğrendim, sonra vazgeçip .NET’e yöneldim. .NET Web Application öğrenmeye çalışırken C# kodunun ve HTML markup’larının birlikte kullanıldığı View denilen yapıları kullanırken üstünkörü HTML ve CSS öğrendim. Aslında CSS için <a href="https://www.patika.dev/">patika.dev</a>’in içeriklerini tükettim lakin kendi iyilikleri için söylemeliyim ki birçok önemli temel konu es geçilip apar topar <a href="https://getbootstrap.com/">bootstrap</a> denilen bir kütüphane öğretildiğinden CSS temellerimi güzel atamadım. Tabii ki başka kaynakları kullanıp hakkını vererek öğrenmeliydim, aynı anda birçok şey öğrenirken bazen böyle ihtimamsızlıklar olabiliyor.</p><p>Mart ayında Recoded tarafından düzenlenen front-end web development bootcamp’ine kabul alınca kafamdaki tüm CSS bilgilerimi silip yeni bir başlangıç yaptım. CSS’i iyi bilmediğimi biliyordum ama bilmediğim temel özelliklerin bu kadar fazla ve önemli olduğunu bilmiyordum. CSS ise öyle bir dil ki, temellerini bilmeyince gerçekten yazması ızdırap oluyor (bkz. görsel 1).</p><p>Son bir ayımın tamamını ayırdığım CSS’i, başkaları öğrenirken temellerini güzel atabilmeleri için mübrem ve temel gördüğüm, yanlış öğrenilirse CSS’ten tiksindirecek konuları başlıklar altında kısaca özetleyip kendim öğrenirken kullandığım kaynakları paylaşacağım.</p><h3><strong>Box Model</strong></h3><p>Öncelikle, HTML sayfalarında her şey kutu olarak sayılır. Her ne kadar herhangi bir elementi border-radius kullanarak kutuya benzemeyen bir hale getirseniz de o element hâlâ bir kutudur. Bu kutular yani elementler sayfamızda elbette bir yer kaplar ve bu kapladıkları yerler, display denilen bir özellik (property) tarafından belirlenir. Her elementin varsayılan bir davranışı olsa da bunları ihtiyacımız doğrultusunda değiştirebiliyor olmak, istediğimiz karmaşıklıktaki sayfa düzenini sağlarken işimizi çok kolaylaştırır.</p><p>Box model konusunu anlatırken display’den bahsedip box-sizing’ten bahsetmezsem eksik kalır. Özetle, margin ve padding özelliklerinin elementimize uygulanırken width ve height’ın nasıl hesaplanacağını belirler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WI0V5B4pRq1sw1R1gfwc5g.png" /><figcaption>Öğrenmeniz gereken ve yaygın kullanılan display ve box-sizing değerleri.</figcaption></figure><p><strong>Box Model Tavsiye Kaynaklar</strong></p><ul><li><a href="https://www.youtube.com/watch?v=rIO5326FgPE">Box-sizing | Web Dev Simplified</a></li><li><a href="https://youtu.be/x_i2gga-sYg">Inline, inline-block, block | Kevin Powell</a></li><li><a href="https://youtu.be/u044iM9xsWU">Flexbox | Kevin Powell</a></li><li><a href="https://flexboxfroggy.com/#tr">Flexbox froggy</a>, pratik yapmak için bir flexbox oyunu. Kesinlikle deneyin.</li><li><a href="https://youtu.be/rg7Fvvl3taU">Grid | Kevin Powell</a></li><li><a href="https://cssgridgarden.com/#tr">Grid garden</a>, yukarıdaki oyunun yapımcılarından grid oyunu.</li></ul><p>Burada ilk kaynak tavsiyelerimi vermişken şunu da eklemek istiyorum: Lütfen videoları, özellikle bir özelliği tanıtan videoları izleyip geçmeyin, izlerken ve izledikten sonra kendiniz yazmaya çalışın. Hatta önceki öğrendiklerinizle birleştirerek sınırları zorlayın. Böylelikle ileride kendi projelerinizi yaparken “o kadar video izledim, neden hâlâ hiçbir şey yapamıyorum” dedirten <em>tutorial hell’e </em>düşmeyin<em>.</em></p><h3>Responsive Web Design</h3><p>Responsive web design’ın ne olduğunu hiç bilmiyorsanız, kısaca web sayfalarımızın farklı ekran boyutlarında uygun bir biçimde çalışabilmesine <em>responsiveness </em>deriz.</p><p>Önemli ve benim de önceden bilmediğim için çok zorlandığım bir bilgi vermek istiyorum: HTML sayfaları, fıtraten, diğer bir deyişle doğuştan zaten <em>responsive’dir</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*F6DcYsyfa2__rifGUX_oIA.gif" /><figcaption>düz bir div’den oluşan sayfanın responsive davranışı</figcaption></figure><p>Mademki sayfalarımız zaten responsive, bize ne yapmak düşüyor ? Bize düşen görevlerden birisi, sayfaların responsive kalmasını sağlamak. Bir element responsive değilse bunun suçlusu biziz, bunu baştan kabul edelim.</p><p>Bu responsive özelliğini bozan ve yapılmaması gereken en kritik davranış, elementlerin <em>width ve height</em> değerlerine px gibi statik değerler atamaktır. Bu statik değerlerin yerine dinamik olan <em>%, vw, vh </em>ve <em>dvh </em>gibi css değerlerini kullanmamız gerekiyor, tabii kullanmadan önce bunların nasıl çalıştığını öğrenmemiz icap ediyor.</p><p>RWD hakkında son olarak <strong><em>mobile first </em></strong>denilen çok önemli bir yaklaşımdan da bahsetmek istiyorum. Bu yaklaşım bize, web sayfalarını öncelikle mobil uyumlu şekilde geliştirmemizi öneriyor çünkü mobil’e uygun sayfalarda karmaşıklık en azdır, neredeyse birçok şey alt alta dizilir. Ekran büyüdükçe elementler pozisyon ve büyüklük değiştirmeye başlar, böylelikle karmaşıklığımız artar. Lakin tam tersini yaparsak, önceden karmaşıklık katmak için kullandığımız ayarları küçük ekranlar için teker teker pasifleştirmek daha zahmetli oluyor. Vaktinde bu yaklaşımdan bihaberdim, masaüstü için uyumlu olan sayfayı mobil için uyumlu yapmaya çalışmak gerçekten eziyet gibi gelirdi. Kulağa ilk başta geliyor olabilir, bana öyle geldiydi, lakin bir kere böyle geliştirme yapınca sağladığı rahatlığı hissedeceksiniz.</p><p><strong>Responsive Web Design Tavsiye Kaynaklar</strong></p><ul><li><a href="https://courses.kevinpowell.co/conquering-responsive-layouts">Conquering Responsive Layouts | Kevin Powell</a>, RWD hakkında en temel özellikleri güzelce öğrenebileceğiniz bedava bir kurs.</li><li><a href="https://youtu.be/VQraviuwbzU">5 simple tips | Kevin Powel</a>, bu kısımda anlattıklarımın genişletilmiş video hâli :)</li><li><a href="https://www.youtube.com/watch?v=-GR52czEd-0">CSS Units in 8 mins | Web Dev Simplified</a></li><li><a href="https://www.youtube.com/watch?v=wARbgs5Fmuw">Text Responsiveness | Kevin Powel</a></li><li><a href="https://www.youtube.com/watch?v=SjYYfd7obug">Height | Kevin Powell</a>, height’ın width’ten biraz farklı davranması kafa karıştırıcı olabiliyor, bu videoya kesinlikle bakın.</li><li><a href="https://www.youtube.com/watch?v=rxnX1jdoI6c&amp;t=8s">5 common beginner mistakes | Kevin Powel</a>, benim burada bahsedip kafa şişirmek istemediğim bilinçsizce kullanılan position: absolute;’dan da bahsediyor.</li></ul><h3>Pratik Yapmak ve Öğrenmeyi Sürdürmek</h3><p>CSS öğrenirken öğrendiklerinizi bir dosya veya codepen açıp denemenin yanı sıra, gerek oyunlarla gerekse challenge’larla pratik yapmalısınız. Özellikle challenge’larda karşılaşmadığınız senaryolarla karşılaşarak henüz bilmediğiniz özellikleri araştırıp öğrenebilirsiniz. Ayrıca hem öğrendiklerinizi sindirmenize hem de anlamadığınız kısımlar varsa bunları fark etmenize yarar.</p><p>Örneğin, bir challenge çözerken resimler eklemem gerektiydi. Eklediğimde resimler istediğim gibi durmuyordu, çok büyüklerdi. Beklemediğim bir durumla karşılaşmıştım. Biraz araştırma yaparak birkaç tane video izledim ve resimleri nasıl responsive hâle getireceğimi öğrendim. Bu yüzden kesinlikle farklı projeler, challenge’lar yaparak bilmediğimiz senaryolarla yüzleşmekten korkmamalıyız.</p><p>Kaynak tavsiyeleri verirken fark etmiş olabilirsiniz, 2 tane youtube kanalının içeriklerini paylaştım. Bunun sebebi gerçekten CSS hakkında hem en çok içeriğe bu kanallar sahip hem de en kaliteli içerikleri bu iki güzel insan üretiyor. Bu iki kanalın içindeki videolardan ilginizi çekenleri izleyerek farklı konular, özellikler, yaklaşımlar öğrenmeyi sürdürebilirsiniz. Bu iki kanal haricinde benim web geliştiriciliğinin ansiklopedisi dediğim <a href="https://developer.mozilla.org/en-US/">MDN</a>’in de içine dalabilir, birçok insanın bilmediği detayları öğrenebilir ve ayrıca dokümantasyon okuma becerilerinizi geliştirebilirsiniz.</p><p><strong>Pratik Yapmak ve Öğrenmeyi Sürdürmek için Tavsiye Kaynaklar</strong></p><ul><li><a href="https://www.youtube.com/@freecodecamp">FreeCodeCamp</a>. Ne ararsanız muhtemelen bulabileceksiniz, CSS için hem çeşitli kurslar hem de çeşitli projeler mevcut. Konumuz değil ama bol bol JavaScript projeleri de var, göz atabilirsiniz.</li><li><a href="https://www.frontendmentor.io/challenges">Frontendmentor</a>. Önceden hazırlanmış web sitesi veya component tasarımlarını klonlamamızı isteyen challenge’lar var. Kendi çözümlerinizi paylaşıp geri bildirim alabilir, başkalarının çözümlerini inceleyebilirsiniz. Kod yazmak kadar okumak da önemlidir, başkalarının çözümlerini incelemenizi salık eylerim.</li><li><a href="https://codepen.io/trending">Codepen</a>. Aslında çevrimiçi code editor olsa da içerisindeki trending kısmında insanların css ile yaratıcılıklarını sergilediği çalışmalarına göz atabilir, ilham alabilir ve klonlamaya çalışabilirsiniz.</li></ul><p>Hülasa, box-model ve responsive web design konularına değinerek CSS yazmayı kolaylaştıracak ve sevdirecek, bilmeniz gereken CSS özelliklerinden, yaklaşımlarından ve bakış açılarından bahsettim. Bu öğrendiklerinizin pratiğe dönüşmesinin ehemmiyetini de umarım aktarabilmişimdir. Aklının ucundan bile CSS sevebileceğini geçirmeyen ben bile doğru şekilde öğrenince CSS’i sevebildim, umarım sizler de seversiniz.</p><p>CSS’te önemli ve güzel gördüğüm teknikleri ve özellikleri(propertyleri) ilerleyen yazılarımda ayrıca açıklayarak sizlerle paylaşacağım, örneğin ::before ve ::after pseudo class’larının nasıl kullanıldığını örneklerle anlatacağım. Takipte ve esen kalın.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12bf0e9f8cfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C#’ta Sealed Keyword’ü]]></title>
            <link>https://medium.com/@Furki4_4/c-ta-sealed-keyword-%C3%BC-cd07130744c2?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd07130744c2</guid>
            <category><![CDATA[yazılım]]></category>
            <category><![CDATA[nesne-tabanlı-programlama]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Mon, 30 Jan 2023 14:18:51 GMT</pubDate>
            <atom:updated>2023-01-31T18:05:46.246Z</atom:updated>
            <content:encoded><![CDATA[<p>Sealed anahtar kelimesi, sınıf ve record’ların kalıtım davranışlarını yahut virtual olan <strong>sınıf ve record üyelerinin</strong> override edilmesini kontrol etmemizi sağlar.</p><h3>Kalıtım Açısından Sealed</h3><p>Ezcümle sealed anahtar kelimesi, uygulandığı sınıfın ve record’ın <strong>kalıtım verme</strong> kabiliyetini devre dışı bırakır. Sealed anahtar kelimesinin uygulanmadığı ve uygulandığı durumlar şu şekilde:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*zim2HHKndMHI9fB9RIO49Q.png" /><figcaption>sealed anahtar kelimesi yokken Car sınıfı <strong>kalıtım verebiliyor</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*HZfh4bALyNJ5VGvX5u6EdA.png" /><figcaption>sealed kelimesi uygulandığında, Car sınıfı kalıtım veremiyor.</figcaption></figure><h4>Sealed, erişim belirtecinin önünde veya arkasında olabilir. Şu şekilde görebilirsiniz:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*ggij9PZvpBKuw39_ndCrhQ.png" /></figure><h3>Virtual Member’lar Açısından Sealed</h3><p>Virtual olan member’ların, <strong>sealed anahtar kelimesinin kullanıldığı</strong> <strong>override işleminden sonra,</strong> override’ın yapıldığı sınıftan kalıtım alan sınıflarda, tekrardan override işlemine uğramasını devre dışı bırakmak için kullanılır. Birkaç görselle daha iyi anlayabileceğinizi düşünüyorum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*Zypk-ogK0o4WN2TzTbar1Q.png" /><figcaption>sealed anahtar kelimesi kullanılmamış virtual member, kalıtım alan sınıflarda override edilebilir.</figcaption></figure><p>Dikkat edin, Car sınıfında override edilmiş Acc metodu (diğer member’lar için de geçerli), Car sınıfından kalıtım alan BMW sınıfında da override edilebilir durumda.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*mtqEyXkpHCWZNqf9ZtI6Nw.png" /><figcaption>sealed anahtar kelimesi kullanılan override edilmiş member, kalıtım alan sınıfta tekrar override edilemiyor.</figcaption></figure><p>Görüldüğü gibi, bu sefer BMW sınıfında Acc metodumuzu override edemiyoruz. Peki, diğer görselde araya bir sınıf daha ekleyip kalıtım seviyesini bir arttırmak istiyorum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*7YSmINaC6102-HBBNtnaGw.png" /></figure><p>Bu seferse Acc metodunu, BMW sınıfında override edebiliyoruz ama BMW’den kalıtım alan I7 sınıfında override edemiyoruz. BMW’yi kalıtan Car sınıfında da bu metot override edilebilir. Hülasa, açıkça görülebildiği üzere, sealed kullanılmış ve override edilmiş member’lar, kalıtılan sınıflarda tekrardan override edilemezler.</p><p>Günlük hayatta çok kullanmayacağınız bir anahtar kelime lakin virtual member’ların davranışlarını sınırlandırabilmeniz açısından yardımcı olabilir. Sınıfların kalıtım edebilme özelliklerinin devre dışı bırakılmasını, sınıfın kalıtım almayacağından bihakkın emin olmadıkça kullanmamakta fayda var.</p><blockquote>Kaynak: Çok severek izlediğim, canım öğretmenim Gençay Yıldız’ın sealed hakkındaki <a href="https://www.youtube.com/watch?v=eg7ZCWSYb1w&amp;t=3s">bu</a> videosu.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd07130744c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yabancı Kökenli Kelimelere Gelen Eklerin Ayrımı]]></title>
            <link>https://medium.com/@Furki4_4/yabanc%C4%B1-k%C3%B6kenli-kelimelere-gelen-eklerin-ayr%C4%B1m%C4%B1-b2187b1da790?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2187b1da790</guid>
            <category><![CDATA[kelime]]></category>
            <category><![CDATA[yazım-hatası]]></category>
            <category><![CDATA[türkçe]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Fri, 09 Sep 2022 08:55:12 GMT</pubDate>
            <atom:updated>2022-09-09T09:20:58.472Z</atom:updated>
            <content:encoded><![CDATA[<p>Ekseriyetimiz yazı yazarken ve konuşurken kendi uğraşlarında, hobilerinde farklı dillerden gelen kelimeleri bazen veya ekseriyetle olduğu gibi kullanıyor, ben de dahil. Bittabi bunun sonucunda bazı sorunlarla karşılaşabiliyoruz, yazının da konusu olan sorunun bir tane örneğine Twitter’da denk geldiydim. <a href="https://twitter.com/fkadev">Fatih Bey</a> alttaki soruyu sorarak bir anket açmıştı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*SvSbDRRfFyPQ5b2SjrecIA.png" /></figure><p>“Evet, ayrılır” diyen çoğunluktu ama konuya dair bir kuralın olup olmadığını araştırırsanız aslında bulamayacaktınız çünkü yoktu. Tek bulabileceğiniz kuvvetle muhtemel <a href="https://www.tdk.gov.tr/icerik/sikca-sorulan-sorular/yabanci-ozel-adlara-ekler-nasil-getirilir-2/"><em>yabancı özel isimlere getirilen ekler</em></a> hakkındaki kural olacaktı. ( En azından ek getirilecekse okunuşuna göre getirildiği kesindi :)</p><p>Az önceyse CİMER vasıtasıyla bu konuyu TDK’ye sormuş <a href="https://twitter.com/furkansuleymana/status/1568134010655612929">Furkan Bey’in “tweet”ini</a> gördüm. CİMER’den sorusunu şöyle iletmiş:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1PsEYfaqv9bL3mE0WUE0pQ.jpeg" /><figcaption>CİMER üzerinden TDK’ye sorulan soru</figcaption></figure><p>Aldığı cevap açıkçası beni şaşırttı, cevapsa şöyle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OHQFepITzp3P8Qs7C5P0UA.jpeg" /><figcaption>CİMER üzerinden TDK’nin verdiği cevap</figcaption></figure><p>Ne kadar kullanışlı olabileceği tartışılır, en azından baz alabileceğimiz bir kural var artık. Görüşlerinizi ilgili “tweet”lerin altında veya vb.nde belirtmenizi salık eylerim, esen kalın.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2187b1da790" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yazılı İçerikte Yazım Yanlışlarından Ari Olmak İçin Tavsiyeler]]></title>
            <link>https://medium.com/@Furki4_4/yaz%C4%B1l%C4%B1-i%CC%87%C3%A7erikte-yaz%C4%B1m-yanl%C4%B1%C5%9Flar%C4%B1ndan-ari-olmak-i%CC%87%C3%A7in-tavsiyeler-8df8fbd89266?source=rss-3ae06bee9b20------2</link>
            <guid isPermaLink="false">https://medium.com/p/8df8fbd89266</guid>
            <category><![CDATA[kelime]]></category>
            <category><![CDATA[dil-bilgisi]]></category>
            <category><![CDATA[yazım-hatası]]></category>
            <dc:creator><![CDATA[Furkan Cengiz]]></dc:creator>
            <pubDate>Tue, 17 May 2022 15:56:26 GMT</pubDate>
            <atom:updated>2022-09-30T18:05:58.427Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*hpMgbkyVqVb6iZMytVtoPw.jpeg" /></figure><p>Birçok insanın farklı sayrılığı, farklı farkındalıkları oluyor. Benimse yazım yanlışlarına, kelimelerin etimolojilerine ve muhtelif kelimelerin doğru anlamlarında kullanılmalarına meftuniyetim var. Bu yazımda yazım yanlışlarından nasıl ari olabileceğimizden, bazı alışkanlıkları nasıl kazandığımdan bahsetmeyi istiyorum ve bu, birkaç adımdan oluşuyor: Hatayı fark etmek, doğruyu bulmak ve beyninize güvenmek.</p><p>Yaptığımız hatalar salt dil bilgisi eksikliğinden değil, bazen yanlış bir harfe dokunmaktan veya dokunamamaktan ortaya çıkabiliyor. Hatayı ilga eylemek için onu öncelikle fark etmelisiniz. Benim yaklaşık bir senedir alışkanlık haline getirdiğim hal çarem, yazılanın tekrar okunmasıdır. Hatta vaktiniz varsa veya önemli bir yazıysa metni tekrardan yazabilirsiniz.</p><p>Peki, belli başlı hataları ayrımsadınız ve ilga ettiniz ama hâlâ yazım yanlışları kalıyor. Bu durumda dil bilgisi için birazcık okuma yapmalısınız lakin ezberlemeye çalışmayın. Önceliğiniz göze batan, sık yapılan yazım yanlışları olmalı ve bir anda tüm kuralları öğrenmeyi beklemeyin. Buradaki <a href="https://www.youtube.com/watch?v=fioGBlYNuTE&amp;list=PL98DQy3xBiLcwzG71xRjuafveHpKjCcOD&amp;index=11">bağlantıdan</a> başlamanızda fayda var. Pekâlâ, farkında olmadan yaptığınız hataları nasıl fark edeceğiz ? Benim hayatın birçok alanında uygulayıp nemalandığım basit bir soru var: <strong><em>Nereden biliyorum ?</em></strong><em> </em>sorusu. Söz gelimi noktalı virgül, fark edilmeden çok yanlış kullanılıyor ve böyle hatalarda neredeyse herkes, yanlış kullanımlarını nereden bildiklerini bilmiyor. Dil bilgisi için önerceğim kaynak <a href="https://www.tdk.gov.tr/kategori/icerik/yazim-kurallari/">burasıdır</a>, haber sitelerinden falan bakmaya aman çalışmayın. Dil bilgisini ezberlemekten ziyade hata yapa yapa o kuralı bellemenizi salık eylerim. Bende işe yarayan döngü şuydu: <strong>Kuralı oku — hata yap — tekrardan kuralı oku</strong>.</p><p>Sondan bir öncesinde, dil bilgisi kurallarından ziyade, sözcük hataları var. Bu yazıyı yazarken ben de hatalar yaptım ve <a href="http://sozluk.gov.tr/">sözlüğe</a>, <em>sözgelimi</em> yazdım. Sonuç tabii ki hüsran çünkü doğru yazılışı <em>söz gelimi</em> idi. Bunun gibi tonlarca hata yaptım ve en sonunda doğrusunu aslında yukarıda bahsettiğim döngüyle diğer doğruları bellediğim gibi belledim. Burada benim yol göstericim hislerim oluyor. Söz gelimini yanlış yazdığımda kötü hissettim ve doğru olup olmadığını murakabe ettim. Size de buradaki salığım, öz güven, özveri gibi ayrı yazılıp yazılmadığından emin olamadığınız kelimeleri tekrar tekrar kontrol etmek, böylece doğrusunu zihne en kazınır biçimde öğrenebilirsiniz. (Mezkur sözlük Chrome sekmesi olarak bende her zaman açıktır ve hızlıca kelimeleri kontrol edebilmemi sağlar.)</p><p>Son tavsiyem tamamen dil ve dil bilgisi dışında bir tavsiye: Beyninizin örtülü hafızasına -yahut alışkanlık kazanan kısımlarına- güvenin. Vakit verdikçe o iş her neyse zamanla otomatik çalışan kısımlara zerk edecek ve düşünmenize kahir ekseriyetle gerek kalmayacak. Beyninize kazınan bilgilerle örtüşmeyen bir iş yapılınca belki benim de bazen hissettiğim gibi kötü de hissedeceksiniz, böyle zamanlarda duygusal sisteminizi dinleyebilirsiniz.</p><p>Hülasa yazılanı tekrar okumaktan, doğruyu öğrenmekten ve biraz da sinir bilimiyle öğrendiklerimden bahsettim. Şunu da unutmayın ki mükemmel-kemale ermiş, kusursuz- olamazsınız. Bazen hata yapacaksınız, okusanız da o hatayı göremeyeceksiniz lakin bu adımlar kesinkes eminim ki yardımcı olacaktır.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8df8fbd89266" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>