<?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 Cennet Boran on Medium]]></title>
        <description><![CDATA[Stories by Cennet Boran on Medium]]></description>
        <link>https://medium.com/@cennetboran?source=rss-9caea12e7d60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OeJp8Q7lOc6MJ3kO5tu6DQ.jpeg</url>
            <title>Stories by Cennet Boran on Medium</title>
            <link>https://medium.com/@cennetboran?source=rss-9caea12e7d60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 01:06:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cennetboran/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[What is MobX ?]]></title>
            <link>https://cennetboran.medium.com/what-is-mobx-caf9c27b80ca?source=rss-9caea12e7d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/caf9c27b80ca</guid>
            <category><![CDATA[mobx-vs-redux]]></category>
            <category><![CDATA[mobx]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[mobx-react]]></category>
            <dc:creator><![CDATA[Cennet Boran]]></dc:creator>
            <pubDate>Thu, 15 Dec 2022 08:38:23 GMT</pubDate>
            <atom:updated>2022-12-15T08:38:23.347Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*D9imlz5y_3_-l8q4jKD9RA.png" /></figure><h3>What is MobX ?</h3><p>MobX is a library for managing state in React applications. It’s often used with React to provide a simple and efficient way to manage state in complex applications. MobX uses a reactive programming approach to automatically update the UI whenever the application state changes. This makes it easy to build applications that are fast and responsive to user actions.</p><p><strong><em>“MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP).”</em></strong></p><p>In addition, some of the core principles of MobX include:</p><p>· May have multiple stores to store the state of the application</p><p>· The state of the entire application is stored in a single object tree</p><p>· Action in any piece of code can change the state of the application</p><p>· All derivations from the state are automatically and atomically updated when the state is changed</p><h3><strong>MobX: Core concepts</strong></h3><p>In addition to being a library, MobX also introduces a few concepts: state, actions, and derivations (including reactions and computed values).</p><p>The core concepts of MobX in React are:</p><p><strong>Observables</strong>: These are the values that you want to track and react to changes in. In MobX, you can mark any piece of state as observable, which allows components to “observe” those values for changes.</p><p><strong>Computed values:</strong> These are values that are derived from one or more observables. In MobX, you can create computed values using functions, and these values will automatically update whenever the observables they depend on change.</p><p><strong>Actions: </strong>These are the functions that update your observable state. In MobX, you can mark any function that modifies observables as an action, which allows MobX to automatically track the changes that the function makes.</p><p><strong>Reactions: </strong>These are the components or functions that react to changes in your observable state. In MobX, you can create reactions using the observer decorator or the useObserver hook, which will automatically update the components or functions whenever the observables they are observing change.</p><p>Overall, the core concepts of MobX in React are designed to make it easier to manage state and react to changes in your application. By using observables, computed values, actions, and reactions, you can create applications that are more reactive and easier to reason about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*mAsO2x7dz5HYk6NA7JF3wQ.png" /></figure><h4>MobX data flow</h4><ol><li>You mark certain pieces of state as observables, which allows components to “observe” those values for changes.</li><li>You create computed values, which are derived from one or more observables. These values will automatically update whenever the observables they depend on change.</li><li>You create actions, which are functions that update your observable state. Whenever you call an action, MobX automatically tracks the changes that the function makes to observables.</li><li>You create reactions, which are components or functions that react to changes in your observable state. Whenever an observable value that a reaction is observing changes, the reaction will automatically update.</li></ol><p>In this way, MobX helps to manage the flow of data in your application and ensures that your UI stays up-to-date with the latest state. When an observable value changes, MobX automatically updates any computed values or reactions that depend on that value, so you don’t have to worry about manually updating your UI.</p><h4>MobX Example:</h4><pre>import { observable, action } from &#39;mobx&#39;;<br>import { observer } from &#39;mobx-react&#39;;<br><br>// Create a new instance of the `AppStore`<br>const appStore = new AppStore();<br><br>// Define a `Todo` component that uses the `observer` HOC to automatically<br>// update the UI whenever the `todos` array in the `appStore` changes<br>const Todo = observer(({ todo }) =&gt; {<br>  return &lt;div&gt;{todo.title}&lt;/div&gt;;<br>});<br><br>// Define the `App` component that uses the `observer` HOC to automatically<br>// update the UI whenever the `appStore` changes<br>const App = observer(() =&gt; {<br>  return (<br>    &lt;div&gt;<br>      {appStore.todos.map(todo =&gt; (<br>        &lt;Todo todo={todo} key={todo.id} /&gt;<br>      ))}<br>    &lt;/div&gt;<br>  );<br>});<br><br>// Define the `AppStore` class that manages the application state<br>class AppStore {<br>  // Use the `observable` decorator to mark properties that will be used to<br>  // manage application state<br>  @observable todos = [];<br><br>  // Use the `action` decorator to mark methods that modify application state<br>  @action addTodo(title) {<br>    this.todos.push({<br>      id: Date.now(),<br>      title,<br>    });<br>  }<br>}</pre><p>In this example, the App component uses the observer Higher-Order Component (HOC) from the mobx-react library to automatically update the UI whenever the appStore changes. The appStore itself uses the observable decorator from the mobx library to mark properties that will be used to manage application state, and the action decorator to mark methods that modify application state.</p><p>Whenever the addTodo method is called, it updates the todos array in the appStore, which automatically triggers the UI to update via the observer HOC. This makes it easy to build applications that are fast and responsive to user actions without having to manually manage updates to the UI.</p><h4>REDUX VS MOBX?</h4><p>Both Redux and MobX are libraries for managing state in React applications. Redux is a more popular and widely used library, while MobX is a newer library that aims to provide a simpler and more intuitive way of managing state.</p><p>Redux is based on the idea of a single, immutable state tree. This means that the state of your entire application is represented by a single JavaScript object, and whenever you want to update the state, you create a new object with the new values. This approach makes it easy to reason about your application state and allows for powerful features like time-travel debugging.</p><p>MobX, on the other hand, takes a more reactive approach to state management. In MobX, you can mark certain pieces of state as “observable” and components can “observe” these values for changes. When an observable value changes, MobX automatically updates any components that are observing that value, so you don’t have to worry about manually updating your UI.</p><p>Both libraries can be used to manage state in React applications, but they have different approaches and tradeoffs. Redux is a more robust and feature-rich library, but it can be more difficult to learn and can make your code more verbose. MobX is easier to learn and can make your code more concise, but it may not have all the features of Redux. Ultimately, the choice between the two libraries will depend on your specific needs and preferences.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caf9c27b80ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Cosmic JS ?]]></title>
            <link>https://cennetboran.medium.com/what-is-cosmic-js-e911564dd6a4?source=rss-9caea12e7d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/e911564dd6a4</guid>
            <category><![CDATA[cosmic]]></category>
            <category><![CDATA[cosmic-js]]></category>
            <dc:creator><![CDATA[Cennet Boran]]></dc:creator>
            <pubDate>Mon, 28 Mar 2022 13:01:27 GMT</pubDate>
            <atom:updated>2022-03-28T13:01:27.483Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Cosmic JS ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*9uOmDUQGKHrK1Vw51ArArg.jpeg" /></figure><p>To recap briefly, CosmicJs</p><p>Cosmic JS is a cloud-hosted content platform that makes it simple to add dynamic content to any website or application. Developers can create freely and easily, and content editors can edit content intuitively.</p><p>Cosmic JS overcomes this problem by allowing users to manage content for many websites and apps from a single location, and it can work with content written in any programming language, including PHP, Ruby, Swift for iOS, JAVA for Android, and web client-side apps. In addition, Cosmic JS provides a well-structured API that can be used with any programming language or device.</p><p>The JS in Cosmic JS comes from the fact that Cosmic JS converts content to JavaScript Objects (JSON) and makes them available through the advanced Cosmic JS API.</p><p>Your content is accessed via the JSON API and can be made available anywhere, or you can restrict your content using optional access tokens. Content stored in Cosmic JS and delivered by the API is protected by 256-bit SSL encryption. Cosmic JS provides excellent resources to help you build your applications.</p><p>If you’re a web developer, you know how complex most traditional web content management systems are. One of the biggest challenges is managing the underlying infrastructure for the system, which can be shortened to a hosted headless CMS solution that helps teams build content-powered applications faster, easier, and with a higher level of collaboration than traditional systems.</p><p><strong>What can you build with Cosmic?</strong></p><p>Content management and collaboration tools are provided to create everything from simple websites, mobile apps, blogs to full-featured portals with personalized content and configurations.</p><p>If you don’t already have a Cosmic account with a Bucket, you’ll need to sign up and go through the procedures to make one. Register for a free account. →</p><p><a href="https://app.cosmicjs.com/signup"><em>https://app.cosmicjs.com/signup</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rm8aaQM2JRzb4OJDaM_Pfw.png" /></figure><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e911564dd6a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Vuex and state management ?]]></title>
            <link>https://cennetboran.medium.com/what-is-vuex-and-state-management-1a1f2cdd9bb9?source=rss-9caea12e7d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a1f2cdd9bb9</guid>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Cennet Boran]]></dc:creator>
            <pubDate>Fri, 11 Jun 2021 12:21:10 GMT</pubDate>
            <atom:updated>2021-06-11T12:21:10.930Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROtQY0XW1itY-76_ufVHww.png" /></figure><h3><strong>What is Vuex and state management ?</strong></h3><p>First things first we need to know what Vuex means and what is it capable of</p><p>Vuex is a state management pattern or state management library. Vuex makes data management easy and more maintainable in the application. In simple words, Vuex is a data store that supplies or provide data to Vue components with much consistently, more efficiently by making code more simple. Transferring of data between the component can be done effectively using Vuex when comparing with the traditional way witch is Vue.js passing data by input parameters. Vuex pattern is similar to Redux existing library for state management.</p><p><strong>So what is the main difference between them?</strong></p><p>While Redux uses reducers, Vuex uses mutations. In Redux, state is always immutable, while in Vuex committing mutation by the store is the only way to change data.</p><p><strong>Vuex vs. Redux — what to choose?</strong></p><p>There is no direct answer to this question. From this article, you can learn that both of the discussed state management tools are based on the same pattern with small differences between them, both are framework agnostic (which means that you can freely use Vuex with React and Redux with Vue) and both of them are very powerful. <br>So far we learned what Vuex means and what state is. Now we can understand how state management works using Vuex.</p><p>Vuex has 4 main structure for state management. These are Actions, Mutations, State and Getters.To explain them one by one:</p><p><strong>Actions:</strong> Actions are task performers which have the capabilities to do either synchronous or asynchronous operations. In Vuex actions are used to invoke the rest API’s to fetch the data and then actions call mutations to change the store state. To invoke mutations actions use a command called ‘commit’. This ‘commit’ command invokes appropriate mutation and receives the rest API data as input to save into the store state.</p><p><strong>Mutations</strong>: Mutations are to perform mutable operations. In Vuex the only option to change the state of the store is to use mutations. So the only way to add or update the data of the Vuex store is done by mutations.</p><p><strong>State: </strong>State is a simple javascript object literal. A Vuex store saves or holds the data in the state object.</p><p><strong>Getters:</strong> Getters are to perform tasks to retrieve the data from the Vuex store state. Getters are helped to retrieve data and then we can bind the data to components. So using these Getters, in n-number of Vue Components can share the same data from the Vuex store</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a1f2cdd9bb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular vs VueJS]]></title>
            <link>https://cennetboran.medium.com/angular-vs-vuejs-3472c6b9a4ce?source=rss-9caea12e7d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/3472c6b9a4ce</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[Cennet Boran]]></dc:creator>
            <pubDate>Fri, 11 Jun 2021 11:14:29 GMT</pubDate>
            <atom:updated>2021-06-11T11:52:26.879Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*cyY-uD3jhQM-eA201IU6pA.png" /></figure><p>Hello to everyone, I will compare angular and vue in my blog post today. but first of all what is angular and vue , why do i need a framework i will explain them . I wish you pleasant reading.</p><p><strong>What AngularJS ?</strong></p><p>AngularJS was once known as the “golden child” of JavaScript frameworks, having been introduced by Google in 2012. It was created with the Model-View-Controller paradigm in mind, though the framework’s designers referred to it as “Model-View-*” or “Model-View-Whatever.”</p><p>AngularJS gained a lot of traction quickly and became highly popular. Despite this, the project’s maintainers chose to go one step further and create Angular 2 (later simply Angular without the “JS” element). It’s no coincidence that the framework was renamed: it was completely rewritten and revamped, with many principles being reassessed.</p><p><strong>The Advantages of Angular</strong></p><p>So, what’s the big deal with Angular? It’s powerful, modern, has a nice ecosystem, and it’s just cool. It’s supported on multiple platforms (web, mobile, desktop native), it’s powerful, modern, and has a nice ecosystem, and it’s just cool. Are you still not convinced? Then allow me to be a little more eloquent:</p><p>Angular provides you with not only the tools, but also design patterns for creating a maintainable project. When an Angular application is properly built, it does not result in a tangle of classes and methods that are difficult to alter and even more difficult to test. The code is well-structured, so you won’t have to spend much time trying to figure out what’s going on.</p><p>The components are separated. Angular aimed to eliminate tight dependency between the application’s various components. Injection is done in the NodeJS approach, and you can easily swap various components.</p><p>All DOM manipulation takes place where it should. You don’t have to tightly connect presentation and application logic with Angular, which makes your markup much cleaner and simpler.</p><p>The heart of the matter is testing. With tools like Jasmine and Protractor, Angular is designed to be rigorously tested, and it supports both unit and end-to-end testing.</p><p>Because Angular is mobile and desktop friendly, you can use it on many devices with only one framework.</p><p>As a result, we can argue that Angular is more than simply a framework; it’s a platform that allows developers to create web, mobile, and desktop apps.</p><p><strong>VueJS</strong></p><p>Evan You, a former Google employee, founded Vue. Evan really worked on Angular at Google, so he knows everything there is to know about the framework. Vue’s pitch is that it allows you to quickly create fast, progressive JavaScript apps. Alibaba, GitLab, and Grammarly are among the firms who use Vue.js, and it appears that they recognize the benefits of the framework.</p><p>For developing enterprise application clients, Angular is the standard commercial option. Because Angular is a larger, more developed framework, it takes longer to construct applications. Vue, on the other hand, is ideal for quick prototyping and basic, performant apps.</p><p>Because of Google’s support, Angular is unquestionably the more solid choice of the two. As a result, Angular evolves at a reasonable rate. On Twitter, Angular has 388k followers compared to 213k for Vue.</p><p>Vue.js does something well, according to the State of Js 2018 Survey. Not only do Vue.js roles pay similarly to Angular positions on average, but the number of developers who depart Vue.js after testing it out is much lower than the amount of Angular developers who wish to depart Angular. Approximately the same amount of experienced developers are eager to work with Vue and Angular at the moment, however Angular has been abandoned by a significant number of developers, potentially in favor of Vue and React. People are more interested in learning Vue than Angular, according to the survey.</p><p>Vue.js has some features that remind programmers of Angular. Both frameworks work in a similar way using templating, model binding, loops, conditionals, and event binding. These parallels come in useful during migrating because there are more Angular developers than Vue ones.</p><p>TypeScript is required when working with Angular. Because TypeScript is disliked by some, the authors of Angular have made a divisive decision. Vue has concluded that TypeScript is not required. According to the official vue.js website,“Introducing a type system may result in more overhead than productivity benefits in many smaller-scale use cases.” As a result, while Vue.js supports TypeScript’s static type checking mechanism, it is not required to use it.</p><p>Vue is less opinionated than Angular in general. This means that there is no one-size-fits-all approach to building code in vue.js; instead, software developers may be more creative and use vue.js as they wish. As a result, rapid wins are easier to achieve, and the learning curve for vue.js is far lower than that of Angular. Developers can get started designing Vue apps in less than a day, according to the authors of the official Vue guide. When utilized for rapid application development, this is yet another advantage of vue.js.</p><p><strong>2020 ( Fabuary , 65.000 developers)</strong></p><p><em>Popularity: Angular 25.1%, Vue.js 17.3%, Angular.js 16.1%</em></p><p><em>Loved: Vue.js 66.0%, Angular 54.0%, Angular.js 24.1%</em></p><p><em>Dreaded: Angular.js 75.9%, Angular 46.0%, Vue.js 34.0%,</em></p><p><em>Wanted: Vue.js 16.4%, Angular 10.6%, Angular.js 7.7%</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i5Cl4C4LCEaKrfSe_sLhGw.png" /></figure><p><strong>NPM downloads</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FD3Mozk9AujPWC5yh6YldA.png" /></figure><p><strong>References</strong></p><p><a href="https://angular.io/guide/what-is-angular"><em>https://angular.io/guide/what-is-angular</em></a></p><p><a href="https://vuejs.org/v2/guide/"><em>https://vuejs.org/v2/guide/</em></a></p><p><a href="https://www.npmtrends.com/@material-ui/core-vs-vuetify-vs-@angular/material"><em>https://www.npmtrends.com/@material-ui/core-vs-vuetify-vs-@angular/material</em></a></p><p><a href="https://gist.github.com/tkrotoff/b1caa4c3a185629299ec234d2314e190"><em>https://gist.github.com/tkrotoff/b1caa4c3a185629299ec234d2314e190</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3472c6b9a4ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swagger Nedir?]]></title>
            <link>https://cennetboran.medium.com/swagger-nedir-a8b99095d54d?source=rss-9caea12e7d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8b99095d54d</guid>
            <dc:creator><![CDATA[Cennet Boran]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 10:48:31 GMT</pubDate>
            <atom:updated>2020-10-01T10:49:42.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vL7UGpnvSd42emtIuZDUvA.png" /></figure><p>Swagger nedir? Hangi amaçlar için kullanılır? Bu yazıda bunlardan bahsedeceğim. Öncelikle Swagger’ı anlayabilmek için API’nin ne olduğunu iyice anlamamız gerek.</p><h4>Peki nedir bu API?</h4><p>API, yazılım mühendisleri arasında bağlantı kurmanın, değerli verileri ve gelişmeleri paylaşmanın en iyi yoludur.API aracılığıyla, programcılar paylaşılan kod parçaları ve faydalı deneyimlerden oluşan bir ağa erişirler. Ancak bunlara erişmek için açık belgelere ihtiyaçları vardır.</p><p>Kısaca örneklemek gerekirse;</p><p>Cep telefonunuzda bir uygulama kullandığınızda, uygulama İnternete bağlanır ve bir sunucuya veri gönderir. Sunucu daha sonra bu verileri alır, yorumlar, gerekli eylemleri gerçekleştirir ve telefonunuza geri gönderir. Uygulama daha sonra bu verileri yorumlar ve size istediğiniz bilgileri okunabilir bir şekilde sunar. API budur ve tüm bunlar API aracılığıyla gerçekleşir.</p><p>Bunu daha iyi açıklamak için tanıdık bir örnek alalım.</p><p>Sipariş verebileceğiniz seçeneklerden oluşan bir menüye sahip bir restoranda bir masada oturduğunuzu hayal edin. Mutfak, siparişinizi hazırlayacak olan “sistemin” bir parçasıdır. Eksik olan, siparişinizi mutfağa iletmek ve yemeğinizi masanıza geri götürmek için kritik bağlantıdır. Garsonun veya API’nin devreye girdiği yer burasıdır. Garson, isteğinizi veya siparişinizi alan ve mutfağa — sisteme — ne yapması gerektiğini söyleyen haberci veya API’dir. Daha sonra garson cevabı size geri getirir; bu durumda besindir.</p><p>Swagger ise , API’leri oluşturmaya yönelik bir yaklaşım olarak ortaya çıktı ve kısa süre sonra bu amaç için en popüler framework haline geldi. Bununla birlikte, RAML, APIBlueprint, Summation, vb. gibi birçok başka framework de bulunmaktadır. Peki, Swagger’ın büyük popülaritesi nasıl açıklanabilir? Cevap, birçok avantaj sunması ve net dokümantasyon oluşturmanın yanı sıra başka harika şeyler sağlamasıdır.</p><h3>Swagger Nedir?</h3><p>Swagger, ortak bir dil kullanarak API’leri tasarlamak, dokümantasyon, tasarım, test ve dağıtım dahil olmak üzere tüm API yaşam döngüsü boyunca geliştirmeyi sağlamak için oluşturulmuş en büyük frameworktür.</p><p>Bu frameworkler, programcıların istemci veya sunucu kodu oluşturmasına ve web hizmetleri için kendi oluşturduğu belgeleri yüklemesine yardımcı olan bir dizi araç sağlar.</p><p>Swagger herkesin anlayabileceği ortak bir dil kullandığından hem geliştiriciler hem de geliştirici olmayanlar için kolayca anlaşılabilir. Bunu bir evin planı olarak düşünün. İstediğiniz her türlü yapı malzemesini kullanabilirsiniz,ancak planın parametrelerinin dışına çıkamazsınız. Swagger, kullanıcıların RESTful web hizmetlerini oluşturmasına, belgelemesine, test etmesine ve kullanmasına da yardımcı olur. Hem yukarıdan aşağıya hem de aşağıdan yukarıya bir API geliştirme yaklaşımı ile kullanılabilir. Yukarıdan aşağıya veya tasarıma öncelik veren yöntemde Swagger, herhangi bir kod yazılmadan önce bir API tasarlamak için kullanılabilir. Aşağıdan yukarıya veya kod öncelikli yöntemde, Swagger bir API için yazılan kodu alır ve belgeleri oluşturur.</p><p>Swagger sayesinde yazılım geliştiriciler, ürün ve proje yöneticileri, iş analistleri ve hatta potansiyel müşteriler bile API tasarımına erişebilir. Bir diğer önemli nokta, aynı dokümantasyonun çeşitli API bağımlı süreçleri hızlandırmak için kullanılabileceğidir.</p><p>Bu üç avantaj yalnızca geliştiricilerin hayatını kolaylaştırmakla kalmaz, aynı zamanda API’yi daha tüketilebilir hale getirir. Swagger özelliklerine uyan herhangi bir API’nin okunması, yinelenmesi ve tüketilmesi kolaydır. Bu nedenle Netflix, Akana ve Yelp gibi büyük şirketler Swagger serüvenine çoktan başladı. Aynı zamanda, Swagger frameworkü Google, Microsoft ve Atlassian gibi şirketler tarafından desteklenmektedir</p><h4>Swagger’ın Faydaları</h4><p>API(Application Programming Interface) uygulamalarını standartlaştırma ve basitleştirme amacına ek olarak, Swagger’ın birkaç ek avantajı şunlardır:</p><p>API’lerin planını belirleyen kullanıcı dostu bir arayüze sahiptir.</p><p>Belgeler, müşteriler veya proje yöneticileri gibi hem geliştiriciler hem de geliştirici olmayanlar için anlaşılırdır.</p><p>Özellikler insan ve makine tarafından okunabilir.</p><p>Etkileşimli, kolayca test edilebilir belgeler oluşturur.</p><p>40&#39;tan fazla dilde API kitaplıklarının oluşturulmasını destekler.</p><p>Biçim, düzenlemeleri kolaylaştırmak için JSON ve YAML’de kabul edilebilir.</p><p>API ile ilgili süreçleri otomatikleştirmeye yardımcı olur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X_YbXmr98WaeBWxKuOsu_w.png" /></figure><h3><strong>Swagger Bileşenleri</strong></h3><p>Swagger, API’ler için aşağıdakiler dahil çeşitli açık kaynaklı araçlar sağlar.</p><p><strong>Swagger Editor</strong> — Geliştiricilerin yeni API’ler için dokümantasyon yazmasını, tasarlamasını, açıklamasını ve mevcut olanları düzenlemesini sağlar. Tarayıcı tabanlı düzenleyici, OpenAPI özelliklerini görsel olarak işler,hataları işler ve gerçek zamanlı geri bildirim sağlar. İlk açık kaynak düzenleyici olup, hata işleme ve gerçek zamanlı geri bildirim ile OAS / Swagger tanımını görsel olarak işler.</p><p><strong>Swagger Codegen</strong> — Geliştiricilere farklı platformlar için istemci kitaplığı kodu ve SDK’lar oluşturma yeteneği sağlar. Araç, sunucu saplamaları ve istemci SDK’ları oluşturarak geliştirme sürecini kolaylaştırmaya yardımcı olduğundan, yazılım mühendisleri API’nizi daha hızlı oluşturma ve benimsemesine daha iyi odaklanma becerisine sahip olur.</p><p><strong>Swagger Kullanıcı Arayüzü</strong> (UI)- Mühendislerin çeşitli platformlar için dokümantasyon oluşturmasına yardımcı olan tamamen özelleştirilebilir bir araçtır. Swagger UI, herhangi bir ortamda barındırılabilen tamamen özelleştirilebilir bir araçtır. En önemki artısı ise geliştiricilerin API dokümantasyonu için çok zaman kazanmasını sağlamasıdır.</p><p><strong>Swagger Inspector-</strong> API belgeleri için bir test aracıdır. Swagger Inspector, test ettiğiniz şeyde sınır olmaksızın API’leri kolayca doğrulamanıza ve test etmenize olanak tanır. Herhangi bir API için OpenAPI belgelerini test etmek ve otomatik oluşturmak için bir araç da denebilir. Testler, basit bir erişimle otomatik olarak buluta kaydedilir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8b99095d54d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>