<?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 Tuğberk ÇELİK on Medium]]></title>
        <description><![CDATA[Stories by Tuğberk ÇELİK on Medium]]></description>
        <link>https://medium.com/@tugberkcelik?source=rss-6938e691f252------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SXpNsRwuRz3zVQ3JkO-GWA.jpeg</url>
            <title>Stories by Tuğberk ÇELİK on Medium</title>
            <link>https://medium.com/@tugberkcelik?source=rss-6938e691f252------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:20:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tugberkcelik/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[DRAFT]]></title>
            <link>https://medium.com/@tugberkcelik/draft-26b81e41a2af?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/26b81e41a2af</guid>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Sun, 25 Oct 2020 19:05:39 GMT</pubDate>
            <atom:updated>2020-10-25T19:05:39.941Z</atom:updated>
            <content:encoded><![CDATA[<p>DRAFT</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26b81e41a2af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thread Class in Java]]></title>
            <link>https://medium.com/@tugberkcelik/thread-class-in-java-d54a8983b5d3?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/d54a8983b5d3</guid>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Wed, 16 Oct 2019 08:22:07 GMT</pubDate>
            <atom:updated>2019-10-16T08:26:25.785Z</atom:updated>
            <content:encoded><![CDATA[<h3>Thread Class in Java — İlk Adım</h3><p>Herşey <strong>Runnable</strong> <strong>interface</strong> bildirimi ile başlıyor hatta Thread sınıfı bile Runnable anlaşmasına uyan bir sınıf bildirimi.</p><p>— Thread sınıfı, Runnable anlaşmasına uyması sonucu run metodu impelemente edilmelidir hikaye buradan başlıyor. Bu run metodu içinde target.run() çağrısı start metodu ile tekikleniyor. Herşey tetiklenme zaten aşağı seviyede ve önemli olan metot çağrısı aslında o adresteki makina kodunun cpu düzeyinde işletilmesi.</p><pre>public class App {<br>    public static void main(String[] args)<br>    {<br><br>        // Get the target for run implementation<br>        Runnable target = new HelloRunnable();<br><br>        // Getting the thread object<br>        Thread t = new Thread(target);<br><br>        // Start the thread -&gt; target.run() tetiklemesi yapar.<br>        t.start();<br>    }<br>}</pre><p>target nesnesi burada Runnable anlaşmasına uyan bir sınıf bildirimi dolayısıyla şöyle.</p><pre>// HelloRunnable bildirimi Runnable anlaşmasına uyan bir sınıf<br>class HelloRunnable implements Runnable {<br><br>    //<br>    @Override<br>    public void run()<br>    {<br>        System.<em>out</em>.println(this);<br>    }<br><br>    @Override<br>    public String toString()<br>    {<br>        return &quot;HelloRunnable.toString&quot;;<br>    }<br>}</pre><p>İşte bu bizim için target aslında. Dilin Runnable bildirimi beklediği yere geçilebilir bu durumda dinamik türün metotlarına çağrı yapılacağından buradaki run metoduna çağrı yapılır.</p><h3><strong>Özet</strong></h3><p>Aslında aşağıda bir thread nesnesi alınmış ve nesnenin static olmayan start metoduna çağrı yapılmış. Bu start metodunda o anki thread nesnesinin target adlı property elemanı başlangıç metodunda alınmıştı ve dolayısıyla target.run ile kendi yazdığımız run metoduna dinamik türün run metotuda teknik olarak çağrı mümkün olmaktadır. Bu durumda thread yaratılmış ve metodu executre edilmiştri main thread kendi çalışmasına devam ederken diğer threadte kendi çalışmasına devam etmiştir.</p><p>2 thread biraz ondan biraz bundan felsefesine göre makina kodlarını tamamlayıp process sonlanmıştır.</p><p><strong>new Thread(new TargetRunMethodRunnableImpl()).start();</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d54a8983b5d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero IDE]]></title>
            <link>https://medium.com/@tugberkcelik/zero-ide-d8b638fea9d3?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8b638fea9d3</guid>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Thu, 22 Aug 2019 23:09:34 GMT</pubDate>
            <atom:updated>2019-08-22T23:09:34.893Z</atom:updated>
            <content:encoded><![CDATA[<p>Ide yoksa?</p><pre>package org.csystem.sampleapp.app;</pre><pre>import java.sql.Connection;</pre><pre>import java.sql.Date;</pre><pre>import java.sql.DriverManager;</pre><pre>import java.sql.PreparedStatement;</pre><pre>import java.time.LocalDateTime;</pre><pre>public class App {</pre><pre>public static void main(String [] args) throws Exception</pre><pre>{</pre><pre>org.json.JSONObject jobject = new org.json.JSONObject(&quot;{\&quot;name\&quot;:\&quot;Tuğberk\&quot;}&quot;);</pre><pre>System.out.println(jobject.get(&quot;name&quot;));</pre><pre>// minumum olarak jdbc api bu bilgileri ister.</pre><pre>String url = &quot;jdbc:mysql://localhost/newdb?characterEncoding=latin1&amp;useConfigs=maxPerformance&quot;; // localhost&#39;taki server, newdb&#39;ye işlem yapıyorum</pre><pre>String username = &quot;root&quot;;</pre><pre>String password = &quot;csd1993&quot;;</pre><pre>// Driver var mı yok mu? --classpath</pre><pre>try {</pre><pre>Class c = Class.forName(&quot;com.mysql.jdbc.Driver&quot;);</pre><pre>System.out.println(c.getName());</pre><pre>}</pre><pre>catch(Exception ex) {</pre><pre>System.out.println(ex.getMessage());</pre><pre>}</pre><pre>// Bu aşamadan sonra driver var ve artık işlemleri jdbc ile yapabiliriz.</pre><pre>Connection conn = DriverManager.getConnection (url, username, password);</pre><pre>System.out.println(conn);</pre><pre>// elimizde connection varsa url, user, pass ile aldık.</pre><pre>try {</pre><pre>// stmt al query aslında</pre><pre>PreparedStatement stmt=conn.prepareStatement(&quot;insert into movies(name, year) values(?,?)&quot;);</pre><pre>stmt.setString(1,&quot;aşk&quot;);</pre><pre>stmt.setDate(2, new Date(2015, 03, 12));</pre><pre>// execute request to the server</pre><pre>int i=stmt.executeUpdate();</pre><pre>System.out.println(i+&quot; records inserted&quot;);</pre><pre>conn.close();</pre><pre>}catch (Exception ex) {</pre><pre>}</pre><pre>System.out.println(&quot;test&quot;);</pre><pre>}</pre><pre>}</pre><p>Şu yukarıdaki code parçasını derlemek çalıştırmak</p><ol><li>Server ayağa kaldır localhost ta koşan mysql daemon.</li></ol><p>Directory yapısı şu şekilde</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*tV0blJobeWOcU8BDedcgxA.png" /></figure><p>ve cd Sample-App de iken</p><p><strong>Derlemek için</strong> tahmin edildiği gibi classspath ile jar dosyaları : ile ayrışarak verildi. Amaç App.java yı derlemek -d ile de directory seçildi.</p><p>maven yaptığı gibi target altında classes dizinine org.csystem.sampleapp.app şeklinde dizip açıp App.class dosyasını oraya koymaktan sorumlu java compiler.</p><pre>javac -cp ~/Desktop/Sample-App/target/libs/json-20140107.jar:~/Desktop/Sample-App/target/libs/mysql-connector-java-8.0.15.jar src/org/csystem/sampleapp/app/App.java -d ~/Desktop/Sample-App/target/classes</pre><p><strong>Runtime</strong></p><p>java ile loadClass yapıcaz burada ki ayrıntı fully qualifed org.csystem.sampleapp.app.App sınıf bildirimi tam ismini main yap diyoruz ve bu da classpath de olmalı ki aşağıda target/classes altında org diye başlar. Bunu derlerken bu sebeple buraya koyduk.</p><pre>java -cp target/libs/json-20140107.jar:target/libs/mysql-connector-java-8.0.15.jar:target/classes/ org.csystem.sampleapp.app.App</pre><p>Evet n tane sınıf bildirime ve jarlar classpath ekleyerek istenilen yerde istenilen sınıf bildiriminden nesne alınıp metotlarına çağrı yapılabilir. execute gibi haberleşmeyi sağlayan metot db server process ile.</p><p>Aşağı seviyede zaten ideler de -cp parametrelerini hazırlıyorlar. Maven da öyle -cp parametreleri pom.xml parser ile parse edip bize sunuyor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8b638fea9d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java ile Fonksiyonel Programlama]]></title>
            <link>https://medium.com/@tugberkcelik/java-ile-fonksiyonel-programlama-ed318a5340e5?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed318a5340e5</guid>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 18:00:06 GMT</pubDate>
            <atom:updated>2019-04-30T14:11:03.443Z</atom:updated>
            <content:encoded><![CDATA[<h4>Neymiş ya bu Lambda Expression.</h4><blockquote>Fonksiyonel programlama, öyle bir metot yazın ki her işi yapsın.</blockquote><p><em>Şaka bir yana işin gerçeği bu.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSIGkN8RYCUVqyTuynG4bg.png" /><figcaption>functional paradigma</figcaption></figure><h4><strong>Şimdi bunu ispat edelim:</strong></h4><p><strong>Soru: </strong>Öyle bir metot yazın ki dizideki hem çiftleri hem de tekleri ayrı bir diziye kopyalayabiliyor olsun.</p><p><strong>Cevap:</strong></p><p>int [] a = {4, 8, 3, 1, 18, 9, 21, 20, 5, 17};</p><pre>public void oyleBirMethodYaziyorumki<br>(int [] verBanaODiziyi, SınıfForFonksiyonelite instance)<br>{<br>  //dolaş<br>  for (int val : verBanaODiziyi)</pre><pre>    if (instance.do(val)) {<br>       //bu değeri kopyala artık   <br>    }</pre><pre>}</pre><pre>abstract class SınıfForFonksiyonelite <br>{<br>  boolean do(int val);<br>}</pre><pre>class DynamicType extends SınıfForFonksiyonelite {<br> boolean do(int val);</pre><pre>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed318a5340e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nginx]]></title>
            <link>https://medium.com/@tugberkcelik/nginx-4d642c6a5b9?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d642c6a5b9</guid>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 12:56:16 GMT</pubDate>
            <atom:updated>2019-02-01T12:56:16.474Z</atom:updated>
            <content:encoded><![CDATA[<p>Web Server</p><ol><li>Html’dosyalarını yaz.</li><li>nginx indir.</li><li>Ayar yap.html dosyalarının hangi klasörde olduğu söyle.</li><li>Başlat ./nginx</li></ol><p><strong>Amaç</strong></p><p>Html sun. Server ayarla.</p><p>/tugberk/&lt;your html file.html&gt;</p><p>tugberk klasöründe bu nginx diye bir klasörün içindeki html dosyası.(brew ile otomatik geliyor. brew install nginx son halini indirir)</p><p><strong>Linux</strong></p><p>İndir.</p><p>Ayarları yap.</p><p>nginx / html klasörünü bul içine koy.</p><p>process : run ./nginx</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d642c6a5b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vert.x]]></title>
            <link>https://medium.com/@tugberkcelik/vert-x-74db9451fe13?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/74db9451fe13</guid>
            <category><![CDATA[vertx]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[maven]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 12:06:57 GMT</pubDate>
            <atom:updated>2019-02-01T12:06:57.063Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://vertx.io/">Eclipse Vert.x</a></p><ol><li>Network dersini alanlar bilir. Kendi Server sınıfını yazmalısın.</li><li>Server sınıfı adı üstünde client’ı karşılayan sınıf.</li><li>Literatürde request gelir. Server bunu alır ve isterse bir cevap döner.</li><li>Cevap response olarak geçiyor.</li><li><strong>Özet: Request gel. Response git.</strong></li><li>Aslında client request atar diyelim ve iyice türkçeyle ingilizceyi karıştıralım :)</li><li>Client request atar. Birşey söylemek istiyorum.</li><li>Request aslında (HTTP REQUEST) bir text’tir.</li><li>Yani aslında bir String bir ifadedir.</li><li>String request = “&lt;GELEN İSTEK&gt;”;</li><li>Hatta string’lerin de char array olduğu düşünüldüğünde.</li><li>Char’ın aslında 1–2 byte yer kapladığını hayal ettiğinizde.</li><li>İnternet üzerinden size byte bir array(byte []) geldiğini görürsünüz.</li><li>Laf aramızda bu byte array (byte [] ). Stream sınıflarında saklanır.</li><li>Mesela ByteArrayInputStream sınıfı bu byte array’i sarmalar yani içerisinde byte [] tutar. İsteyen alsın ve kullansın diye.</li></ol><p><strong>Son</strong></p><p>Aslında client (tarayıcı), Tarayıcıya gir url’yaz ve enter.</p><p>Request oluşur dedik ya. Bunu bize tarayıcı(like chrome) gönderir.</p><p>Server karşılar dedik ya. Aslında server’i da biz yazmıyoruz efektif olsun diye dünyaca sözü geçen Server sınıflarını kullanıyoruz.</p><p>Çünkü bunlar binlerce testten geçmiş lisans almış kod tabanları.(frameworks dolayısıyla library dolayısıyla kod, dolayısıyla business methods)</p><p><strong>Paylaşım</strong></p><p>Yukarıda vert.x diye bir server paylaşıyorum.</p><p><a href="https://github.com/vert-x3/vertx-examples">https://github.com/vert-x3/vertx-examples</a> bu adreste maven-simplest diye bir proje var maven projesi.</p><p><strong>Hiç uğraşmak istemiyorsan.</strong></p><ol><li>Yukarıdaki adresten maven-simplest adlı maven projeyi bul, indir</li><li>Intellij ile open project bitti.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74db9451fe13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MySQL]]></title>
            <link>https://medium.com/@tugberkcelik/mysql-8c4a646b2471?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c4a646b2471</guid>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Thu, 31 Jan 2019 08:08:13 GMT</pubDate>
            <atom:updated>2019-01-31T08:08:13.769Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>MySql download server from site</li><li>Kurulum yap. Gui setup tools, şifre istiyor.</li><li>Kendisi ayağa kalkıyor :)</li><li>MySql WorkBench ile server’a otomatik bağlan şifreni isteyebilir</li><li>Create schemas -&gt; Tables, script yaz.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c4a646b2471" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MongoDB — kur-başlat]]></title>
            <link>https://medium.com/@tugberkcelik/mongodb-kur-ba%C5%9Flat-9305d07168cd?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/9305d07168cd</guid>
            <category><![CDATA[mongodb]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Thu, 31 Jan 2019 08:03:44 GMT</pubDate>
            <atom:updated>2019-01-31T08:03:44.933Z</atom:updated>
            <content:encoded><![CDATA[<h3>MongoDB — kur-başlat</h3><p><strong>Kurulum(brew ile kur — config geliyor-daemon olarak başlat)</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3a45683fbb7e57dbbebd3c52d01810f6/href">https://medium.com/media/3a45683fbb7e57dbbebd3c52d01810f6/href</a></iframe><p><strong>Başlat</strong></p><p>brew services start mongodb</p><p>bin’den procesi çalıştırmak yerine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9305d07168cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[com.google.gson.Gson]]></title>
            <link>https://medium.com/@tugberkcelik/com-google-gson-gson-54068d3638ac?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/54068d3638ac</guid>
            <category><![CDATA[songs]]></category>
            <category><![CDATA[reflections]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Thu, 31 Jan 2019 07:37:42 GMT</pubDate>
            <atom:updated>2019-01-31T07:37:42.436Z</atom:updated>
            <content:encoded><![CDATA[<p>com.google.gson</p><p><strong>Json to Object</strong></p><p><strong>(objeyi biz yazıyoruz tabiki)</strong></p><p><strong>Object to Json</strong>, işlerini yapıyor. (Hangi sınıfta çevireği .class bilgisinde)</p><p>Yani ver bana bir nesne ondan sana json yapayım.</p><p>Tabiki nesnenin data field(attribute) bilgisine bakıyor.</p><p><strong>Reflection(.class return Class object metadata info)</strong></p><p>İlgimi çeken şey Customer sınıfının veri elemenları private olmasına rağmen bir şekilde bakıyor. (<strong>Reflection mechanism</strong>)</p><p><strong>Customer Sınıfı</strong></p><pre><strong>class </strong>Customer {<br>    <strong>private </strong>String <strong>m_fname</strong>;<br>    <strong>private </strong>String <strong>m_lname</strong>;<br>    <strong>private int m_age</strong>;<br><br>    <em>// beklenen key-value -&gt; &quot;numbers&quot; : [ [4,5,6] , [4,8,3] ]<br>    </em><strong>private int </strong>[][] <strong>numbers </strong>= {{4, 5, 6}, {4, 8, 3}};<br><br>    <strong>public </strong>Customer(String fname, String lname, <strong>int </strong>age)<br>    {<br>        <strong>m_fname </strong>= fname;<br>        <strong>m_lname </strong>= lname;<br>        <strong>m_age </strong>= age;<br>    }<br>    <br>    @Override<br>    <strong>public </strong>String toString()<br>    {<br>        <strong>return &quot;Customer{&quot; </strong>+<br>                <strong>&quot;m_fname=&#39;&quot; </strong>+ <strong>m_fname </strong>+ <strong>&#39;\&#39;&#39; </strong>+<br>                <strong>&quot;, m_lname=&#39;&quot; </strong>+ <strong>m_lname </strong>+ <strong>&#39;\&#39;&#39; </strong>+<br>                <strong>&quot;, m_age=&quot; </strong>+ <strong>m_age </strong>+<br>                <strong>&quot;, numbers=&quot; </strong>+ Arrays.<em>toString</em>(<strong>numbers</strong>[0]) +<br>                <strong>&#39;}&#39;</strong>;<br>    }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54068d3638ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thymeleaf]]></title>
            <link>https://medium.com/@tugberkcelik/thymeleaf-fc2335acf917?source=rss-6938e691f252------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc2335acf917</guid>
            <category><![CDATA[thymeleaf]]></category>
            <dc:creator><![CDATA[Tuğberk ÇELİK]]></dc:creator>
            <pubDate>Sun, 27 Jan 2019 20:12:18 GMT</pubDate>
            <atom:updated>2019-01-27T22:46:59.679Z</atom:updated>
            <content:encoded><![CDATA[<h3>Thymeleaf - Html Tarafında Java</h3><p>Template Language</p><ul><li>Dil diyorum çünkü kendine özgü bir syntax yapısı var. Öğren.</li><li>Html tarafında java yazmak isteyenler.</li><li>Html tarafında eklenen bir özellik yardımıyla bu dili kullanabilirsin.</li><li>Dependency ekle</li></ul><p>&lt;<strong>dependency</strong>&gt;</p><p>&lt;<strong>groupId</strong>&gt;org.springframework.boot&lt;/<strong>groupId</strong>&gt;</p><p>&lt;<strong>artifactId</strong>&gt;spring-boot-starter-thymeleaf&lt;/<strong>artifactId</strong>&gt;</p><p>&lt;/<strong>dependency</strong>&gt;</p><p><strong>Html Sayfasına NameSpace Bildirimi Yapınız</strong></p><pre>&lt;<strong>html lang=&quot;en&quot; xmlns:th=&quot;http:thymeleaf.org&quot;</strong>&gt;</pre><p><strong>Ne Yapıyor</strong></p><p>Html sayfasına bir data geç.</p><p>String, Integer, Student(class).</p><p>Bu geçisi framework yardımıyla model geçişi olarak düşün.</p><p>Geçen modelin ismini html kodunda yaz.</p><p>Thymelaf bunu işlesin ve çevirsin.</p><p>Default nesnelerin toString() çağrısı yapar.</p><p>th özelliğine bakıp ne yapıcağını anlar.</p><p>Burada h1&#39;in innerHtml kısmına student nesnesini yazar.</p><p>Tarayıcıya yorumla gösterdiğim kısmın gönderilmesine yardımcı oluyor.</p><p>He diceksiniz ki onu bende yapardım. Evet aşağı seviyede bu işlem bean’ler ile yapılıyor veya framework’ü sizin tasarlamanız gerekebilir.</p><p>Controller’dan, html sayfasına yönelirken sonuçta gelen data’nın(modelin) html tarafta işlenmesine yardım etti.</p><p><strong>Bunu İşle Diyorum, Onun syntax Kuralları Geçerli</strong></p><pre>&lt;<strong>h1 th:text=&quot;${student}&quot;</strong>&gt;&lt;/<strong>h1</strong>&gt;</pre><p><strong>Buyur Diyor (</strong><em>arka planda client’a bu gider…Response body html olarak…</em><strong>)</strong></p><pre><em>&lt;h1&gt;Student{name=&#39;tugberk&#39;}&lt;/h1&gt; </em></pre><p><strong>Özet</strong></p><p>Controller model’i html sayfasına geçer.</p><p>Geçilen modeli html sayfası içinde kullan.</p><p>Dolayısıyla database’den gelen bir datayı kolayca client tarafta göster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc2335acf917" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>