<?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 Teja Sankuru on Medium]]></title>
        <description><![CDATA[Stories by Teja Sankuru on Medium]]></description>
        <link>https://medium.com/@tejaswinisankuru?source=rss-e5c586233a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xo2WGV5zx61s0PmGVcG-2g.jpeg</url>
            <title>Stories by Teja Sankuru on Medium</title>
            <link>https://medium.com/@tejaswinisankuru?source=rss-e5c586233a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:26:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tejaswinisankuru/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[Intro to Web Services, AJAX Implementation and Limitations]]></title>
            <link>https://medium.com/@tejaswinisankuru/intro-to-web-services-ajax-implementation-and-limitations-b4a6a5fb67f0?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4a6a5fb67f0</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ajax]]></category>
            <category><![CDATA[web-services]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Thu, 10 May 2018 14:36:08 GMT</pubDate>
            <atom:updated>2018-11-11T15:53:59.194Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, you will be knowing little about Web Services and AJAX. Hope you will enjoy reading.</p><p>Web based Applications can be developed by using various Programming Platforms. Some may use Java, some in .Net while some other in Angular JS, Node.js, etc. These Heterogeneous applications need communication to perform any job between them.</p><p>Web services provide a common platform that allows multiple applications built on various programming languages to have the ability to communicate with each other.</p><h3><strong>Web Services:</strong></h3><p>Set of instructions which resides at sever side responsible for doing a particular job not just on load but every time when there is a request from the Client Side.</p><p>It is responsible for taking input from the client, processing it, respond back with required data.</p><p>In a single server, there are multiple web services running, each one is responsible for a particular job, where each web service is identified with a unique URL.</p><p><strong>AJAX:</strong></p><p><strong>AJAX </strong>stands for Asynchronous JavaScript and XML.</p><p>We use AJAX concept in order to interact with the server using Web Services, either to get or send data.</p><p>Using AJAX,</p><ul><li>we can communicate to the server without reloading the page.</li><li>we can overcome the limitation of JavaScript which can not interact with the database, indirectly achieving the feature through Server(Web Service).</li></ul><p><strong>Note:</strong></p><p>Following are the mostly followed data formats while interacting with the server.</p><blockquote>String,</blockquote><blockquote>JSON,</blockquote><blockquote>XML,</blockquote><blockquote>RSS etc,..</blockquote><p>Among all the above, <strong>JSON </strong>is mostly recommended.</p><p><strong>Implementing AJAX communication using Java Script $.Ajax( ) :</strong></p><p>It is a predefined method which has been supported in jQuery using which we could create an AJAX communication to any provided Web Service.</p><p>It takes object as an input with following properties.</p><p><strong>1. URL: </strong>It takes input as Web Service URL to which the request need to be send.</p><p><strong>2. data Type: </strong>It specifies the type of the data been expected from Server to Client.</p><blockquote>dataType: JSON/XML/String….</blockquote><p><strong>3. data: </strong>An optional property used to carry any data which need to be send from Client to the Server.</p><p><strong>4. type: </strong>Which specifies the type of communication need to be established between Client and Server.</p><pre><strong>E.g.: </strong>type: GET/POST</pre><p><strong>5.</strong> <strong>Success: </strong>It takes call back function as an input which will be called automatically, once there is a response from the Server.</p><p>Success call back method will be called automatically with a response object as a parameter, which holds the data thrown from the server.</p><p><strong>Syntax:</strong></p><pre>success : function (responseObj)<br>     {<br>  _ _ _ _</pre><pre>  }</pre><p><strong>6. error: </strong>It takes call back method as an input which will be called automatically, once there is an error while creating the communication between the Client and Server.</p><p><strong>Syntax:</strong></p><pre>error : function (err) <br>    {<br>    _ _ _ _   </pre><pre>  }</pre><p>Error call back method will be called with a default object that holds the error details of the occurred error.</p><p><strong>Syntax of AJAX Method:</strong></p><pre>$.ajax(</pre><pre>{</pre><pre>url: ‘Web Services url’,</pre><pre>data: &lt;optional data type which need to be send to server&gt;,</pre><pre>data type: &lt;optional data type specifies the type of data expected from Server&gt;</pre><pre>type: ‘Type of communication POST/GET’,</pre><pre>success: function (res){</pre><pre>//call back method will be created automatically once there is a response},</pre><pre>}</pre><pre>error: function (err){</pre><pre>//call back method will be called automatically once there is an error while communicating with Server.</pre><pre>}</pre><pre>}</pre><pre>);</pre><p><strong>Limitations of AJAX:</strong></p><p>Due to security reasons, while setting up an AJAX communication between the Client and Server, we can not create communication between the cross domains. (The Server domain name and client is different.)</p><p>In case if there is handshaking between cross domain client and server, we can create communication between them using the following ways.</p><ol><li>JSONP data format.</li><li>CORS setup (Cross Origin Resource sharing).</li><li><strong>JSONP Communication:</strong></li></ol><p>It is one of the data format which is almost like a JSON Object structure where the only difference is JSON is just an object where as JSONP is an object and acts also as a parameter for call back method (call back method is User defined).</p><p><strong>Syntax:</strong></p><blockquote>call back method (&lt;JSON Object&gt;)</blockquote><p><strong>E.g.:</strong></p><pre>dataResponse({</pre><pre>“name” : “Tanvi”,</pre><pre>“age”  : “24”,</pre><pre>_ _ _ _ _</pre><pre>})</pre><p><strong>Changes need to be done for AJAX method to create JSONP Communication:</strong></p><p>Following are the new properties need to be added for $.Ajax( ) to create a cross domain communication with JSONP data type.</p><pre>datatype        :   “JSONP”,</pre><pre>JSONP call back :   ‘&lt;call back method&gt;’</pre><pre>crossDomain     :   ‘true’ </pre><p><strong>2. CORS Setup:</strong></p><p>In this process, there won’t be any changes at the client Side but there will be a configuration change within the server itself to accept request from Cross domain too.</p><p>CORS Setup is a Server side Change.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br> &lt;title&gt;Demo of Cross Domain Communication&lt;/title&gt;<br> &lt;script type=”text/javascript” src=”…/jQuery.js — CDN”&gt;&lt;/script&gt;<br> &lt;/head&gt;<br> &lt;body&gt;<br> &lt;div&gt;Demo of JSONP communication&lt;/div&gt;<br> &lt;input type=”button” value=’GetData’ onclick=”GetData()”&gt;<br> &lt;script type=”text/javascript”&gt;<br> function getData(){<br> var url = “<a href="http://localhost:8080/Details/match1">http://localhost:8080/Details/match1</a>&quot;;<br> $.ajax({<br> url : url,<br> datatype: “JSONP”,<br> jsonpcallback:”parseResponse”,<br> crossDomain: true,<br> success : function(res){<br> console.log(“success”);<br> console.log(res);<br> },<br> error : function(err){<br> console.log(“Error”);<br> }<br> });<br> }<br> &lt;/script&gt;<br> &lt;/body&gt;<br>&lt;/html&gt;</pre><p>Please post questions/suggestions in Comments.</p><p>Feedback is always appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4a6a5fb67f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular JS]]></title>
            <link>https://medium.com/@tejaswinisankuru/angular-js-3e7a13805347?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e7a13805347</guid>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Mon, 07 May 2018 10:38:45 GMT</pubDate>
            <atom:updated>2018-08-31T04:39:18.689Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi</p><p>As we all know that Angular JS is one of the powerful framework used to create Single page Web Applications. Demand for Angular is raising day by day.</p><p>Let’s learn something about Angular JS in this article. Hope all will enjoy.</p><p>Have a complete look on the guide below and ask questions in the Comments section if you have any.</p><p>Let’s start!</p><p>Angular JS is a JavaScript-based open-source front-end web application framework mainly maintained by Google.</p><p><strong>Major features of Angular JS</strong></p><p>1. An efficient framework used to create rich internet applications.</p><p>2. It provides a feature of writing the Client Side JS code using MVC Architecture.</p><p>3. It strictly follows MVC Architecture.</p><p>4. It automatically handles Cross Browser or operating system dependencies.</p><p>5. It internally has Client Side routing mechanism which enables creating single page web application.</p><p>6. It is an Open Source framework which is available for free of cost.</p><p>7. By default, it provides a feature of validating input elements using which we can easily implement form validations.</p><p>8. It is used to build page large scale, high performance and easy maintenance applications.</p><p>9. By using Angular JS, developer will achieve high or more functionalities with less piece of code.</p><p><strong>Core Features of Angular JS:</strong></p><p>Below are the core features of Angular.</p><p><strong>1.</strong> <strong>Data Binding:</strong></p><p>The process of automatic synchronization of data between Model and the view component is called as <strong>Data Binding</strong>.</p><p>It also provides two way data Binding feature under which the change in the view automatically reflects the Model.</p><p><strong>2.</strong> <strong>Scope:</strong></p><p>An Object which refers to the Model which acts as a glue between Controller and the Viewer. Only the data under the scope object of a particular controller can be accessible at the View Block.</p><p><strong>3.</strong> <strong>Controllers:</strong></p><p>It is a JS function which bounds to a particular Scope. For a single application, we can have multiple controllers.</p><p><strong>4.</strong> <strong>Services:</strong></p><p>Angular JS by default comes with set of built in services like $http, $location, $scope etc,.. which gets instantiated only once throughout the application. Angular even provides a feature of creating Custom Services.</p><p><strong>5.</strong> <strong>Filters:</strong></p><p>These select a subset of items from an array and returns the new filtered array with a condition applied.</p><p><strong>6.</strong> <strong>Directives:</strong></p><p>These are the markers on DOM elements such as elements, attributes etc. Angualr comes with predefined set of directives which doesn’t have any meaning through HTML. But angular adds a meaning for it.</p><p><strong>7.</strong> <strong>Templates:</strong></p><p>These are the rendered views with data from Controller and the Model. We create multiple templates for multiple Views according to the requirement and inject the required template to the View.</p><p><strong>8.</strong> <strong>Routing:</strong></p><p>In this process, we switch between the Views to implement Single page Web application feature.</p><p><strong>9.</strong> <strong>Dependency Injection:</strong></p><p>Under which any required services will be injected to the Controller or other Services only if it is needed.</p><p>The architecture of Angular v1 is based on MVC whereas the architecture of Angular v2 is based on service/controller.</p><h3><strong>MVC Architecture (Model, View, Controller)</strong></h3><p><strong>Model:</strong></p><p>The set of instructions responsible for managing application data. It responds to the request from View block and to the instructions from the Controller to update itself.</p><p><strong>View:</strong></p><p>The presentation of data in a particular format trigger by the Controller’s decision to present the data.</p><p><strong>Controller:</strong></p><p>It responds to the User Input and performs interactions on the data model objects. The Controller receives input, validates it and then perform the business login which modifies the state of the data Model.</p><pre>&lt;html&gt;<br> &lt;head&gt;<br> &lt;title&gt;Demo of creating an Angular Application&lt;/title&gt;<br> &lt;script type=”text/javascript” src=” — Angular.js(CDN)”&gt;&lt;/script&gt;<br> &lt;script type=”text/javascript” src=”app.js”&gt;&lt;/script&gt;<br> &lt;/head&gt;<br> &lt;body ng-app=”SampleApp” ng-controller=”demoCntrl”&gt;<br> &lt;div&gt;The sum of two numbers is {{a+b}} &lt;/br&gt;<br> The User name is {{name}}<br> &lt;/div&gt;<br> &lt;/body&gt;<br>&lt;/html&gt;</pre><p><strong>app.js</strong></p><pre>var myApp = angular.module (“sampleApp”,[]);<br>myApp.controller(“demoCntrl”,function($scope){<br> $scope.a = 10;<br> $scope.b = 40;<br> //$scope.c = $scope.a + $scope.b;<br> $scope.name=”Mahi”;<br>});</pre><p><strong>$http Service:</strong></p><p>A predefined service by default available with in Angular used to create an AJAX communication within the Application.</p><pre>$http({<br> url: ‘WebService url’,<br> method: ‘GET/POST’,<br> data: {optional data need to be passed to Server}<br>}). then (function(res){<br> //Success call back<br>},<br>function(){<br> //Error call back<br>});</pre><p><strong>Implementing AJAX Communication using $http Service.</strong></p><pre>&lt;html&gt;<br> &lt;head&gt;<br> &lt;title&gt;Implementing AJAX Communication&lt;/title&gt;<br> &lt;link rel =”stylesheet” type=”text/css” href=”app.css”&gt;<br> &lt;script type=”text/javascript” src=”…angular.js(CDN)”&gt;&lt;/script&gt;<br> &lt;script type=”text/javascript” src=”app,js”&gt;&lt;/script&gt;<br> &lt;/head&gt;<br> &lt;body ng-app=”sampleApp” ng-controller=”demoCntrl”&gt;<br> &lt;div class=”errBlock” ng-show=”isError”&gt;<br> Error whiel communicating to Server. Please try again after sometime.<br> &lt;/div&gt;<br> &lt;div class=”product ng-repeat”=”product in ProdDetails”&gt;<br> &lt;ul&gt;<br> &lt;li&gt;Product Name:{{product.name}}&lt;/li&gt;<br> &lt;li&gt;Product Price:{{product.price}}&lt;/li&gt;<br> &lt;li&gt;Product Manufacturer:{{product.manufacturer}}&lt;/li&gt;<br> &lt;li&gt;Product discount:{{product.discount}}&lt;/li&gt;<br> &lt;li&gt;&lt;img src = “{{product.image}}” /&gt; &lt;/li&gt;<br> &lt;/ul&gt;<br> &lt;/div&gt;<br> &lt;/body&gt;<br>&lt;/html&gt;</pre><p><strong>app.js</strong></p><pre>var myApp = angular.module(“sampleApp”,[]);<br>myApp.controller(“demoCntrl”,function($scope,$http){<br> $scope.prodDetails = [];<br> $http ({url:’<a href="http://localhost:8080/07May/data.json1&#39;">http://localhost:8080/07May/data.json1&#39;</a>,<br> method:’GET’}).then(function(res){<br> $scope.isError = false;<br> $scope.prodDetails = res.data.products;<br> },function(err){<br> $scope.isError = true;<br> });<br>});</pre><p><strong>Handling Events in Angular:</strong></p><p>Following are the list of predefined angular directives using which we can implement even Handling.</p><p>1. ng-click,</p><p>2. ng-focus,</p><p>3. ng-mouseover</p><p>4. ng-dbclick</p><p>5. ng-keyup</p><p>6. ng-keypress</p><p>7. ng-keydown etc..</p><p><strong>Note:</strong></p><ul><li><strong>$event</strong> is a predefined object gets generated by default when a particular even gets generated on the page.</li><li><strong>$event </strong>object will hold the extra information of the current event been generated.</li></ul><p>It is not mandatory to catch <strong>$event </strong>object, it depends on the requirement.</p><pre>&lt;div ng-app= “eventApp” ng-controller=”evenController”&gt;<br>&lt;input value = “click” type=”button” ng-click=”showMsg($event)”&gt;<br>&lt;/div&gt;</pre><p>I will be coming with new articles.</p><p>Please stay tunned! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e7a13805347" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Script Closures]]></title>
            <link>https://medium.com/@tejaswinisankuru/java-script-closures-4ae8e4dfe820?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ae8e4dfe820</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Mon, 30 Apr 2018 16:45:12 GMT</pubDate>
            <atom:updated>2018-09-14T14:46:44.932Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi</p><p>I am here with a new and interesting topic in Java Script. In this lesson, you will be knowing about <strong>Java Script Closures and Accessing Closure content outside the Closure.</strong></p><p><strong>Closure</strong> is one of the most important topics in Java Script.</p><p>I had prepared the below notes, to make you people understand concepts (considering freshers having zero knowledge on Java script).</p><p>Have a complete look on the guide below and ask questions in the Comments if you have any.</p><p>Let’s start!</p><p><strong>Java Script Closures:</strong></p><p>Closures are used to bind a relative information (set of values, set of methods, objects) to treat it as a single unit or private unit. The content been defined within the closures can not be accessible directly outside the closure. The data been defined within a closure will become private data to the outside world. Closures are always defined within an anonymous function which will be called automatically.</p><p><strong>Syntax:</strong></p><pre>(function (&lt;Optional format params&gt;))</pre><pre>_ _ _ _ _</pre><pre>_ _ _ _ _ User defined content</pre><pre>}) (&lt;optional actual params&gt;);</pre><p><strong>Example:</strong></p><pre>(function ( ){</pre><pre>var a =10; //can not be accessible outside of closure.</pre><pre>function test ( ) {</pre><pre>//Method can be only called within the closure, cannot be accessible outside of closure.</pre><pre>_ _ _ _</pre><pre>_ _ _ _</pre><pre>}</pre><pre>_ _ _ _</pre><pre>}) ( );</pre><p><strong>Accessing Closure content outside the Closure:</strong></p><p>We can access the Closure content outside the Closure by using or assigning a name to the Closure. Not all the content been defined within the Closure, is accessible outside of the Closure but only the data been returned within an Object from the Closure is accessible outside the Closure.</p><p>The Object been returned from the Closure can hold both properties and methods.</p><p><strong>Syntax:</strong></p><pre>var &lt;closure_name&gt; = (function ( ){</pre><pre>_ _ _ _ //private data</pre><pre>return {</pre><pre>_ _ _</pre><pre>Content can be accessible outside the Closure.</pre><pre>}</pre><pre>}) ( );</pre><p><strong>Example:</strong></p><pre>var testClosure = (function ( ) {</pre><pre>function sample1 ( ) {</pre><pre>//Cannot be accessible outside of Closure</pre><pre>_ _ _ _</pre><pre>}</pre><pre>var variable = value1; //Cannot be accessible.</pre><pre>_ _ _ _</pre><pre>return {//</pre><pre>Content under this Object can be accessible outside the Closure using Closure name.</pre><pre>key1: value,</pre><pre>Method: function( ) {</pre><pre>_ _ _ _</pre><pre>}</pre><pre>}</pre><pre>}) ( );</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jzlBvLIlS5e0E_GfIpFLuw.png" /><figcaption>DEMO OF CLOSURES</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ae8e4dfe820" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handling User defined Exceptions and Inheritance Concepts]]></title>
            <link>https://medium.com/@tejaswinisankuru/handling-user-defined-exceptions-and-inheritance-concepts-46a0617bca6?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/46a0617bca6</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Thu, 26 Apr 2018 16:19:09 GMT</pubDate>
            <atom:updated>2018-09-14T14:48:43.372Z</atom:updated>
            <content:encoded><![CDATA[<p>Hieee, I am back.</p><p>As discussed in last article, I am here with new and interesting topics. In this lesson, you will be knowing about <strong>How to handle User defined Exceptions, Inheritance between two static/ two dynamic or one static and one dynamic can be explained in the later article.</strong></p><p>By the way, these are the most important concepts which will be asked by any Interviewer if you attend Interview.</p><p>I had prepared the below notes, to make you people understand concepts (considering freshers having zero knowledge on Java script).</p><p>Have a complete look on the guide below and ask questions in the Comments if you have any.</p><p>Let’s start!</p><h4><strong>Handling User defined Exceptions:</strong></h4><p>Java Script provides a feature of raising User defined exceptions and handling accordingly.</p><p>“Throws” is the keyword using which we can raise User defined exceptions. When the controller reaches to the Throws statement it automatically jumps to the Catch block to handle the User defined exception been raised.</p><p><strong>Syntax:</strong></p><pre>try{</pre><pre>_ _ _</pre><pre>_ _ _</pre><pre>Throws ‘&lt;optional error description&gt;’,</pre><pre>_ _ _</pre><pre>} catch(&lt;optional err obj&gt;){</pre><pre>_ _ _</pre><pre>_ _ _// set of instructions to handle the error been raised within the try block.</pre><pre>}</pre><p><strong>Note:</strong></p><p>We can have any no. of throws statement with in a single try block.</p><p>Having a throws statement with in a try block is optional, it will be added according to the requirement.</p><p>Adding a catch block for a try block is mandatory, where as having a finally block is optional.</p><p><strong>Inheritance between two Static Objects:</strong></p><p>Every Static Object by default holds a property <strong>_ _ proto _ _ </strong>using which we could able to extend the behavior of the current method to point out or access other object’s properties and behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGB_jdYibYiyxwHlg-qwyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDWg-9PE7vxbQbi5DKVmhQ.png" /></figure><p><strong>Inheritance between a Static Object and a Dynamic Object:</strong></p><p>While creating an Object we can make it to point out or refer or inherit an existing a static object.</p><p>“<strong>Object</strong>” is a predefined Object which indicates the parent Object for all the Objects within the page (User defined and predefined) holds a method “<strong>Create</strong>” using which we can create a dynamic object by having the capability of pointing to an existing static object.</p><p><strong>Syntax:</strong></p><pre>Object.create(&lt;existing static object&gt;)</pre><p>Here is an example of Creating Dynamic Object and implementing Inheritance between a Static and a dynamic Object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UzN9IrIHAIY5nyU-DRr-sQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2cSdKv2paZkIuMxlph2uGg.png" /></figure><p><strong>Types of Inheritance:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/1*iKTNca6SuekEdILeeNM62A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*_ZeJvBdc_yKOHbQ08ho-pQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*fcy9C9Chq3kZKx7YXQjrpg.png" /></figure><p><strong>Note: </strong>Java Script doesn’t support multiple Inheritance, it only supports Multi Level Inheritance.</p><p>I will be coming with new articles.</p><p>Please stay tunned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46a0617bca6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced Java Script Concepts]]></title>
            <link>https://medium.com/@tejaswinisankuru/advanced-java-script-concepts-ca9184856c02?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca9184856c02</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Tue, 24 Apr 2018 06:47:17 GMT</pubDate>
            <atom:updated>2019-02-16T04:06:17.582Z</atom:updated>
            <content:encoded><![CDATA[<p>Hieee, let’s know some interesting concepts in Java script.</p><p>There are no ‘Advanced topics in Java script’, I just named it as Advanced, because I feel without these concepts, Java script learning will not come to an end. By the way, these are the most important concepts which will be asked by any Interviewer if you attend Interview.</p><p>I had prepared the below notes, to make you people understand concepts (considering freshers having zero knowledge on Java script).</p><p>Have a complete look on the guide below and ask questions in the Comments if you have any.</p><p>Let’s start!</p><p><strong>JSON Object with method or Behaviour:</strong></p><p>The keys been defined with in the JSON object are capable of holding any type of data type content supported by Java Script.</p><p>An object holds both the properties and the behavior, where the properties are defined as values, behaviors are defined as Methods or Functions.</p><p><strong>Syntax:</strong></p><pre>Var obj = {</pre><pre>Key1: value1,</pre><pre>Key2: value2,</pre><pre>— — — —</pre><pre>Keyn: function(){</pre><pre>— — — —</pre><pre>},</pre><pre>— — — -</pre><pre>}</pre><p><strong>“this” Operator:</strong></p><p>A predefined operator or a keyword indicates the current Object data.</p><p>While accessing the objects data(methods or properties) with in the object itself, we can access it through the object name or by using “this” operator.</p><p><strong>Example:</strong></p><p><strong>Write a program to work with Emp details like name, age, gender, dep, bsal. Calculate total salary as</strong></p><p><strong>TSal = bsal + HRA + pf, pf = 12% of bsal, HRA = 15% of bsal.</strong></p><p><strong>Calculate the total tax value, where total tax = 15% of Tsal.</strong></p><pre>&lt;script type = “text/javascript&gt;</pre><pre>Var empDetails = {</pre><pre>eName: ‘Teena’,</pre><pre>eAge: 23,</pre><pre>eGender: ‘Female’,</pre><pre>eDep: ‘IT’,</pre><pre>ebsal: 20,000</pre><pre>getpf: function(){</pre><pre>pf = 12 * (empDetails.ebsal/100);</pre><pre>}</pre><pre>getHRA: function(){</pre><pre>HRA = 15 * (empDetails.ebsal/100);</pre><pre>}</pre><pre>getTsal : function (){</pre><pre>Tsal = empDetails.ebsal + empDetails.getpf + empDetails.getHRA;</pre><pre>}</pre><pre>getTax: function(){</pre><pre>Tax = 15 * (empDetails.ebsal/100);</pre><pre>}</pre><p><strong>Inheritance:</strong></p><p>The process of extracting or inheriting the behaviors and methods of one object into another is called as Inheritance.</p><p>The newly update object having it’s own features along with capability of pointing to methods and properties of the parent object is called as Child object or Derived object.</p><p>The object from which child object has been derived is called as Parent Object or Base Object.</p><p><strong>Advantages of Inheritance:</strong></p><p>· Reusability of code</p><p>· Avoiding redundancy of code</p><p>Following are the different ways we can implement Inheritance in Js.</p><p>1. Inheritance between two Static Objects using <strong>_ _ proto _ _</strong>.</p><p>2. Inheritance between a static object and a dynamic object using <strong>object.create()</strong></p><p>3. Inheritance between two dynamic objects using <strong>prototype.</strong></p><p><strong>Exception Handling:</strong></p><p><strong>Exception:</strong></p><p>An error in the program (syntactical or dynamic error) which causes the break in the execution of the program.</p><p><strong>Exception Handling:</strong></p><p>Using which we could able to handle the errors been raised with in the code.</p><p>Following are the two types of error gets generated within an application.</p><p>1. Syntactical Errors and</p><p>2. Run time errors and dynamic errors.</p><p><strong>1. Syntactical Errors:</strong></p><p>The errors been raised due to not following the rules or instructions been given by the particular language are called as Syntactical Errors.</p><p><strong>E.g: </strong>Missing the closing brace for a function using a variable without declaration etc.</p><p><strong>2. Run time Errors or Dynamic Errors:</strong></p><p>The errors been raised dynamically while executing the program or application are called as Runtime errors.</p><p><strong>E.g.: </strong>1. Accessing a value from an Array from the index greater than the length,</p><p>2. Trying to get a value of an object with undefined key etc.</p><p>- Syntactical Errors are the errors which need to be for sure fixed in order to make the application to be executed. We cannot handle the syntactical errors exists within an application.</p><p>- Js provides a feature of handling run time errors, using which we can handle the set of instructions which causes the run time error.</p><p>- Using Exception handling process, we can handle the error been raised and continue the application execution flow.</p><p>Following are the predefined keywords been supported in Js, using which we can handle the errors been raised at run time.</p><p>1. Try</p><p>2. Catch</p><p>3. Finally</p><p>4. Throws</p><p><strong>1.</strong> <strong>Try Block:</strong></p><p>The set of instructions under which there is a chance of a dynamic exception get raised need to be placed under the Try block.</p><p><strong>2.</strong> <strong>Catch Block:</strong></p><p>The set of instructions to handle the error been raised with in the Try block has to be placed under Catch Block.</p><p>When an error gets raised within the Try block, the controller automatically jumps to the corresponding catch block to handle the exception been raised.</p><p><strong>3.</strong> <strong>Finally Block:</strong></p><p>While implementing exception handling, the set of instructions which need to be for sure executed, irrelevant of whether the exception has been raised or not, has to be placed under Finally block.</p><p><strong>Syntax:</strong></p><pre>try {</pre><pre>_ _ _</pre><pre>_ _ _</pre><pre>//set of instructions in which there is a chance of getting error.</pre><pre>} catch (&lt;optional err obj&gt;){</pre><pre>_ _ _</pre><pre>_ _ _</pre><pre>//set of instructions to handle the error been raised with in try block.</pre><pre>} finally {</pre><pre>_ _ _</pre><pre>_ _ _</pre><pre>//set of instructions which need to be for sure executed irrelevant of error been raised or not.</pre><pre>}</pre><p><strong>Note:</strong></p><p>1. We can have any number of try blocks with in an application.</p><p>2. For every Try block, mandatory there should be a corresponding Catch block.</p><p>3. Catch block should be the very next block after the Try block. In Js, we cannot overload Catch block (cannot add multiple catch Blocks for a single try block).</p><p>4. Finally statement or Finally Block should be the immediate block after the Catch Block.</p><p>5. If there is no error been raised with in the try block, execution of the Catch block will be skipped off.</p><p>How to handle User defined Exceptions, Inheritance between two static/ two dynamic/ one static and one dynamic will be explained in the later article.</p><p>Please stay tunned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca9184856c02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Experience as a Google India Challenge Scholarship Recipient 2018 :)]]></title>
            <link>https://medium.com/@tejaswinisankuru/my-experience-as-a-google-india-challenge-scholarship-recipient-2018-17f6548dc645?source=rss-e5c586233a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/17f6548dc645</guid>
            <category><![CDATA[udacity]]></category>
            <dc:creator><![CDATA[Teja Sankuru]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 07:17:49 GMT</pubDate>
            <atom:updated>2018-03-28T07:17:49.704Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*umjPq3BdaUTpjdAZfQOITQ.png" /></figure><p>In the month of December 2017, a friend of mine provided me link for Udacity Google India Challenge Scholarship Application. I opened Application form with excitement and filled my Interests and Details within 10–15 minutes. They mentioned Applications due date is February 1, 2018 and Recipients will be notified by February 8, 2018.</p><p>You know I can’t tell you people, I was the most excited. I kept on going through my filled Application form at least thrice in a week until 1st February (LOL…, just to check and update my skills if I missed any ;) ). Days passed on, I am glad it was 8th February. I was tensed thinking whether I will be getting Email from Udacity or not. I logged into my Udacity page and I was thrilled to see the message that <strong>Your Application form has been accepted! Congratulations from Udacity Team :)</strong></p><p>Next day, I got an email from Udacity Scholarships Team saying “<strong>Congratulations Tejaswini</strong>! Hi Tejaswini, We are excited to offer you a <strong>Google India Challenge Scholarship </strong>for the <strong>Front-End Web Developer track. </strong>We received applications from many talented and motivated candidates, and yours truly stood out.” This made my day!</p><p><strong>14th February, 2018:</strong></p><p>It was officially announced with all the related info. I was pretty excited, like everyone else and shared it on different platforms. I started course and revised topics which I completed few months before (which Udacity provided as a part of free courses).</p><p><strong>#Slack:</strong></p><p>I joined Slack channel on the same day, I was surprised to see many of the Scholarship recipients are from different back grounds. It is a nice platform where we can get instantaneous support from course mates. Technical doubts, normal conversations, motivational stuff are also exchanged here.</p><p>There are tremendous number of posts flooding in all the time, a learner can get more knowledge by questioning/answering doubts of other course mates.</p><p>Well! It is moderated all the time by assigned Channel moderators and Community. Udacity team also monitors the participants, they have certain Algorithms to track our performance it seems.</p><p><strong>#Announcements Channel:</strong></p><p>The most excited channel is #Announcements channel where Udacity team announces interesting updates and contents to apply if any. Recently a surprise email from Udacity appeared in my INBOX (Haha!… It was really exciting, Subject of the email is <strong>“Win a chance to attend the Google #IO18!”</strong>). Being a Udacity Scholar, a recipient can always get a chance to upskill themselves, interact with passionate technologist and also be a part of the world-renowned scholarship program. Apart from that they do provide chance to apply for Contents (Udacity Scholars are blessed, isn’t it??? ).</p><p><strong>Forum:</strong></p><p>Forum is the most formal platform of asking questions and interacting with others. Udacity mentors give feedback on our project works and they guide us as well. We can ask doubts and get clear from them. The same way we can interact and get feedback from course mates also. This is very helpful to go ahead.</p><p><strong>Udacity Course:</strong></p><p>I have been considering of beginning my journey into Web Development. I didn’t know where to begin exactly. There are many online resources available over Internet. I simply choosed Free code camp tutorials, it helped me. Though, I didn’t feel it’s enough. Later started exploring many online tutorials and U believe or not, Udacity is the best in throwing light on Student. I have done few free courses in Udacity, it really helped me to gain knowledge from the very basics. <strong>Thank you Udacity</strong> :)</p><p><strong>Scholarship Course:</strong></p><p>Course duration is 90 days. Since it began on 14th Febrauary (it’s Valantines day ;) ) last date to complete course is 14th May, 2018. Based on performance, out of 10K students top 350 will be awarded free 6 Month additional Nanodegree course.</p><p><strong>Two aspects which should be considered as a part of Scholarship:</strong></p><p><strong>1</strong>. <strong>Successful completion of course provided and successful attempts of Quizzes and Projects</strong>.</p><p>This is a valid mandatory check for Udacity Team to take to next step but still there is no reward for finishing early or first.</p><p><strong>2.</strong> <strong>Providing Support and being active on Forum/Slack:</strong></p><p>This makes a lot of sense. This doesn’t simply mean being online in Forum/Slack, this is not considered as active. Few may think, giving likes and copy pasting other mates responses in the comments section will work. (This even not considered as active, in fact it can be recorded as spam).</p><p>Our performance can be recorded, Udacity stores all the data they need from Discussion Forum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*fh3I-LardUywyRSAkIh42A.png" /></figure><p>So, now it’s time to work hard and give our best. It’s a challenge Scholarship, everyone wants to win in the challenge right! Try to be helpful rather than being a Spammer.</p><p><strong>Quality over Quantity. Keep coding and wait for 29th May ;)</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17f6548dc645" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>