<?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 IsuRu DilHan on Medium]]></title>
        <description><![CDATA[Stories by IsuRu DilHan on Medium]]></description>
        <link>https://medium.com/@isurudilhan?source=rss-5463e0b38657------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XVujfgWIEKcJ6K2pTUeSAg.jpeg</url>
            <title>Stories by IsuRu DilHan on Medium</title>
            <link>https://medium.com/@isurudilhan?source=rss-5463e0b38657------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 23:59:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isurudilhan/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[http://jeffcarp.github.io/frontend-hyperpolyglot/]]></title>
            <link>https://medium.com/@isurudilhan/http-jeffcarp-github-io-frontend-hyperpolyglot-81ee830214a1?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/81ee830214a1</guid>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Sat, 04 Jun 2016 13:09:11 GMT</pubDate>
            <atom:updated>2016-06-04T13:09:11.802Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://jeffcarp.github.io/frontend-hyperpolyglot/">http://jeffcarp.github.io/frontend-hyperpolyglot/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81ee830214a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Still Ubuntu is the Best :3]]></title>
            <link>https://medium.com/@isurudilhan/still-ubuntu-is-the-best-3-dfbdcf311636?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfbdcf311636</guid>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Thu, 31 Mar 2016 18:10:24 GMT</pubDate>
            <atom:updated>2016-03-31T18:10:24.975Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://fossbytes.com/ubuntu-linux-on-windows-10-here-are-pictures-screenshots/">Ubuntu Linux On Windows 10 - Here Are The First Pictures For You</a></p><p>Still Ubuntu is the Best :3</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfbdcf311636" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You need REST !]]></title>
            <link>https://medium.com/@isurudilhan/you-need-rest-89c0dcfd8728?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/89c0dcfd8728</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Sun, 13 Mar 2016 07:58:32 GMT</pubDate>
            <atom:updated>2016-03-13T07:58:32.676Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>RESTful</strong> Web Services are REST architecture based web services. In REST Architecture everything is a resource. RESTful web services are light weight, highly scalable and maintainable and are very commonly used to create APIs for web based applications.</p><h4>What is REST ?</h4><p>REST stands for <strong>RE</strong>presentational <strong>S</strong>tate <strong>T</strong>ransfer. REST is web standards based architecture and uses HTTP Protocol for data communication. It revolves around resource where every component is a resource and a resource is accessed by a common interface using HTTP standard methods.</p><p>In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources. Here each resource is identified by URIs/ global IDs. REST uses various representations to represent a resource like text, JSON and XML. Now a days JSON is the most popular format being used in web services. In our <a href="https://github.com/isurudilhan/Coupley">Coupley project</a> we have used JSON.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*6zqe9RbWwhkbTJfJ59XNtg.png" /><figcaption><strong>JSON representation of a resource.</strong></figcaption></figure><h4>HTTP Methods</h4><p>Following well known HTTP methods are commonly used in REST based architecture.</p><ul><li><strong>GET</strong> — Provides a read only access to a resource.</li><li><strong>PUT</strong> — Used to create a new resource.</li><li><strong>DELETE</strong> — Used to remove a resource.</li><li><strong>POST</strong> — Used to update a existing resource or create a new resource.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*G87OXgs45dslNo2pNSHkgQ.jpeg" /><figcaption>Examples for HTTP methods</figcaption></figure><p><strong>REFFERENCES</strong>: <a href="https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm</a></p><p><a href="http://www.restapitutorial.com/lessons/restquicktips.html">http://www.restapitutorial.com/lessons/restquicktips.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89c0dcfd8728" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JsHint]]></title>
            <link>https://medium.com/@isurudilhan/jshint-aa3592414f92?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa3592414f92</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Mon, 15 Feb 2016 17:53:08 GMT</pubDate>
            <atom:updated>2016-02-15T17:53:08.221Z</atom:updated>
            <content:encoded><![CDATA[<p>JSHint is a tool that can help you to write more reliable and consistent JavaScript code. The tool works by checking your code for a number of common errors. If you’ve ever spent half an hour trying to debug your code only to find that you missed a comma somewhere, you’ll understand how useful JSHint can be.</p><p>As well as catching errors in your code, JSHint can be used to enforce coding conventions and <a href="https://github.com/styleguide">style guides</a>. This is really useful if you work on a team as it helps to keep your codebase consistent and easily readable.</p><h3>Installing JSHint</h3><p>JSHint is available through the node package manager (npm). If you don’t have npm installed, go to the <a href="http://nodejs.org/">node.js website</a> and download a copy of node for your OS. This will install both node.js and npm.</p><p>Once you have npm installed, open up terminal and type:</p><pre>npm install -g jshint</pre><p>The -g flag means that jshint will be installed globally on your system. This allows you to access the executable from any directory.</p><h3>Using JSHint on The Command Line</h3><p>Now that you have JSHint installed let’s test a file. Here test file is called “demo.js”</p><pre>window.onload = function() {  console.log(&#39;This is a JSHint demo&#39;) }</pre><p>Open up terminal and navigate to the folder that contains your JavaScript file. Then run the following command to test the file:</p><pre>jshint demo.js</pre><p>If you used the demo.js file you should see two errors as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*dIhqBHvDTwjuwYXq.png" /></figure><p>JSHint Errors</p><p>If JSHint doesn’t find any problems with your code nothing will be output into the terminal window. Open up the demo.js file in your favorite text editor and add the two missing semi-colons. Running JSHint again should now return no errors.</p><p>Running JSHint from the command line can become a bit tedious. Ideally you want to get real-time feedback about any errors as you write your code. There are a whole bunch of plugins available that can bring the goodness of JSHint directly into your favorite text editor. I have used <a href="https://www.jetbrains.com/idea/help/jshint.html">intellij JsHint plugin</a> for our <a href="https://github.com/isurudilhan/Coupley">Coupley</a> project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa3592414f92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LARAVEL best for PHP]]></title>
            <link>https://medium.com/@isurudilhan/laravel-is-a-free-open-source-php-web-application-framework-created-by-taylor-otwell-and-intended-9df9680a2581?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/9df9680a2581</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Sun, 07 Feb 2016 07:27:42 GMT</pubDate>
            <atom:updated>2016-03-13T08:06:38.394Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Laravel</strong> is a free, <a href="https://en.wikipedia.org/wiki/Open-source">open-sourc</a>e PHP <a href="https://en.wikipedia.org/wiki/Web_application_framework">web application framework</a>, created by Taylor Otwell and intended for the development of web applications following the <a href="https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">model–view–controller</a> (MVC) <a href="https://en.wikipedia.org/wiki/Architectural_pattern">architectural pattern</a>. And here are some of the reasons that I would suggest giving Laravel a try and why I will NEVER go back to another framework.</p><h3>Composer</h3><p>Laravel depends a lot of a number of external packages for its functionality. To do this, it is using Composer as a dependency manager. Why does this matter to you? For starters it makes it extreemly easy to get a new laravel project set up.</p><pre>composer create-project laravel/laravel your-project-name --prefer-dist</pre><p>and that will give you a full copy of laravel. Now you may think that this is just as complicated as remembering the url and running a `git clone` I would have to agree with you, however, these things are clearly mentioned in the <a href="https://laravel.com/docs/5.2/installation">Laravel Documentation</a> .the next steps are the easy part. After you are done creating the project there are only a few more commands that you need to know</p><pre> composer install<br> composer update</pre><p>The first one, `composer install`, sets up the laravel project and downloads all dependencies it requires to run. Down in the Laravel core are external packages, all pulled in with composer during the install, that include:<br>Symfony<br>Whoops<br>Doctrine</p><p>It is even just as easy to bring in another package into your laravel application by modifying the composer.json file. The one package that I ALWAYS include in my application during development is Laravel Generator by Jeffrey Way.</p><p>The final thing Ill say about the perks of Laravel using composer is that all of Laravel’s core components are individually available on the Illuminate GitHub repository.</p><h3>Artisan</h3><p>The command line is a very powerful tool for any developer. With Artisan, Laravel expands into being able to use the command line to run many different tasks. Just by typing `php artisan` in your terminal window, you are opened up to multiple options</p><pre>...<br>app<br>  app:name            Set the application namespace<br> auth<br>  auth:clear-resets   Flush expired password reset tokens<br> cache<br>  cache:clear         Flush the application cache<br>  cache:table         Create a migration for the cache database table<br> config<br>  config:cache        Create a cache file for faster configuration loading<br>  config:clear        Remove the configuration cache <br>... <br>migrate<br>  migrate:install     Create the migration repository<br>  migrate:refresh     Reset and re-run all migrations<br>  migrate:reset       Rollback all database migrations<br>  migrate:rollback    Rollback the last database migration<br>  migrate:status      Show the status of each migration</pre><p>These are just a few commands that are available. With artisan, you can even begin to make your own command line tools.</p><h3>Database Migrations &amp;amp; Seeds</h3><p>One pain point for me when I am developing an application is how to keep my database in sync between my development machines. With Laravel database migrations, it is extreemly easy. After a long day of work, I may have made a lot of changes to the database and, in my option, MySQL Workbench is not a great way to sync databases between my development machines. Enter Migrations. As long as I keep all of my database work in migrations and seeds (a file that populates a database), I can easily migrate the changes into any other development machine I have. The other nice part of these is that I am now able to keep my database under version control too.</p><h3>RESTful Routing</h3><p>This is by far one of the best things in laravel. If you do not know what REST is, check this tutorial out to get more information. Laravel makes it very nice in the way it uses verbs for its routes. Here is a sample of a route file:</p><pre>Route::get(&#39;dogs&#39;,function() { return &#39;These are the dogs!&#39;; });<br> Route::get(&#39;dogs/{id}&#39;, array(&#39;uses&#39; =&gt; &#39;DogsController@show&#39;));<br>             // Will trigger the show method in DogsController<br> Route::post(&#39;dogs&#39;, array(&#39;uses&#39; =&gt; &#39;DogsController@create&#39;));<br>             // Will trigger the create method in DogsController only if posted to<br> ...</pre><p>These are just a few of the reasons why we have switched to Laravel for<a href="https://github.com/IsuruDilhan/Coupley"> Coupley Match Making App</a> and why Laravel is the best PHP Framework.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9df9680a2581" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flux ?]]></title>
            <link>https://medium.com/@isurudilhan/flux-b93df8c4702?source=rss-5463e0b38657------2</link>
            <guid isPermaLink="false">https://medium.com/p/b93df8c4702</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[IsuRu DilHan]]></dc:creator>
            <pubDate>Sat, 30 Jan 2016 09:06:41 GMT</pubDate>
            <atom:updated>2016-01-30T09:06:41.474Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Flux is the application architecture that Facebook uses for building client-side web applications. It complements React’s composable view components by utilizing a unidirectional data flow. It’s more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b93df8c4702" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>