<?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 Karun Siddana on Medium]]></title>
        <description><![CDATA[Stories by Karun Siddana on Medium]]></description>
        <link>https://medium.com/@ksiddana?source=rss-1dc659375f67------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iORFNHDGAESQG3vN.</url>
            <title>Stories by Karun Siddana on Medium</title>
            <link>https://medium.com/@ksiddana?source=rss-1dc659375f67------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:03:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ksiddana/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[Build a Google Map Panel (GMAP) using markers loaded from a Store in ExtJS v6.0.2]]></title>
            <link>https://medium.com/@ksiddana/build-a-google-map-panel-gmap-using-markers-loaded-from-a-store-in-extjs-v6-0-2-c2e402022ad4?source=rss-1dc659375f67------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2e402022ad4</guid>
            <category><![CDATA[sencha]]></category>
            <category><![CDATA[extjs]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Karun Siddana]]></dc:creator>
            <pubDate>Mon, 20 Jun 2016 20:52:23 GMT</pubDate>
            <atom:updated>2016-06-27T23:25:15.864Z</atom:updated>
            <content:encoded><![CDATA[<p>Based on a really good <a href="http://www.extjstips.com/2015/11/05/google-map-panel-gmap-and-loading-markers-from-a-store/">Tutorial</a> made by <strong>Mike Hawley</strong>, I was able to make a Google Map Window that loads a markers from a store. Upon clicking the markers it opens a modal and shows 2 split windows of the zoomed in location and a wikipedia page of the lat/lng marker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AN6jb31_oOF7lTiG56o35Q.png" /><figcaption>Google Maps Panel in ExtJS</figcaption></figure><p><strong><em>Github Location: </em></strong><a href="https://github.com/mikerh/ext-map"><strong><em>https://github.com/mikerh/ext-map</em></strong></a><strong><em><br></em></strong><a href="http://www.extjstips.com/">http://www.extjstips.com/</a><br><a href="http://www.extjstips.com/2015/11/05/google-map-panel-gmap-and-loading-markers-from-a-store/">http://www.extjstips.com/2015/11/05/google-map-panel-gmap-and-loading-markers-from-a-store/</a></p><p>Mike explains the changes to the files really well, however there were still some modifications I had to make, in order to make it to work. I’ll walk you through setting up your basic application and then you can add the changes indicated by the tutorial above. Ensure your framework and folder structure is similar to the ones shown below, otherwise ExtJS does not build the application correctly.</p><h4>Step 1</h4><p>Setup a GoogleMap Directory within your ext-6.0.2 framework. Ensure you are in the ext-6.0.2 framework.</p><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2]<br>&gt;&gt;&gt;</strong>sencha generate app -classic GoogleMap ./GoogleMap</pre><h4>Step 2</h4><p>Change your directory into the Google Maps Directory and run the sencha build command from the terminal.</p><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2]<br>&gt;&gt;&gt;</strong>cd GoogleMap/</pre><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2/GoogleMap]<br>&gt;&gt;&gt;</strong>sencha app build<br><strong>Sencha Cmd v6.1.2.15<br>[INF]</strong> Processing Build Descriptor : default<br><strong>[INF]</strong> Loading app json manifest…<br>...<br>...</pre><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2/GoogleMap]<br>&gt;&gt;&gt;</strong>sencha app watch<br><strong>Sencha Cmd v6.1.2.15<br>[INF]</strong> Processing Build Descriptor : default<br><strong>[INF]</strong> Starting server on port : 1841</pre><h4>Step 3</h4><p>Open up your browser and browse to <a href="http://localhost:1841/GoogleMap/">http://localhost:1841/GoogleMap/</a>. You should see the default application as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uHPE1Xil3p2KWKKvcMDPqA.png" /></figure><h4>Step 4</h4><p>Now let’s open the GoogleMap folder structure in finder and the application in Sublime for the rest of the changes. Add the files from the Tutorial specified by Mike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6uy7yc5P7yQqIJIxKg4XFw.png" /><figcaption>GoogleMap Application In Sublime</figcaption></figure><p>Upon completion of the changes, the GoogleMap Folder Structure in Finder should look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z2YOg7EUTTaItAuk5M3Riw.png" /><figcaption>GoogleMap Folder Structure</figcaption></figure><p>All the changes are in the <strong><em>main</em></strong> subfolder and the <strong><em>map</em></strong> subfolder in the view folder. Mike Hawley’s Github repository has all the code for this tutorial and I would defer you to his <a href="https://github.com/mikerh/ext-map/tree/master/app">Github Repo</a> for the subsequent changes for the map and the main view.</p><h4>Step 5</h4><p>One of the errors that I kept getting after making all the changes in the map and main view was the following.</p><pre><strong>[ERR]</strong> Failed to resolve dependency Ext.ux.GMapPanel for file GoogleMap.view.map.Map<br><strong>[ERR]<br>[ERR]</strong> BUILD FAILED<br><strong>[ERR]</strong> com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.ux.GMapPanel<br><strong>[ERR]</strong> at org.apache.tools.ant.taskdef<br><strong>[ERR]</strong> s.Ant.execute(Ant.java:442)</pre><p>In order to fix this error, you have to include the <strong><em>ux</em></strong> <strong><em>package</em></strong> as a dependency to the application. Add the following lines to the <strong><em>app.json</em></strong> file and you should now have a working build. Check your localhost application for any errors.</p><pre>“requires”: [<br> “font-awesome”,<br> “ux”<br> ],</pre><h4>Step 6</h4><p>Even though the build is working, the page fails to load with the error, with a reference error to <strong>google.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YyWqSIeWq8fxDBd1kl049Q.png" /><figcaption>Error: google is not defined</figcaption></figure><h4>Step 7</h4><p>As indicated by Mike, add the google api to the index.html file and ExtJS should now know where to find the google api.</p><pre>&lt;script src=”<a href="http://maps.googleapis.com/maps/api/js">http://maps.googleapis.com/maps/api/js</a>&quot;&gt;&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HP_qPfxR3rqAy0oahdOoOw.png" /><figcaption>Add the Google API to the index.html file</figcaption></figure><p>Now refresh your browser and you should be able to see the following Google Maps Page with Markers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LOMnSlY4eVpm-1a1XNfjHg.png" /><figcaption>Google Maps Panel (GMAP) with ExtJS</figcaption></figure><p>Click the markers to show a detail view of the location as a modal and a split screen view of the zoomed in location on the left and a wikipedia page to its right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qdI6vp9_i2yESOnD7gVcw.png" /></figure><p>Please leave comments to the Tutorial above. There were some minor tweaks I had make in order to get the application to work but most of the application was pretty much built by using Mike’s Github Repo.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2e402022ad4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Tab Panel using ExtJS v6.0.2]]></title>
            <link>https://medium.com/@ksiddana/build-a-tab-panel-using-extjs-v6-0-2-8bc76441b312?source=rss-1dc659375f67------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bc76441b312</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[sencha]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[extjs]]></category>
            <dc:creator><![CDATA[Karun Siddana]]></dc:creator>
            <pubDate>Mon, 20 Jun 2016 06:28:37 GMT</pubDate>
            <atom:updated>2016-06-20T17:30:43.885Z</atom:updated>
            <content:encoded><![CDATA[<p>Setting up a ExtJS Application can be daunting task. Sencha provides a very high level abstraction of the code, that makes it difficult to begin building a simple application. I’m going to provide a simple application that loads a tab panel and simply adds data to the tab panel from a json file.</p><h4>Step 1</h4><p>These are setup instructions for a Mac/Unix environment. Change your current working directory into the unzipped folder of the ext-6.0.2 framework downloaded from <a href="http://docs.sencha.com/extjs/6.0/getting_started/getting_started.html">Sencha ExtJS 6.0.2 link</a>.</p><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2]</strong></pre><pre><strong>&gt;&gt;&gt;</strong>sencha -sdk ~/Documents/Programming/Sencha-Workspace/ext-6.0.2 generate app -modern TestApp ./TestApp</pre><p>If the sencha command is not working from your bash_profile, navigate to your .bash_profile and add the following line and restart your terminal.</p><pre><strong># adding Sencha Cmd through Bash Profile</strong><br>export PATH=”/Users/karunsiddana/bin/Sencha/Cmd/6.1.2.15:$PATH”</pre><h4>Step 2</h4><p>Bring up the ExtJS application that we just generated in step 1 above in the browser.</p><pre><strong>[~/Documents/Programming/Sencha-Workspace/ext-6.0.2/TestApp]</strong></pre><pre><strong>&gt;&gt;&gt;</strong>sencha app watch</pre><pre><strong>Sencha Cmd v6.1.2.15</strong></pre><pre><strong>[INF]</strong> Processing Build Descriptor : default<br><strong>[INF]</strong> Starting server on port : 1841<br><strong>[INF]</strong> Mapping <a href="http://localhost:1841/~cmd">http://localhost:1841/~cmd</a> to /Users/karunsiddana/bin/Sencha/Cmd/6.1.2.15…<br><strong>[INF]</strong> Mapping <a href="http://localhost:1841/">http://localhost:1841/</a> to /Users/karunsiddana/Documents/Programming/Sencha-Workspace/ext-6.0.2…<br><strong>[INF]</strong> Application available at <a href="http://localhost:1841/">http://localhost:1841</a><br><strong>[INF]</strong> Loading app json manifest…<br><strong>[INF]</strong> Appending content to /Users/karunsiddana/Documents/Programming/Sencha-Workspace/ext-6.0.2/TestApp/bootstrap.js<br>...<br>...</pre><p>Once you have working application you should be able to browse to <a href="http://localhost:1841/TestApp/">http://localhost:1841/TestApp/</a> and the see the following Test Application Page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DscxcnRyiL6TgOt-Ki_2NQ.png" /><figcaption>TestApp in the Browser</figcaption></figure><p>Reaching this point in itself is a big success, because you have learned to build a workspace using the Sencha Cmd. Now it’s time to make some changes to this boilerplate window.</p><h4>Step 3</h4><p>Open the generated workspace in Sublime and observe the application structure. The app is scaffolded as a MVC framework with a model, store and view folder structure. The main application is the <em>app.js </em>file, which then looks for the <em>Application.js </em>file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WF_hd53kB9AP6mk876ljxA.png" /><figcaption>TestApp in Sublime</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZ7PA7pHk-n8pbigDiaFvg.png" /><figcaption>TestApp in Folder Structure</figcaption></figure><h4>Step 4</h4><p>Now replace the code in the `app.js` file with the following code below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/441895c1a68532a834214a3cdaa7a6ab/href">https://medium.com/media/441895c1a68532a834214a3cdaa7a6ab/href</a></iframe><h4>Step 5</h4><p>Add a file called persons.json in the same location as the app.js file. Add the following data to the file.</p><pre>[<br> {<br> id: ‘123’,<br> fullName: ‘Nero The Emperor’,<br> notes: ‘’<br> },<br> {<br> id: ‘321’,<br> fullName: ‘Pippo The Nose’,<br> notes: ‘’<br> }<br>]</pre><h4>Step 6</h4><p>Now refresh your window and you should have a new Application that looks like the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDy6FWanMnhqeniyVuqk9A.png" /><figcaption>Edited Test App with Tab Panel</figcaption></figure><p>I haven’t add the entire code to github. I will begin adding all the tutorials to github, once I begin developing more advanced applications. If you need me to add this code above, I can do so upon request.</p><p>Please leave your responses to this tutorial and what improvements I can make to it comprehensive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bc76441b312" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just getting started with Backbone.js]]></title>
            <link>https://medium.com/@ksiddana/just-getting-started-with-backbone-js-cb62ac0ad015?source=rss-1dc659375f67------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb62ac0ad015</guid>
            <dc:creator><![CDATA[Karun Siddana]]></dc:creator>
            <pubDate>Fri, 17 Jun 2016 17:53:45 GMT</pubDate>
            <atom:updated>2016-06-17T17:53:45.856Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*jsYQ0dN4dQHL2aYWdHx-KQ.jpeg" /></figure><p><a href="https://ksiddana.github.io/Introduction-Backbone/">https://ksiddana.github.io/Introduction-Backbone/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb62ac0ad015" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Backbone Soundcloud Example]]></title>
            <link>https://medium.com/@ksiddana/backbone-soundcloud-example-f376eb43d750?source=rss-1dc659375f67------2</link>
            <guid isPermaLink="false">https://medium.com/p/f376eb43d750</guid>
            <dc:creator><![CDATA[Karun Siddana]]></dc:creator>
            <pubDate>Fri, 17 Jun 2016 17:49:08 GMT</pubDate>
            <atom:updated>2016-06-17T18:00:06.507Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*ng-SeEGEL0dJCUod-7MXLA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*jsYQ0dN4dQHL2aYWdHx-KQ.jpeg" /></figure><p><a href="https://ksiddana.github.io/Backbone-Tutorials/">https://ksiddana.github.io/Backbone-Tutorials/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f376eb43d750" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>