<?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 Viplove on Medium]]></title>
        <description><![CDATA[Stories by Viplove on Medium]]></description>
        <link>https://medium.com/@vipl0ve?source=rss-d56dcef95290------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Viplove on Medium</title>
            <link>https://medium.com/@vipl0ve?source=rss-d56dcef95290------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 11:24:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vipl0ve/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[Chapter 4: Agile Methodology & Scrum Framework]]></title>
            <link>https://medium.com/@vipl0ve/chapter-4-agile-methodology-scrum-framework-859dddfa2ea1?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/859dddfa2ea1</guid>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[scrum]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Mon, 13 Sep 2021 16:55:16 GMT</pubDate>
            <atom:updated>2021-09-13T16:57:46.664Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is an Agile Methodology?</h3><p>Agile is a fast and iterative approach to software development that helps in delivering value to the customers quickly instead of delivering everything at once. In the world of the internet, there are rapid changes in customer requirements and market dynamics.</p><p><strong>What is another software development methodology?</strong></p><p>Waterfall methodology is another popular software development methodology that has a traditional approach to planning, building, and delivering in long cycles. These cycles typically are 4–6 months long. This approach applies to several industries/organizations like Airlines, Healthcare, Consumers which provide critical products to their customers. However, within the internet and software technology industry, the Agile methodology is the most popular approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*_Ez85-ny4W3x4z4g.png" /><figcaption>Waterfall Model</figcaption></figure><h3>Agile Software Development (ASD) Manifesto</h3><p>Agile methodology was built on twelve principles to provide values to the team/organization.</p><h3>The Twelve Principles for ASD</h3><blockquote><em>1. Customer satisfaction by early and continuous delivery of valuable software.<br>2. Welcome changing requirements, even in late development.<br>3. Deliver working software frequently (weeks rather than months)<br>4. Close, daily cooperation between business people and developers<br>5. Projects are built around motivated individuals, who should be trusted<br>6. Face-to-face conversation is the best form of communication (co-location)<br>7. Working software is the primary measure of progress<br>8. Sustainable development, able to maintain a constant pace<br>9. Continuous attention to technical excellence and good design<br>10. Simplicity — the art of maximizing the amount of work not done — is essential<br>11. Best architectures, requirements, and designs emerge from self-organizing teams<br>12. Regularly, the team reflects on how to become more effective, and adjusts accordingly</em></blockquote><h3>Four values of ASD</h3><blockquote><em>1. Individuals and interactions over processes and tools<br>2. Working software over comprehensive documentation<br>3. Customer collaboration over contract negotiation<br>4. Responding to change over following a plan</em></blockquote><h3>SCRUM</h3><p>Scrum is one of the most popular frameworks based on agile methodology. It assists in executing an agile mindset for developing, delivering, and consistently sustaining products. Scrum provides an approach to plan, build, deliver products to the customers in a lightweight, iterative and incremental manner. This creates a short feedback loop and adaption cycle. Agile also assist in cultivating a mindset to rapidly deliver values to the customers and to maintain a competitive edge in the market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*ZixanD1EmgZan_j3.png" /><figcaption>Scrum Framework for Software Development</figcaption></figure><h3>Scrum team</h3><p>Scrum is a small team of people, consisting of a product owner, a Scrum Master, and a development team including Developers (Devs), Testers(QAs), and Designers (UX). The team should be self-managing, cross-functional, and focuses on a single objective: the product goal.</p><h3>Product Owners/Product Managers</h3><p>The product owner, representing the product’s stakeholders and the voice of the customer, is responsible for delivering good business results. The product owner should focus on the business side of product development and spend the majority of time liaising with stakeholders and the team. Communication is a core responsibility of the product owner. The ability to convey priorities and empathize with team members and stakeholders is vital to steer product development in the right direction.</p><h3>Developers</h3><p>The developers carry out all work required to build increments of value for every sprint. The term developers refer to anyone who plays a role in the development and support of the system or product and can include researchers, architects, designers, data specialists, statisticians, analysts, engineers, programmers, and testers, among others.</p><h3>Scrum Master</h3><p>Scrum is facilitated by a scrum master, who is accountable for removing impediments to the ability of the team to deliver the product goals and deliverables. The scrum master ensures that the Scrum framework is followed by coaching the team in Scrum theory and concepts, often facilitating key sessions, and encourages the team to grow and to improve.</p><h3>Scrum Workflow</h3><p><strong>Create a scrum project</strong>: PM should create a scrum project for the respective project with the help of the scrum master.</p><p><strong>Create product roadmap: </strong>A product roadmap outlines the vision, direction, priorities, and progress of a product over time. It’s a plan of action that aligns the organization around short- and long-term goals for the product or project, and how they will be achieved<em>. </em>When used in agile development, Product managers use roadmaps to outline future product functionality and when new features will be released.</p><p><strong>Create user stories or tasks in the backlog and prioritize: </strong>One of the PM’s primary tasks during scrum is creating user stories. In an agile framework, user stories are the smallest units of work. User stories are generally written on behalf of a type of product user, their goals, and the benefit to the user.</p><blockquote><em>As a {type of user}, I want { goal} so that I { receive benefit}.</em></blockquote><p>Product owners should always focus on grooming the backlogs and prioritize the user story based on discussion with stakeholders and product roadmap to achieve the organization’s short- and long-term goals.</p><p><strong>Create a sprint: </strong>Under scrum, the product is built in a series of fixed-length iterations called sprints that give teams a framework for delivering the product on a continuous and consistent basis. These fixed-length iterations are called Sprint Cycle.</p><p>The Product Manager’s role is to create these sprint cycles and divides the user stories/tasks into sprint cycles to follow the product roadmap. The duration of a sprint cycle is different in many organizations and depends on their unique needs. A 2 or 3 weeks sprint cycle is a standard approach to cover the entire process of the Software Development Life Cycle(SDLC).</p><p>A 2 weeks (~10 days) sprint cycle will consist of 1 day of sprint planning, 5–6 days for Devs to build the feature collaborating with the UX team, the last 2–3 days will be focused on QA to test the features and raise bugs which will be resolved by the devs, and the final day is for QA to do complete testing and provide a final sign off.</p><p><strong>Day 1: Hold the sprint planning meeting:</strong> On the first day of an Agile Sprint, the PMs will collaborate with the Dev, UX, and QA teams during the Sprint meeting. In this meeting, they will analyze the resource availability, the features/tasks from the backlog, and any existing product bugs raised by customer/customer support. After analyzing and discussing with the team, PMs will assign the tasks to the developers. PMs will also provide an estimation for each task depending on the task complexity. Many times PMs will divide tasks into subtasks to provide clearer details to the Dev team and to calculate more accurate estimations. These estimations help in understanding current capability and measuring performance during multiple sprint cycles.</p><p><strong>Day 2–7</strong>: During the next 5–6 days, the developers will collaborate with PMs, UX, and QA to work on the tasks assigned during the sprint planning meeting. Once Devs complete their task, they commit their code change in the current sprint branch which is then pushed to a QA environment for testing. During this time, QA will work on creating manual or automated test cases and perform impact analysis of newly developed features.</p><p><strong>Day 8–9</strong>: QAs will perform feature level testings and document all the bugs found, and assign them to the respective Dev. Dev will work on fixing those bugs, and then push all the combined changes in the new build every EOD. In these 2–3 days, QAs and Dev will together test features and bugs on multiple builds to deliver a build with bug-free features.</p><p><strong>Day-10: </strong>Once all features are tested, all bugs are fixed by respective Devs, and QAs will perform regression testing, to make sure the changes will not impact any other module. Once all testings are completed, and all bugs are fixed, the QA will provide a final sign-off on the current sprint build.</p><p><strong>Daily Stand-up Meetings: </strong>Since Scrum utilizes Agile methodologies, communication within cross-functional teams is really important. Daily Stand-up meeting happens every morning and is primarily attended by PMs, Scrum Master, and development team. It’s a perfect place to share daily updates which are structured to answer the following questions —</p><blockquote><em>What did I complete yesterday?</em></blockquote><blockquote><em>What will I work on today?</em></blockquote><blockquote><em>Am I blocked by anything?</em></blockquote><p>This helps in reducing working in silos and keeps everyone aware of all the changes. It also helps to remove any roadblocks. It’s also a place for the team to craft solutions for any issues.</p><p><strong>Final Day:</strong></p><p><strong>Hold the sprint review meeting: </strong>During this meeting, the team will present a demo of the new incremental product to the stakeholders. Product Managers should collaborate with the stakeholders to receive their feedback on completed tasks, discuss the impact of any incomplete/canceled task, and suggestions for tasks on the upcoming sprint.</p><p><strong>Hold the product release:</strong> On the final day of the sprint cycle, the development team will work with the DevOps team to deploy the final build to the product server. This build is then successfully deployed on the virtual machine and along with all the configuration or database changes required. QAs then do a final feature/regression testing, and PMs will do a UAT testing to review all the changes.</p><p><strong>Hold the sprint retrospective meeting: </strong>During the sprint retrospective, the team should reflect on the past sprint and identifies and agrees on continuous process improvement actions.</p><p><strong>Backlog refinement:</strong> Even though the Product Manager should be refining the Backlog items throughout the sprint, the review and retrospective meetings help in providing various key feedbacks. Review meeting helps in receiving any key feedback from Stakeholders about current or upcoming features. Furthermore, retrospective meetings providing information about any improvements needed.</p><p>Communication is a key part of the Product Manager’s role. PM will announce releases and product status. The product manager will also communicate all the changes to necessary cross-functional teams including Customer support, Sales, Marketing.</p><h3>Key terms used with Scrum Framework</h3><h3>Product roadmap</h3><p>A product roadmap is a shared source of truth that outlines the vision, direction, priorities, and progress of a product over time. It’s a plan of action that aligns the organization around short- and long-term goals for the product or project, and how they will be achieved.</p><p><em>A product roadmap is a plan of action for how a product or solution will evolve. Product owners use roadmaps to outline future product functionality and when new features will be released.</em></p><h3>Stakeholders</h3><p>Stakeholders have a huge influence on the product development process. Product Owners frequently interact with the stakeholders to gain inputs and feedbacks to build a product that meets customer needs and business objectives. Typically, stakeholder includes customers, users, sponsors, and senior leadership. The major difference in customer and users is that customer is the one who pays for the product or service, whereas users are the one who actually uses it. Sponsors are an individual or the organization that provides resources and support for the project. These sponsors can be program managers or external stakeholders.</p><h3>Cross-functional teams</h3><p>Agile is fundamentally based on collaboration between cross-functional teams across departments. Communication, collaboration, adaptation, and trust amongst various teams are at the heart of agile.</p><p>Even though, Products are primarily built with the collaboration of product owners and the development teams including Front-end and Back-end Developers, Quality Assurance Testers, and UX Designers. Agile methodology to plan, build and deliver successful products incorporate various cross-functional teams.</p><p>The primary goal of all these teams is to successfully deliver the product to the customer. The Product Owner’s (PM) role is key to link all these teams together to drive the Product development cycle. PM focuses on communicating with each team to gain their unique perspectives, understand from their experiences, and best utilizing their skills to achieve the goal. The below pictures show how these cross-functional teams across departments are connected in the software development process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*Ei7fDTWDUe00Ycdx" /><figcaption>Cross-functional Team</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*0AwBpEJm70p-odJG.png" /><figcaption><a href="https://www.atlassian.com/agile/teams">https://www.atlassian.com/agile/teams</a></figcaption></figure><h3>Burndown Chart Metrics</h3><p>The Burndown Chart is a publicly displayed chart showing the remaining work. During the sprint cycle, it’s updated every day and provides quick visualizations of the amount of work remaining each day.</p><p>During sprint planning, the ideal burndown chart is plotted. Then, during the sprint, developers update the chart with the remaining work so the chart is updated day by day, showing a comparison between actual and predicted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*eFlk-E_d6syLlIFG.png" /><figcaption>Burndown Chart</figcaption></figure><h3>Velocity Metrics</h3><p>A team’s total capability effort for a single sprint, derived by evaluating work completed in the last sprint. The collection of historical velocity data is a guideline for assisting the team in understanding their capacity, i.e.: how much work they can comfortably achieve.</p><h3>Version control system</h3><p>A version control system is responsible for managing changes to projects including codes, files, and other collections of information. Version control systems like Git, SVN are used to track changes in files, display the history of changes that occurred, manage multiple versions of files, branches of the project.</p><h3>Continuous Integration/Delivery/Deployment</h3><p>Since Agile focuses on building products in a fast, iterative, and incremental manner, continuous integration/delivery/deployment helps in automating most of the process, so that the development team can concentrate on the actual tasks. Jenkins is a great tool for build a pipeline of automated tasks to achieve this practice.</p><p><strong>Continuous integration</strong></p><p>Developers practicing continuous integration merge their changes back to the main branch as often as possible. The developer’s changes are validated by creating a build and running automated tests against the build.</p><p><strong>Continuous delivery</strong></p><p>Continuous delivery is an extension of continuous integration since it automatically deploys all code changes to testing and/or production environments after the build stage.</p><p><strong>Continuous deployment</strong></p><p>Continuous deployment goes one step further than continuous delivery. With this practice, every change that passes all stages of your production pipeline is released to your customers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*0KJZ5fLv7znZ4onm" /><figcaption><a href="https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment">https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment</a></figcaption></figure><h3>Other Frameworks based on Agile Methodology</h3><p>Scrum is not the only framework team used when following Agile Methodologies. There are few notable frameworks</p><blockquote><em>Lean startup<br>Kanban<br>Rapid application development (RAD)<br>Scrumban<br>Scaled Agile Framework — SAFe</em></blockquote><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/"><em>viploveprakash.com</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=859dddfa2ea1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a web application in production in just six steps]]></title>
            <link>https://medium.com/@vipl0ve/deploy-a-web-application-in-production-in-just-six-steps-2aa23a797c23?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/2aa23a797c23</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Mon, 13 Sep 2021 12:09:28 GMT</pubDate>
            <atom:updated>2021-09-13T16:58:53.600Z</atom:updated>
            <content:encoded><![CDATA[<p>We all have a few passion web projects which we built, but very few are actually available on the internet. Most of those projects are in our local disk or uploaded on Github.</p><p>I have also built many projects over the years and uploaded them in a GitHub repository. Few projects were created as a hands-on learning project for new programming languages like Python and Typescript, or frameworks like React and Angular. However, there are also a few projects which I created to actually build a web solution to solve user problems.</p><p>Deploying these applications in production will not only be a great achievement for you but also a great learning/solution for others.</p><p>This article will help you in understanding how to deploy code in production in just 6 steps. It will also provide details about each step, a sample code based on an example, and finally various tools and services available for a simple, cost-effective process.</p><p>Some codes are based on the web application technology stack, but the information is applicable for every type of web application. Finally, for this article, I am using a MERN Stack web application (MongoDB, Express, React, and NodeJS) I have built as an example.</p><p>Web applications interact with clients using HTTP protocols, so it needs a web server that can understand the HTTP request sent by the clients and then send an HTTP response to the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*I8tAE6LBOP87S5N_.png" /></figure><blockquote><em>Check out the </em><a href="https://medium.com/@vipl0ve/web-application-architecture-800d3ecd8019"><em>Web application architecture</em></a><em> post if you want more details.</em></blockquote><h3>Step 1. Create a Virtual Machine</h3><p>Since Web servers need computation power to perform their task in a fast, successful, and consistent manner, Virtual Machines(VMs) becomes an integral part of Web Application Architecture.</p><p>Many cloud-based virtual machines provide just in time, cost-friendly solutions. One of the most popular options is Amazon EC2.</p><h3>How to create an Amazon EC2 VMs</h3><blockquote><em>— Select AWA EC2 Instance to create a virtual machine<br> — Select machine configuration — OS, Ram, Storage etc.<br> — Select network/secutrity protocols to connect with the VM — SSH 20, HTTP 3000, Node 5000<br> — Create a user for the VM — AWS automatically creates a user (Ec2user)<br> — Create a keypair for authentication and authorization — Public key(Saved in AWS) and Private key (Saved in local)</em></blockquote><h3>How to connect to the newly created Amazon EC2 VMs</h3><p><strong>Windows:</strong></p><blockquote><em>— Putty — SSH: 22 username PPK Key ipadress<br> — WinScp — SSH: 22 Username PPK Key ipadress</em></blockquote><p><strong>Linux/Mac:</strong></p><blockquote><em>— CMD Line — SSH:22</em></blockquote><p><strong><em>Web Browser:</em></strong></p><blockquote><em>— browser(http) — http 80 ipadress</em></blockquote><h3>Step 2. Install Web Server on the VM</h3><p>Web servers have the capability to communicate using HTTP Protocol. They can receive and process client requests and send responses back to the client.</p><p>There are many Web servers available in the market. Each web server has its own unique advantages. The most popular web servers are — Ngnix, Apache, IIS.</p><p><strong>Install Ngnix</strong></p><pre>sudo yum -y install nginx</pre><p><strong>Install Apache</strong></p><pre>sudo yum -y install httpd</pre><h3>Step 3. Set up an environment on the Web Server</h3><p>Again, this will depend on the technology stack of the web application.</p><h3>Step 4. Deploy web application code to the Web Server</h3><p>If I have only a front-end web application, then it’s a very simple step. Since front-end applications are static websites containing HTML, CSS, and JS, we don’t need to install additional libraries.</p><p>Even if you have built a front-end application using React or Angular, once you build the project, it merges and compresses all code into HTML, CSS, and JS and publishes it under the dist folder.</p><h3>Deploy a Front-end only Project</h3><blockquote><em>- Build the front-end project code in the local<br>- Update local server config to use the the right location for entry point<br>- Copy the dist/build code to server entry point<br>- start the local server service</em></blockquote><p><strong><em>Apache </em></strong><em>can be used for a front-end-only project. Entry point for Apache is located at /var/www/HTML.</em></p><p><strong><em>AWS S3</em></strong><em> can also be used to host a front-end-only project.</em></p><p><strong>Github pages </strong>can also <em>be used to host a front-end-only project for free.</em></p><pre>sudo su<br>yum update -y<br>yum -y install httpd<br>mv front-end-project/build/* /var/www/html<br>service httpd start</pre><h3>Deploy a back-end Project</h3><blockquote><em>- Install Node/npm (if applicable)<br>- Install Database (MongoDB if applicable)<br>- Install PM2 (production process manager for Node.js)<br>- Copy the back-end project code in the server using curl/git clone<br>- Install all project dependency<br>- Run the project forever using PM2<br>- Update local server config to use the the right location for entry point</em></blockquote><p><em>The above example is for a Nodejs, MongoDB back-end project. Instead of local MongoDB, MongoDB Atlas (a cloud DB solution) can also be used. Nginx is the most popular local web server option. Apache can be used for a static/front-end project.</em></p><h3>Step 5. Map the virtual machine Public IP address with a unique domain name</h3><blockquote><em>- Go to service where the domain name is registered<br>- Go to the DNS section, and create a new record to map the VM’s Public IP adress with the given domain name</em></blockquote><h3>Step 6. Access the web application</h3><p>Open Browser and go to the public IP address/registered domain name.</p><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/"><em>viploveprakash.com</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2aa23a797c23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Application Architecture]]></title>
            <link>https://medium.com/geekculture/web-application-architecture-800d3ecd8019?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/800d3ecd8019</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-server]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Mon, 13 Sep 2021 10:48:22 GMT</pubDate>
            <atom:updated>2021-10-12T14:19:26.998Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>What’s web application architecture?</strong></h4><blockquote>A web application architecture describes the layout of all the component of a web application and also highlights the interactions between various application components, third-party middleware systems, web services, and databases. This provides a snapshot of interaction between a number of applications working together simultaneously to provide service to end users.</blockquote><h4>The Difference Between Software Architecture And Software Design</h4><p><strong><em>Software architecture</em></strong> is highlights all the high-level components of a system and the interaction within them.</p><p><strong><em>Software design</em></strong><em> </em>is a code level design focusing on distributing application business logic into various modules with its own specific purposes. This helps in building and managing the application business logic.</p><h3>Web Application Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MbtHljK_Y-HT_KwwYmaQVQ.png" /><figcaption>Web Application Architecture Diagram</figcaption></figure><h4>User Agent</h4><p>User-Agents are primarily tools that help users to interact with a server. User primary interacts with a server using a web browser — Google Chrome, Firefox, Microsoft Edge, Safari, and mobile applications on — Android and IOS platforms. User Agent sends a request to the server and receives a response which is then shown to the user.</p><h4><strong>DNS</strong></h4><p>Domain Name Servers are like an address book for websites. Whenever a user send a request to web address using browser, the browser utilize the DNS to find the web server’s real address (IP Address) before it can send the request. The browser needs to find out which server the website lives on, so it can send HTTP requests to the right place.</p><h4>Load Balancer</h4><p>Load Balancer primarily deals with horizontal scaling. It directs the incoming requests to one of the multiple servers, and the load balancer then sends the response which it receives from these servers to the user. Usually, web application servers exist in the form of multiple copies mirroring each other to provide consistency and availability. The load balancer distributes tasks among them. It works well alongside server auto-scaling.</p><h4>Virtual Machine</h4><p>In computing, a <strong>virtual machine</strong> (<strong>VM</strong>) is the virtualization/emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination.</p><h4>Web Server</h4><p>Webserver processes a user’s request and sends a response that includes data (HTML, JSON, XML, etc.) back to a browser. Web servers hosted on a virtual machine utilize computation power provided by VMs to perform their tasks. A web server usually refers to back-end infrastructures such as database, cache server, job queue, and others.</p><h4>Databases</h4><p>The database provides tools for organizing, adding, searching, updating, deleting, and performing computations on the data. There are generally relational databases — MySQL, PostgreSQL, Microsoft SQL Server, Oracle Database, and Microsoft Access, etc and non-relational databases — MongoDB, Dynamo DB, etc.</p><h4>Caching Service</h4><p>Caching service provides storage for data, which allows storing and searching data. Caching allows you to refer to the previous result to make computation much faster. Caches can be applied and leveraged throughout various layers of technology including Operating Systems, Networking layers including Content Delivery Networks (CDN) and DNS, web applications, and Databases.</p><blockquote>Client-Side — HTTP Cache Headers, Browsers<br>DNS — DNS Servers<br>Web — HTTP Cache Headers, CDNs, Reverse Proxies, Web Accelerators, Key/Value Stores<br>App — Key/Value data stores, Local caches<br>Database — Database Cache, buffers, Key/Value data stores</blockquote><h4>Content Delivery Network(CDN)</h4><p>A content delivery network, or content distribution network (CDN), is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially relative to end-users. CDNs serve a large portion of the Internet content including web objects (text, graphics, and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social media sites.</p><h4>External Storage</h4><p>External Storages are used to store assets including images, videos, documents, and other large files. In many cases, there are also operations performed on these files. Example — Youtube auto converts videos uploaded by users in multiple resolutions. Facebook converts user images and videos into a mobile-friendly format. Because storing these data on a VM local disk can be costly and can consume large computation resources, they are generally stored in external storage. Cloud Storage is one of the most popular options.</p><p><strong>Cloud storage</strong> is a cloud computing model that stores data on the Internet through a cloud computing provider that manages and operates data storage as a service. It’s delivered on-demand with just-in-time capacity and costs and eliminates buying and managing your own data storage infrastructure</p><h4>Web Services</h4><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><p>Web services use SOAP (Simple Object Access Protocol) for sending the XML data between applications. The data is sent over HTTP Request. The data which is sent from the web service to the application is called a SOAP message. The SOAP message is nothing but an XML document. Since the document is written in XML, the client application calling the web service can be written in any programming language.</p><p>There are mainly two types of web services.</p><ol><li>Simple Object Access Protocol or SOAP web services.</li><li>Representational State Transfer or REST web services.</li></ol><h4>Data Warehouse</h4><p>Data Warehouse is a system used for reporting and data analysis and is considered a core component of business intelligence. Every modern application collects, stores, and analyzes data. DWs are central repositories of integrated data from one or more disparate sources. They store current and historical data in one single place that is used for performing business intelligence and for creating analytical reports for the enterprise.</p><p>The two main approaches used to build a data warehouse system are Extract, transform, load (ETL), and extract, load, transform (ELT).</p><p>These three required processes are —</p><blockquote><strong>Extract</strong>: Extract data from multiple sources.<br><strong>Transform</strong>: Transform the data including cleaning, margin, and categorizing.<br><strong>Load</strong>: Loading the data in storage for data warehousing.</blockquote><h3>Models of Web Application Components</h3><p>There are only three models of web application components. It’s closely related to the number of services and databases used for a web application. Here they are:</p><ul><li><em>One Web Server, One Database</em></li><li><em>Multiple Web Servers, One Database</em></li><li><em>Multiple Web Server, Multiple Databases</em></li><li><em>Applicaton Services</em></li></ul><p>The three so-called “Monolithic” models are due to their server’s rigid and stable nature. In contrast, application services (microservices and serverless) tend to be agile since they simplify upgrades and scaling. Applying this model allows splitting up web servers into smaller parts: ‘services’ in microservices and ‘functions’ in serverless. Thus, modifying and scaling independently using each of them is easier.</p><h3>Web Application Architecture Best Practices</h3><p>The principal criteria for building a reliable application architecture:</p><ul><li>Efficient</li><li>Flexible</li><li>Reusable</li><li>Easily testable</li><li>Solves problems consistently and successfully</li><li>With well-structured and understandable code</li><li>Scalable in the development process</li><li>Have fast response times</li><li>Doesn’t crush</li><li>Doesn’t have a single point of failure</li><li>Simple</li><li>Uses go-to security standards</li></ul><p>Useful resources:</p><p><a href="https://www.youtube.com/watch?v=Z3SYDTMP3ME&amp;list=WL&amp;index=7&amp;t=5s">https://www.youtube.com/watch?v=Z3SYDTMP3ME</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZ3SYDTMP3ME%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZ3SYDTMP3ME&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZ3SYDTMP3ME%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dcc5ba41289aa3de315b537146a0d802/href">https://medium.com/media/dcc5ba41289aa3de315b537146a0d802/href</a></iframe><p><a href="https://en.wikipedia.org/wiki/Web_application">https://en.wikipedia.org/wiki/Web_application</a></p><blockquote>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on <a href="https://twitter.com/vipl0ve">Twitter</a>, <a href="http://linkedin.com/in/viploveprakash">LinkedIn</a> or <a href="https://github.com/vipl0ve">GitHub</a> and checkout my website <a href="http://viploveprakash.com/">viploveprakash.com</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=800d3ecd8019" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/web-application-architecture-800d3ecd8019">Web Application Architecture</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12 mins review of Java before coding Interview]]></title>
            <link>https://medium.com/@vipl0ve/5-mins-review-before-java-coding-interview-af7151214c8b?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/af7151214c8b</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technical-interview]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 05:04:16 GMT</pubDate>
            <atom:updated>2021-09-07T15:44:48.055Z</atom:updated>
            <content:encoded><![CDATA[<h3>Interview Prep: 12 mins review before Java coding Interview</h3><h3>Collections in Java</h3><p>The Collection interface (<strong>java.util.Collection</strong>) and Map interface (<strong>java.util.Map</strong>) are two main root interfaces of Java collection classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aOprtaL86mTOIvIu8C5iWg.png" /></figure><p>A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following −</p><ul><li><strong>Interfaces</strong> − These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.</li><li><strong>Implementations, i.e., Classes</strong> − These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures.</li><li><strong>Algorithms</strong> − These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface.</li></ul><p>Collection : Root interface with basic methods like add(), remove(), <br> contains(), isEmpty(), addAll(), … etc.<br> <br><strong>Set </strong>: Doesn’t allow duplicates. Example implementations of Set <br> interface are HashSet (Hashing based) and TreeSet (balanced<br> BST based). Note that TreeSet implements SortedSet.</p><p><strong>List </strong>: Can contain duplicates and elements are ordered. Example<br> implementations are LinkedList (linked list based) and<br> ArrayList (dynamic array based)</p><p><strong>Queue </strong>: Typically order elements in FIFO order except exceptions<br> like PriorityQueue.</p><p><strong>Deque </strong>: Elements can be inserted and removed at both ends. Allows<br> both LIFO and FIFO.</p><p><strong>Map </strong>: Contains Key value pairs. Doesn’t allow duplicates. Example<br> implementation are HashMap and TreeMap. <br> TreeMap implements SortedMap.</p><p>The difference between Set and Map interface is, in Set we have only<br>keys, but in Map, we have key value pairs.</p><blockquote>Legacy classes defined by java.util have been discussed below −</blockquote><ul><li><strong>Vector</strong>: This implements a dynamic array. It is similar to ArrayList, but it is synchronized and slow.</li><li><strong>Stack</strong>: Stack is a subclass of Vector that implements a standard last-in, first-out stack.</li><li><strong>Dictionary</strong>: Dictionary is an abstract class that represents a key/value storage repository and operates much like Map.</li><li><strong>Hashtable</strong>: Hashtable was part of the original java.util and is a concrete implementation of a Dictionary.</li><li><strong>Properties</strong>: Properties is a subclass of Hashtable. It is used to maintain lists of values in which the key is a String and the value is also a String.</li><li><strong>BitSet</strong>: A BitSet class creates a special type of array that holds bit values. This array can increase in size as needed.</li></ul><h3>Java List Interface</h3><h4>ArrayList class</h4><p>ArrayList class uses a dynamic array for storing the elements. It inherits AbstractList class and implements List interface.</p><ul><li>Can contain duplicate elements</li><li>Maintains an insertion order</li><li>Non synchronized</li><li>Allows random access, work on index basis</li><li>Manipulation is slow because a lot of shifting needs to be occurred if any element is removed from the array list.</li></ul><pre>// creating new ArrayList<br>ArrayList&lt;String&gt; al=<strong>new</strong> ArrayList&lt;String&gt;();</pre><h4>LinkedList class</h4><p>Java LinkedList class uses doubly linked list to store the elements. It provides a linked-list data structure. It inherits the AbstractList class and implements List and Deque interfaces.</p><ul><li>Can contain duplicate elements</li><li>Maintains insertion order</li><li>Non synchronized</li><li>Manipulation is fast because no shifting needs to be occurred</li><li>Can be used as list, stack or queue.</li></ul><pre>// creating new LinkedList<br>LinkedList&lt;String&gt; al=<strong>new</strong> LinkedList&lt;String&gt;();</pre><h3>Java Set Interface</h3><h4>HashSet class</h4><p>Java HashSet class is used to create a collection that uses a hash table for storage. It inherits the AbstractSet class and implements Set interface.</p><ul><li>Stores the elements by using a mechanism called <strong>hashing</strong></li><li>Contains unique elements only</li></ul><pre>// creating new LinkedList<br> HashSet&lt;Book&gt; set=<strong>new</strong> HashSet&lt;Book&gt;();</pre><h4>LinkedHashSet class</h4><p>Java LinkedHashSet class is a Hash table and Linked list implementation of the set interface. It inherits HashSet class and implements Set interface.</p><ul><li>Contains unique elements only like HashSet</li><li>Provides all optional set operations, and permits null elements.</li><li>Maintains insertion order</li></ul><pre>// creating new TreeSet<br>LinkedHashSet&lt;Book&gt; hs=<strong>new</strong> LinkedHashSet&lt;Book&gt;();</pre><h4>TreeSet class</h4><p>Java TreeSet class implements the Set interface that uses a tree for storage. It inherits AbstractSet class and implements NavigableSet interface. The objects of TreeSet class are stored in ascending order.</p><p>The important points about Java TreeSet class are:</p><ul><li>Contains unique elements only like HashSet.</li><li>Access and retrieval times are quiet fast.</li><li>Maintains ascending order.</li></ul><pre>// creating new TreeSet<br>Set&lt;Book&gt; set=<strong>new</strong> TreeSet&lt;Book&gt;();</pre><h3>Java Queue Interface</h3><blockquote>boolean add(object) — It is used to insert the specified element into this queue and return true upon success.</blockquote><blockquote>boolean offer(object) — It is used to insert the specified element into this queue.</blockquote><blockquote>Object remove() — It is used to retrieves and removes the head of this queue.</blockquote><blockquote>Object poll() — It is used to retrieves and removes the head of this queue, or returns null if this queue is empty.</blockquote><blockquote>Object element() — It is used to retrieves, but does not remove, the head of this queue.</blockquote><blockquote>Object peek() — It is used to retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.</blockquote><h4>PriorityQueue class</h4><p>The PriorityQueue class provides the facility of using queue. But it does not orders the elements in FIFO manner. It inherits AbstractQueue class.</p><p>The elements in PriorityQueue must be of Comparable type. String and Wrapper classes are Comparable by default. To add user-defined objects in PriorityQueue, you need to implement Comparable interface.</p><pre>// creating new TreeSet<br>Queue&lt;Book&gt; queue=<strong>new</strong> PriorityQueue&lt;Book&gt;();</pre><h3>Java Deque Interface</h3><p>Java Deque Interface is a linear collection that supports element insertion and removal at both ends. Deque is an acronym for <strong>“double ended queue”.</strong></p><h4>ArrayDeque class</h4><p>The ArrayDeque class provides the facility of using deque and resizable-array. It inherits AbstractCollection class and implements the Deque interface.</p><ul><li>Unlike Queue, we can add or remove elements from both sides.</li><li>Null elements are not allowed in the ArrayDeque.</li><li>ArrayDeque is not thread safe, in the absence of external synchronization.</li><li>ArrayDeque has no capacity restrictions.</li><li>ArrayDeque is faster than LinkedList and Stack.</li></ul><pre>//Creating Deque and adding elements  <br>Deque&lt;String&gt; deque = new ArrayDeque&lt;String&gt;();</pre><h3>Java Map Interface</h3><p>A map contains values on the basis of key i.e. <strong>key and value pair</strong>. Each key and value pair is known as an entry. Map contains only unique keys.</p><blockquote>Object put(Object key, Object value) — It is used to insert an entry in this map.</blockquote><blockquote>void putAll(Map map) — It is used to insert the specified map in this map.</blockquote><blockquote>Object remove(Object key)It is used to delete an entry for the specified key.</blockquote><blockquote>Object get(Object key)It is used to return the value for the specified key.</blockquote><blockquote>int size() — It is used to return the number of key-value mappings in this map.</blockquote><blockquote>boolean containsKey(Object key)It is used to search the specified key from this map.</blockquote><blockquote>boolean containsValue(Object value) — It is used to return true if this map maps one or more keys to the specified value.</blockquote><blockquote>boolean isEmpty() — It is used to return true if this map contains no key-value mappings.</blockquote><blockquote>Set keySet()It is used to return the Set view containing all the keys.</blockquote><blockquote>Set entrySet()It is used to return the Set view containing all the keys and values.</blockquote><h4>Map.Entry Interface</h4><p>Entry is the sub interface of Map. So we will be accessed it by Map.Entry name. It provides methods to get key and value.</p><blockquote>Object getKey()It is used to obtain key.</blockquote><blockquote>Object getValue()It is used to obtain value.</blockquote><h4>Java HashMap class</h4><p>Java HashMap class implements the map interface by using a hashtable. It inherits AbstractMap class and implements Map interface.</p><ul><li>A HashMap contains values based on the key.</li><li>It contains only unique elements.</li><li>It may have one null key and multiple null values.</li><li>It maintains no order.</li></ul><p># HashMap can also be synchronized using the following code</p><p>Map m = Collections.synchronizedMap(hashMap);</p><pre>//Creating HashMap<br> HashMap&lt;Integer, Book&gt; map=<strong>new</strong> HashMap&lt;Integer, Book&gt;();</pre><pre><strong>for</strong>(Map.Entry&lt;Integer, Book&gt; m:map.entrySet()){<br>     <strong>int</strong> key=entry.getKey();<br>     Book b=entry.getValue();<br>     System.out.println(key+&quot; Details:&quot;);<br>     System.out.println(b.id+&quot; &quot;+b.name+&quot; &quot;+b.author+&quot; &quot;+b.publisher+&quot;      &quot;+b.quantity);<br> }</pre><h4>Java LinkedHashMap class</h4><p>Java LinkedHashMap class is Hash table and Linked list implementation of the Map interface, with predictable iteration order. It inherits HashMap class and implements the Map interface.</p><p>The important points about Java LinkedHashMap class are:</p><ul><li>A LinkedHashMap contains values based on the key.</li><li>It contains only unique elements.</li><li>It may have one null key and multiple null values.</li><li>It is same as HashMap instead maintains insertion order.</li></ul><pre>//Creating LinkedHashMap<br> LinkedHashMap&lt;Integer,String&gt; hm=<strong>new</strong> LinkedHashMap&lt;Integer,String&gt;();</pre><h4>Java TreeMap class</h4><p>Java TreeMap class implements the Map interface by using a tree. It provides an efficient means of storing key/value pairs in sorted order.</p><ul><li>A TreeMap contains values based on the key. It implements the NavigableMap interface and extends AbstractMap class.</li><li>It contains only unique elements.</li><li>It cannot have null key but can have multiple null values.</li><li>It is same as HashMap instead maintains ascending order.</li></ul><pre>//Creating TreeMap<br> TreeMap&lt;Integer,String&gt; hm=<strong>new</strong> TreeMap&lt;Integer,String&gt;();</pre><h4>Java Hashtable class</h4><p>Java Hashtable class implements a hashtable, which maps keys to values. It inherits Dictionary class and implements the Map interface.</p><ul><li>A Hashtable is an array of list. Each list is known as a bucket. The position of bucket is identified by calling the hashcode() method. A Hashtable contains values based on the key.</li><li>It contains only unique elements.</li><li>It may have not have any null key or value.</li><li>It is synchronized.</li></ul><pre>//Creating Hashtable<br> Hashtable&lt;Integer,String&gt; hm=<strong>new</strong> Hashtable&lt;Integer,String&gt;();</pre><h3>Java CharSequence Interface</h3><p>In java, string is basically an object that represents sequence of char values. The CharSequence interface is used to represent sequence of characters. It is implemented by String, StringBuffer and StringBuilder classes. It means, we can create string in java by using these 3 classes.</p><p>The java String is immutable i.e. it cannot be changed. Whenever we change any string, a new instance is created. For mutable string, you can use StringBuffer and StringBuilder classes.</p><pre><strong>char</strong>[] ch={&#39;j&#39;,&#39;a&#39;,&#39;v&#39;,&#39;a&#39;,&#39;t&#39;,&#39;p&#39;,&#39;o&#39;,&#39;i&#39;,&#39;n&#39;,&#39;t&#39;};<br>String s=<strong>new</strong> String(ch);</pre><h4>Java String class</h4><p>An array of characters works same as java string. The java.lang.String class implements <em>Serializable</em>, <em>Comparable</em> and <em>CharSequence</em> interfaces.</p><h4>Note: String objects are stored in a special memory area known as string constant pool.</h4><blockquote>The String equals() method compares the original content of the string. It compares values of string for equality.</blockquote><blockquote>The = = operator compares references not values</blockquote><blockquote>The String compareTo() method compares values lexicographically and returns an integer value that describes if first string is less than, equal to or greater than second string</blockquote><h4>Java StringBuffer class</h4><p>Java StringBuffer class is used to create mutable (modifiable) string. The StringBuffer class in java is same as String class except it is mutable i.e. it can be changed.</p><h4>Note: Java StringBuffer class is thread-safe i.e. multiple threads cannot access it simultaneously. So it is safe and will result in an order.</h4><h4>Java StringBuilder class</h4><p>Java StringBuilder class is used to create mutable (modifiable) string. The Java StringBuilder class is same as StringBuffer class except that it is non-synchronized.</p><h3>Immutable class</h3><p>There are many immutable classes like String, Boolean, Byte, Short, Integer, Long, Float, Double etc. In short, all the wrapper classes and String class is immutable. We can also create immutable class by creating final class that have final data members as the example given below</p><pre><strong>char</strong>[] ch={&#39;j&#39;,&#39;a&#39;,&#39;v&#39;,&#39;a&#39;,&#39;t&#39;,&#39;p&#39;,&#39;o&#39;,&#39;i&#39;,&#39;n&#39;,&#39;t&#39;};<br><strong>public</strong> <strong>final</strong> <strong>class</strong> Employee{<br>   <strong>final</strong> String pancardNumber;<br>   <strong>public</strong> Employee(String pancardNumber){<br>      <strong>this</strong>.pancardNumber=pancardNumber;<br>   }</pre><pre><strong>   public</strong> String getPancardNumber(){<br>       <strong>return</strong> pancardNumber;<br>   }</pre><h4>Java toString() method</h4><p>By overriding the toString() method of the Object class, we can return values of the object, so we don’t need to write much code.</p><pre><strong>public</strong> String toString(){//overriding the toString() method<br>   <strong>return</strong> rollno+&quot; &quot;+name+&quot; &quot;+city;<br>}</pre><h4>StringTokenizer in Java</h4><p>The <strong>java.util.StringTokenizer</strong> class allows you to break a string into tokens. It is simple way to break string. It doesn’t provide the facility to differentiate numbers, quoted strings, identifiers etc. like StreamTokenizer class.</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){<br>    StringTokenizer st = <strong>new</strong> StringTokenizer(&quot;my name is khan&quot;,&quot; &quot;);<br>    <strong>while</strong> (st.hasMoreTokens()) {<br>        System.out.println(st.nextToken());<br>    }<br>}</pre><h4>Reverse String in Java</h4><p><strong>Using StringBuilder / StringBuffer</strong></p><pre><strong>public</strong> <strong>static</strong> String reverseString(String str){<br>   StringBuilder sb=<strong>new</strong> StringBuilder(str);<br>   sb.reverse();<br>   <strong>return</strong> sb.toString();<br>}</pre><p><strong>Reverse Iteration</strong></p><pre><strong>public</strong> <strong>static</strong> String reverseString(String str){<br>   <strong>char</strong> ch[]=str.toCharArray();<br>   String rev=&quot;&quot;;<br>   <strong>for</strong>(<strong>int</strong> i=ch.length-1;i&gt;=0;i--){<br>      rev+=ch[i];<br>   }<br>   <strong>return</strong> rev;<br>}</pre><h3>Java Conversion</h3><p>To convert String to int in java<strong> </strong>using <em>Integer.parseInt()</em> method.</p><p>To convert String into Integer, we can use <em>Integer.valueOf()</em> method which returns instance of Integer class.</p><h3>Iterator</h3><p>Iterator helps one cycle through the elements in a collection. An iterator can be implemented though either the Iterator or the ListIterator interface.</p><blockquote><strong>Iterator </strong>enables one to cycle through a collection, obtaining or removing elements. <strong>ListIterator </strong>extends Iterator to allow bidirectional traversal of a list, and the modification of elements</blockquote><p>Follow these steps to use an iterator to cycle through the contents of a collection −</p><ul><li>Call the collection’s iterator( ) method — to obtain an iterator</li><li>Set up a loop that makes a call to hasNext( ). Have the loop iterate as long as hasNext( ) returns true.</li><li>Within the loop, obtain each element by calling next( ).</li></ul><pre><strong>// Use iterator to display contents of al</strong><br>      System.out.print(&quot;Original contents of al: &quot;);</pre><pre>Iterator itr = al.iterator(); //obtain an iterator<br>      <br>      while(itr.hasNext()) {    //create a loop<br>         Object element = itr.next();<br>         System.out.print(element + &quot; &quot;);<br>      }</pre><pre><strong>// Modify objects being iterated</strong><br>      ListIterator litr = al.listIterator();<br>      <br>      while(litr.hasNext()) {<br>         Object element = litr.next();<br>         litr.set(element + &quot;+&quot;);<br>      }<br>      System.out.print(&quot;Modified contents of al: &quot;);<br>      itr = al.iterator();<br>      <br>      while(itr.hasNext()) {<br>         Object element = itr.next();<br>         System.out.print(element + &quot; &quot;);<br>      }<br>      System.out.println();</pre><pre><strong>// Now, display the list backwards</strong><br>      System.out.print(&quot;Modified list backwards: &quot;);<br>      <br>      while(litr.hasPrevious()) {<br>         Object element = litr.previous();<br>         System.out.print(element + &quot; &quot;);<br>      }</pre><h4>Iterator Methods</h4><blockquote><strong>boolean hasNext( )</strong> — Returns true if there are more elements. Otherwise, returns false.</blockquote><blockquote><strong>Object next( ) </strong>— Returns the next element. Throws NoSuchElementException if there is not a next element.</blockquote><blockquote><strong>void remove( ) </strong>— Removes the current element. Throws IllegalStateException if an attempt is made to call remove( ) that is not preceded by a call to next( )</blockquote><h4>ListIterator Methods</h4><blockquote><strong>void add(Object obj) — </strong>Inserts obj into the list in front of the element that will be returned by the next call to next( ).</blockquote><blockquote><strong>boolean hasNext( ) — </strong>Returns true if there is a next element. Otherwise, returns false.</blockquote><blockquote><strong>boolean hasPrevious( ) — </strong>Returns true if there is a previous element. Otherwise, returns false.</blockquote><blockquote><strong>Object next( ) — </strong>Returns the next element. A NoSuchElementException is thrown if there is not a next element.</blockquote><blockquote><strong>int nextIndex( ) — </strong>Returns the index of the next element. If there is not a next element, returns the size of the list.</blockquote><blockquote><strong>Object previous( ) — </strong>Returns the previous element. A NoSuchElementException is thrown if there is not a previous element.</blockquote><blockquote><strong>int previousIndex( ) — </strong>Returns the index of the previous element. If there is not a previous element, returns -1.</blockquote><blockquote><strong>void remove( ) — </strong>Removes the current element from the list. An IllegalStateException is thrown if remove( ) is called before next( ) or previous( ) is invoked.</blockquote><blockquote><strong>void set(Object obj) — </strong>Assigns obj to the current element. This is the element last returned by a call to either next( ) or previous( ).</blockquote><h3>Sorting in Collection</h3><p>Sorting can be done on the Collections with elements of —</p><ul><li>String objects</li><li>Wrapper class objects ( mentioned below)</li><li>User-defined class objects</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*tXJ8jGwlxkrJBOQjACjDrQ.png" /></figure><h3>Java Comparable interface</h3><p>This interface is found in<strong><em> java.lang </em></strong>package and contains only one method named compareTo(Object). It provide single sorting sequence only i.e. one can sort the elements based on single data member only. <strong>One should implement Comparable interface and then Override the compareTo method.</strong></p><pre>ArrayList&lt;String&gt; al = <strong>new</strong> ArrayList&lt;String&gt;();<br>Collection.sort(al);<br>Collections.reverse(al);</pre><blockquote><strong>public void sort(List list):</strong> is used to sort the elements of List. List elements must be of Comparable type.</blockquote><blockquote><strong>public void reverse(List list):</strong> is used to reverse sort the elements of List. List elements must be of Comparable type.</blockquote><p><strong><em>Note: String class and Wrapper classes implements Comparable interface by default. So if you store the objects of string or wrapper classes in list, set or map, it will be Comparable by default.</em></strong></p><pre>// User defined object should be Comparable<br>class Student implements Comparable&lt;Student&gt;{  <br> int rollno;  <br> String name;  <br> int age;  <br> Student(int rollno,String name,int age){  <br>  this.rollno=rollno;  <br>  this.name=name;  <br>  this.age=age;  <br> }</pre><pre>// override compareTo function<br> public int compareTo(Student st){  <br>  if(age==st.age)  <br>   return 0;  <br>  else if(age&gt;st.age)  <br>   return 1;  <br>  else  <br>   return -1;  <br>  }  <br>}</pre><h3>Java Comparator interface</h3><p><strong>Comparator i</strong>s used to order the objects of user-defined class. This interface is found in java.util package and contains two methods: compare( ) and equals( ). It provides multiple sorting sequence i.e. one can sort the elements on the basis of any data member.</p><pre>int compare(Object obj1, Object obj2)</pre><blockquote><strong>public int compare(Object obj1,Object obj2):</strong> compares the first object with second object.</blockquote><blockquote><strong>public void sort(List list, Comparator c):</strong> is used to sort the elements of List by the given Comparator.</blockquote><p>Here objects obj1 and obj2 are compared. This method returns zero if the objects are equal. It returns a positive value if obj1 is greater than obj2. Otherwise, a negative value is returned.</p><p>By overriding compare( ), one can alter the way that objects are ordered.</p><h3>The equals Method</h3><pre>boolean equals(Object obj)</pre><p>The equals( ) method, shown here, tests whether an object equals the invoking comparator. obj is the object to be tested for equality. The method returns true if obj and the invoking object are both Comparator objects and use the same ordering. Otherwise, it returns false. Overriding equals( ) is unnecessary</p><pre>class Student implements Comparable&lt;Student&gt;{  <br> int rollno;  <br> String name;  <br> int age;  <br> Student(int rollno,String name,int age){  <br>  this.rollno=rollno;  <br>  this.name=name;  <br>  this.age=age;  <br> }<br>}</pre><p>AgeComparator.java</p><pre>import java.util.*;  <br>class AgeComparator implements Comparator{  <br> public int compare(Object o1,Object o2){  <br>  Student s1=(Student)o1;  <br>  Student s2=(Student)o2;  <br>    <br>  if(s1.age==s2.age)  <br>   return 0;  <br>  else if(s1.age&gt;s2.age)  <br>   return 1;  <br>  else  <br>   return -1;  <br> }  <br>}</pre><p>NameComparator.java</p><pre>import java.util.*;  <br>class NameComparator implements Comparator{  <br> public int compare(Object o1,Object o2){  <br>  Student s1=(Student)o1;  <br>  Student s2=(Student)o2;  <br>    <br>  return s1.name.compareTo(s2.name);  <br> }  <br>}</pre><p>Main.java</p><pre>ArrayList al=new ArrayList();  <br>al.add(new Student(101,&quot;Vijay&quot;,23));  <br>al.add(new Student(106,&quot;Ajay&quot;,27));  <br>al.add(new Student(105,&quot;Jai&quot;,21));  <br>  <br>System.out.println(&quot;Sorting by Name...&quot;);  <br>  <br>Collections.sort(al,new NameComparator());  <br>  <br>System.out.println(&quot;sorting by age...&quot;);  <br>  <br>Collections.sort(al,new AgeComparator());</pre><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/"><em>viploveprakash.com</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af7151214c8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn about Marketing Tech — DSP, SSP, and Ad Exchange in 3 mins]]></title>
            <link>https://medium.com/@vipl0ve/learn-about-marketing-tech-dsp-ssp-and-ad-exchange-in-3-mins-ef9523f8ff4c?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef9523f8ff4c</guid>
            <category><![CDATA[marketing-technology]]></category>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[programmatic]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Fri, 06 Apr 2018 05:53:11 GMT</pubDate>
            <atom:updated>2018-04-06T05:58:18.710Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learn about Marketing Tech — DSP, SSP, and Ad Exchange in 3 mins</h3><p>An advertiser reaches a member of a publisher’s audience in some way and pays for that opportunity. Publisher’s audience can engage with the advertiser content in many different ways possible. Hence, the publishers use various advertising models to earn money.</p><p>The ecosystem consists of three parties</p><ul><li>Advertisers — who want to publish their ads</li><li>Publishers — who are engaging specific audiences through content etc.</li><li>Audience — who are engaging with the publisher’s content.</li></ul><p>Now, we know about all the parties involved in this transactions, let’s understand how these three parties interact with each other.</p><h3>Marketplace</h3><p>There are many systems in place which act as a marketplace for the demand and supply between advertisers and publishers. To get a better understanding of the marketplace, let’s get a better understanding of the platforms used by advertisers and publishers</p><h4>DSP — Demand-side platforms</h4><p>DSP enables advertisers to access ad platforms and bid on the publisher’s audience.</p><h4>SSP — Supply-side platforms</h4><p>SSP enables publishers to share their ad inventory where advertisers can publish their ads.</p><h4>Marketplace platforms (Ad Exchange)</h4><p>This is the central marketplace which upon receiving a request from the SSP will interact with the DSP, iterate through all the bids/campaigns from the advertisers, select the best possible bid and publish it on the publisher’s platform.</p><h3>Programmatic Buying</h3><p>Now, we have a basic idea of how the supply and demand works, let’s focus on the different categories of ad buying —</p><blockquote><strong>Guaranteed Direct</strong> — The advertiser buys directly negotiates with the publishers’s sales team. This is a one-one relationship between publishers and advertisers. This is also a guaranteed and reserved buying.</blockquote><blockquote><strong>Private Marketplace (PMP) </strong>— The advertiser buys from an Ad network on a pre-negotiated price. Both publishers and advertiser want to find the right match. This is a one-one relationship between publishers and advertisers. This is a non-guaranteed and unreserved buying.</blockquote><blockquote><strong>Private Exchange</strong> — Participation is restricted to selected advertisers. This is auction based buying. This is a one-few relationship between publishers and advertisers. This is an auction and unreserved buying.</blockquote><blockquote><strong>Open Auction</strong> — All advertisers and publishers can participates. The advertiser buys audiences from Ad exchanges via a Demand side Platform. This is a one-all relationship between publishers and advertisers. This is a non-guaranteed and unreserved buying.</blockquote><h3>The different form of advertisements</h3><p>The advertisers can publish the different type of ads</p><blockquote><strong>Display advertising</strong></blockquote><blockquote><strong>Video advertising</strong></blockquote><blockquote><strong>Search advertising</strong></blockquote><p>A publisher uses an ad model to earn money from an advertiser. A publisher will employ the ad model which best suit its audience, their interest, engagement level and other behaviors. There are many types of ad models; however, this post covers only the most popular ones. All other models are an extended version of these models.</p><h3>Impressionism-Based</h3><blockquote><strong>CPM </strong>— “cost per mille”: A publisher will charge a flat rate for one thousand displays, or impressions, for an advertisement from the advertiser</blockquote><h3>Time-Based</h3><blockquote>CPH — “cost per hour”: A publisher will charge a hourly flat rate for an advertisement from the advertiser</blockquote><h3>Performance-Based</h3><blockquote><strong>CPC </strong>— “cost per click”: A publisher will charge whenever someone in the publisher audience click on the advertisement from the advertiser</blockquote><blockquote><strong>CPL </strong>— “cost per lead”: A publisher will charge whenever someone in the publisher audience views advertisement from the advertiser, click on the ad and takes a further action to become a qualified lead</blockquote><blockquote><strong>CPA </strong>— “cost per acquisition”: A publisher will charge whenever someone in the publisher audience completes a sales using advertisement from the advertiser</blockquote><p>Now, let’s focus on advertisers. Advertisers will build a campaign/bids based on its requirement and then share with the publishers using direct relationship, ad network or ad exchange.</p><p>The use cases for an advertiser to create a campaign are —</p><ul><li>Re-targeting or Re-marketing</li><li>Lead Generation</li><li>Highly Responsive</li><li>Branding</li><li>Customer Journey Assisted Sales</li><li>Enhancing existing performance marketing</li></ul><p>Finally, there are various campaigns created by an advertiser based on its requirements. The most popular categories are mentioned below —</p><blockquote>Personalized</blockquote><blockquote>Targeting — Geo, contextual and behavioral targeting</blockquote><blockquote>Attribution</blockquote><blockquote>Cross-channel</blockquote><blockquote>Cross-platform</blockquote><p>Hope this illustration helped in providing a basic level of understanding of marketing technology stack. In the next post, I will cover the analytics and reporting behind this and also share more information on campaign optimization.</p><blockquote>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on <a href="https://twitter.com/vipl0ve">Twitter</a>, <a href="http://linkedin.com/in/viploveprakash">LinkedIn</a> or <a href="https://github.com/vipl0ve">GitHub</a> and checkout my website <a href="http://viploveprakash.com/">viploveprakash.com</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef9523f8ff4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[20 success metrics every Product Manager must know!]]></title>
            <link>https://medium.com/@vipl0ve/20-success-metrics-you-must-know-46fd9a9883a8?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/46fd9a9883a8</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[product-metrics]]></category>
            <category><![CDATA[product-manager]]></category>
            <category><![CDATA[product-strategy]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Tue, 03 Apr 2018 03:29:17 GMT</pubDate>
            <atom:updated>2018-04-05T04:02:03.672Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Did your product succeed in the market?</blockquote><p>It does not matter if one is actively involved in the product development including —development, designing, QA, product management teams, or passively involved in the product development including — sales, marketing, executives and other share holders, the biggest question which always will be in the mind — <strong>“will the product succeed?”</strong></p><blockquote>How can one measure the success of a product?</blockquote><p>Well, here are a list of all the important metrics which one should always monitor. Product’s success can depend on the company’s vision and business goals, but one should analyze these metrics to define the success.</p><h3>Users engagement metrics:</h3><ul><li>Daily Active Users (DAU)</li><li>Monthly Active Users (MAU)</li><li>Average Number of Session per User (ASPU) — one can also use median</li><li>#key user actions per session</li><li>Retention Rate</li><li>Churn Rate</li></ul><h3><strong>Business Metrics</strong></h3><ul><li>Customer Acquisition Cost (CAC)</li><li>Lifetime Value (LTV)</li><li>Monthly Recurring Revenue (MRR)</li><li>Annual Recurring Revenue (ARR)</li><li>Average Revenue per User (ARPU)</li><li>Average Revenue per Daily Active User (ARPDAU)</li></ul><h3>Marketing Metrics</h3><ul><li>Organic traffic vs Paid traffic</li><li>Referral/channels</li><li>Conversion ratio</li></ul><h3>Technology Metrics</h3><ul><li>#bugs raised</li><li>#support ticket raised</li><li>#support ticket closed</li><li>#feature+bugs released</li><li>Net Promoter Score</li></ul><p>These are the top 20 metrics to look at in the products. There are few other metrics which vary based on the type of the product or the platform of the product. I will add the platform or product specific metrics in the next post.</p><blockquote>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on <a href="https://twitter.com/vipl0ve">Twitter</a>, <a href="http://linkedin.com/in/viploveprakash">LinkedIn</a> or <a href="https://github.com/vipl0ve">GitHub</a> and checkout my website <a href="http://viploveprakash.com/">viploveprakash.com</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46fd9a9883a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Questions to ask before raising funds for start-up]]></title>
            <link>https://medium.com/@vipl0ve/3-questions-to-ask-before-raising-funds-for-start-up-8368f47e3aaf?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/8368f47e3aaf</guid>
            <category><![CDATA[kickstarter]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[angel-investors]]></category>
            <category><![CDATA[venture-capital]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Tue, 26 Sep 2017 01:19:18 GMT</pubDate>
            <atom:updated>2017-09-26T06:47:50.266Z</atom:updated>
            <content:encoded><![CDATA[<p>Start-up founders’ biggest problem is to <strong>raise the fund</strong> to run the business or grow the company. Entrepreneur need money at every stage of a start-up. They use the money to either invest in technology or marketing, improve logistics, buy supplies or simply pay themselves a salary. While working with a network of Angel Investors and Venture Capital firms, I have assessed more than 100 investment pitch deck and have performed due-diligence. A lot of time I have seen Investors turning down offers because the entrepreneurs were not well prepared.</p><p>I am writing this blog to share the <strong>three most important questions</strong> you should ask your team before thinking about raising funds. These questions will help you prepare and increase your chances to seal the deal. Every start-up is unique and has different demands, however, this guide will be helpful for everyone.</p><h3><strong>Question 1: Whom should I ask for money?</strong></h3><p>One of the most important questions which should come to your mind. The first stage should always be to ask your <strong>family and friends (f&amp;f)</strong>. The investors value the company more if the entrepreneur own investment is also involved.</p><p>If you just have an idea or basic prototype of the product then you should not give away ownership of your company in early stages till you actually understand the actual worthiness of your company. If you believe that idea is really cool and will be popular among general population then you should use the <a href="https://www.kickstarter.com/"><strong>Kickstarter</strong></a><strong> </strong>platform to raise the fund. Almost 30% of the investment in the startup ecosystem is happening through Kickstarter. You should not ignore this opportunity.</p><p>If you are in the <strong>early/pre-seed stages</strong> then <strong>Angel Investors</strong> is the best option. Angel investors want to not only invest their money but also invest their time and expertise within the company. If your company is in early stages and need some expert advice then Angel Investors are the best mentor you can get. They will also help you in exploring opportunities using their network.</p><p>Finally, if your business is already running and earning revenue then <strong>Venture Capital (VC)</strong> firms are the answer to your problems. VC firms are more disciplined investors with a narrow focus on a particular industry or location. You should check those investment policies, and if your company satisfy those criteria then only you should pitch in front of those VCs.</p><h3><strong>Question 2: How much money should I ask?</strong></h3><p>One should put a great emphasis on finding the amount of fund needed to be raised. Most entrepreneurs get excited when they <strong>raise a large amount of money</strong> during the funding. Even though this bring some positive attention to the company, this can be disastrous for the company. If a company raises more than expected then it shows that the company was not aware of the actual use of funds. The entrepreneur ends up selling a bigger part of the company in a really early stage. This also adds extra pressure on the company to perform to match the market valuation. Finally, this <strong>overvaluation creates a problem</strong> in future rounds of funding if the company has not grown enough to match the value. Remember, <strong>Snap, Inc</strong>?</p><h3><strong>Question 3: What information should be there in my pitch book?</strong></h3><p>The Investment pitch book is really important. All the impression the investors has is based on the information provided in the book. It should<strong> answers all the important questions in the investors’ mind</strong>. Here are few questions which investors want in a pitch book.</p><ul><li><strong>Problem Statement</strong> — What problem are you planning to solve and whether the problem is worth solving?</li><li><strong>Market opportunities</strong> — What is the market you are planning to address? What is future market growth? Also, the quantitative values for TAM, SOM, and SAM.</li><li><strong>Management Team</strong> — Whether the management team have enough industry expertise and have exit experiences?</li><li><strong>Use of Funds</strong> — Where are you going to invest the money? This shows whether the team has the good business skills</li><li><strong>Competitive Advantage </strong>— What competitive advantage your company has? Any IP or strategic partnership?</li><li><strong>Exit Plans</strong> — What are the potential exit plans? After all investors need return on their money, right?</li><li><strong>Financial Projections</strong> — The accuracy of the financial projections is not the biggest concern because it is really difficult and changes frequently with the strategy. The Investors want to know what is the growth plan and what is the underline assumption behind the projection.</li></ul><p><strong>Bonus Question: What other information investors look for when they hear the investment pitch?</strong></p><p>I have been involved in a fair share of investors meetings, and I have seen a variety of investment pitches. Nothing is perfect, however I have seen many <strong>smart entrepreneurs missing the investment opportunity</strong> because of some silly mistake. If you want the perfect deal then you have to have <strong>the prefect investment pitch</strong>.</p><ul><li><strong>Commitment </strong>— Entrepreneurs should show that they are really committed towards the business. The investors want them to be full commitment and <strong>focus on the business full-time</strong>. An investor does not want to put money on someone who is not fully committed.</li><li>Accepting Criticism/Failure — A lot of entrepreneurs do not agree when someone raises any issue in the business plan or overall strategy. They become overprotective. Investors have seen hundreds of deals and can easily sense if there is an issue. So, instead of arguing against that and <strong>ruining your relationship with the investors</strong>, you should focus on answering how the funds will help you solve those problems. The investors only want to invest in someone whom they can also mentor.</li></ul><p>Based on my experiences, these questions have helped the entrepreneurs to be better prepared. This <strong>solves the biggest roadblock</strong> to your success.</p><p>I am also adding a list of top angel investors, venture capital and Private equity firms in the bottom of the article. Once you are ready then go ahead and start raising funds to grow your business.</p><p>Top Venture Capital — <a href="https://www.cbinsights.com/research/top-venture-capital-partners/">https://www.cbinsights.com/research/top-venture-capital-partners/</a></p><p>Top Private Equity Firm — <a href="https://www.privateequityinternational.com/pei/pei300/">https://www.privateequityinternational.com/pei/pei300/</a></p><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/"><em>viploveprakash.com</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8368f47e3aaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 2: Love the Problem]]></title>
            <link>https://medium.com/@vipl0ve/chapter-1-love-the-problem-238dc59ae85e?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/238dc59ae85e</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[ishikawa-diagram]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Sat, 06 May 2017 03:10:30 GMT</pubDate>
            <atom:updated>2021-09-07T15:17:54.469Z</atom:updated>
            <content:encoded><![CDATA[<p>I promised you that you will fall in love with the problem. I am no Love expert, but to fall in love with someone you should know a lot of things about them. Most questions which comes to my mind are favorite music and movies, Netflix or Running, Beer or Whiskey, Meat or Vegan.</p><p>But when you think about a problem you do not have these parameter to categories. We have aimless chains of thoughts about the root causes, and we all have realized that this is not the right way to be successful. The blog will help you in organizing your thoughts. This is your Stairway to Heaven.</p><h4>The first step is to gather more information about the problem. What are the root causes for the problem? You can’t solve the problem if you do not know the root causes. Right?</h4><p>But how can we do that in a simple way?</p><p><a href="https://en.wikipedia.org/wiki/Ishikawa_diagram"><strong>Fishbone Diagrams</strong></a><strong> </strong>comes<strong> </strong>from the planet Krypton for your rescue. Created by <a href="https://en.wikipedia.org/wiki/Kaoru_Ishikawa">Kaoru Ishikawa</a>, <strong>Fishbone Diagram</strong> which is also known as <strong>Ishikawa diagram</strong> is a visualization tool for categorizing the potential causes of a problem in order to identify its root causes.</p><p>During initial phase, it is important to identify and categorize all potential factors which are causing the problem. Then you can focus on which categories of root causes are you planning to tackle.</p><p>One of the most popular example which I am sharing here is to find the root causes behind all the missed free throws during a Basketball game. After all, not all of us are Stephen Curry. Right?</p><p>It is best to have people from different industry or functions because they all think about a same problem in a different way. First, we should figure out all the major categories behind this problem. For a missed Free-Throw, it can be the player, the ball, the shooting style, the weather and the machines. Adding few more categories which not only change your fish to shark but also provide you a more detailed information about the problem. Second, you should add all the reasons or root causes under their specific categories.</p><p>A Typical Fishbone diagram looks like this —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*eTBSrbHKXCa5EI3u.gif" /><figcaption><strong>Fishbone Diagrams: Missed Free-Throws in Basketball</strong></figcaption></figure><p>This detailed analysis will help you decide which categories to focus on while solving the problem. I generally pick the root causes which I most of passionate about or I have more expertise on because the only I can build something meaningful. For example, someone from Adidas will focus on the ball or the player and a coach will focus more on the shooting style. So, it varies from your expertise, experiences and vision.</p><p>Great! After struggling for hours and thinking about all the causes, now you are a living Wikipedia about all the root causes behind the problem. Should we jump right into the building a product for the solution? NOPE!</p><p>You only have a glimpse of what the actual problem is all about.</p><p><strong>The next step would be to verify the information and test your hypothesis. Why? You are not making this product for yourself, right? Well, then you should always understand the pain of those who will actually use your products. Who are they?</strong></p><p>Customers! This diagram will help you in defining your vision. Once you know which category you are focusing on then you can think about your customers under that categories. Again back to the same example. If you are form Adidas then all the gaming organizers and retail stores are your customers. Being emphatic to your customers will actually help you understand whether there is any need for a solution or not.</p><p>The next steps are inspired by the design thinking methodologies which were developed by the <a href="https://dschool.stanford.edu/">Stanford d.School</a>. Yes, Stanford has a school just for all the creative innovators. Talk about innovation.</p><p>Check out my next part <a href="https://medium.com/@vipl0ve/design-thinking-4624f9027eb5"><em>Chapter 3: Design Thinking</em></a><em>.</em></p><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/"><em>viploveprakash.com</em></a><em>.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=238dc59ae85e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 3: Design Thinking]]></title>
            <link>https://medium.com/@vipl0ve/design-thinking-4624f9027eb5?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/4624f9027eb5</guid>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[stanford-d-school]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Tue, 02 May 2017 04:27:34 GMT</pubDate>
            <atom:updated>2021-09-07T15:17:02.081Z</atom:updated>
            <content:encoded><![CDATA[<p>Design thinking. A term which is gaining more popularity than the <a href="https://en.wikipedia.org/wiki/Keeping_Up_with_the_Kardashians"><strong><em>Kardashians</em></strong></a>. Do not believe it? <em>Design Thinking</em> is implementing at every innovative workplace around the globe. This is so big that Stanford has opened a <a href="https://dschool.stanford.edu/"><strong>d.School</strong></a> to just focus on <em>Design Thinking</em>. I hope now you have my attention.</p><p>Now you must be thinking that what makes <em>Design Thinking</em> so popular. Let me tell you what is <em>Design Thinking</em>, and why is it so popular. <em>Design Thinking</em> is a methodology used by creative designers to solve complex problems, and find desirable solutions for clients. <em>Design Thinking</em> incorporates the best of all popular methodologies including <a href="https://en.wikipedia.org/wiki/Lean_startup"><em>Lean Startup</em></a>, <a href="https://en.wikipedia.org/wiki/Agile_software_development"><em>Agile</em></a> and <a href="https://en.wikipedia.org/wiki/Customer_relationship_management"><em>Customer Relationship Management</em></a>.</p><h3>Design Thinking lets you build a product focused on customers needs in multiple but fast iterations through eliminating all unnecessary waste.</h3><p>This is the zest of Design Thinking. There are 5 major steps in a Design Thinking process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*37zLj8Lrbcfw8fOV.jpg" /><figcaption>Design Thinking</figcaption></figure><p><strong>Empathize</strong>. This is the first step where you will be interacting with all your potential customers. If you are thinking what is the point to go to a customer when you do not have any product, then you are not alone.</p><p>However, talking with your <strong>customers </strong>is the best way to verify all your assumptions and test your hypothesis. Since they are the whole reason why you are building this product, you should always make them your priority. Also, empathizing with the customers will help you understand their problems, their frustration, the work around they are using to solve the problem.</p><p>First step would be to interview your customers. Always try to cover various segment and demographics to get a more broad idea. Since this interview is your first conversation with the customers so be very open and receptive. You should ask the customers about their experience with the problem and hear everything they say. The most frustrated customers are generally the one who provide most information (not always though).</p><p>The next step would be to schedule another interview with few of those customers to dig deeper in all those challenging and engaging insights you found during the first interview.</p><p>The final step would be to capture all those important insights and deduce the actual <strong>Customer’s Need</strong> (Problems which they are most frustrated about and the thing for which they do not have an good work around) and any other <strong>Insights </strong>or new learning from the whole process.</p><p><strong>Define</strong>. Defining a problem statement is the most crucial part of design thinking. You are deciding on which problem you want to solve and why.</p><p>The <em>problem statement</em> should focus on fill in the blanks for the below statements.</p><blockquote>_______________ (customer) needs a way to __________ (customer’s need). Unexpectedly in his/her world, _______________. (insights)</blockquote><p>Once you fill this sentence, this will help you in defining the problem statement in a simpler way.</p><p><strong>Ideate</strong>. Now, you are at the most creative and innovative part of the process. You will create few <strong>sketches </strong>which you think will meet your user’s needs in any radical ways.</p><blockquote>Why sketches? Every time I say sketches, I hear someone shouting that they really suck at sketching. Lucky for those this step will be an added advantages.</blockquote><p>This is a stage where you draw numerous sketches with all your wild imagination. But this is also the stage where you will gather a lot of initial feedback about the product from your customers. Having a messy sketch will only instigate them to ask more questions about your product. Moreover, people will feel more comfortable providing feedback looking at the sketches than looking at the actual product. The reason is people do not feel comfortable calling all your hard-work, a<strong> Failure</strong>.</p><p>This is also the time to share your solutions and capture the customers feedback. But remember, the way you answer their questions is also really important. You should not answer all their questions instantneously but rather ask them what answers are they expecting from the product. For example: if they ask you where is the menu then you should ask where you think it should be. This will help you gain more insights about the customers expectation from the product.</p><p>Then reflect of those insights and keep revising your sketch to generate a new product. Iterate based on feedback is the key for success. Remeber it is better to create 100 messy sketches than to create one failed product.</p><p><strong>Prototype. </strong>Building a prototype is the most exciting part of design thinking. You will have the opportunity to finally build the solution you long wanted. However, the equally important part of this process to test your product among your custoemrs. After all they are the one whole will be buying it. A lot of people have different defination for prototypes. Few think of prototypes as just a demo product however, other think of prototypes as</p><p>There are two major types of prototypes. The Form prototype looks more like the final product or service but it doesn’t perform at all. The Function prototype operates similar to the final product or service but it doesn’t look like the final product. Both prototype has its own advantages. Form prototype will help you gather information about the user experiences and the look and feel, and the function prototype will help in gathering more information about the product’s functionalities.</p><p><strong>Test. </strong>In most situations, prototyping and testing the product with the customers is an combined and iterative process. You should share your solution with the customers and get their feedback about the product. This phase will help you gather following information about the product. What worked in the product, What could be improved, Do the customer have questions and finally, Do the customers have any idea.</p><p>You will build an prototype and then test the product and keep reiterating it till you find your MVP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*OWDEXqo3NQZQX1vAQLNWFw.png" /></figure><p>Hurrah! You have your MVP ready. In the real world, this whole process can take weeks or even months. But you should not feel disappointed. As promised, I am here to help you find everything you need.</p><p>Here comes our next hero <strong>Agile</strong> who will help us understand and measure the process efficiency of all the iterations. It will also help us plan and prioritize the features. My new blog will be available soon.</p><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> or checkout my website </em><a href="http://viploveprakash.com/">viploveprakash.com</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4624f9027eb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 1: Innovation— Ain’t so difficult (Lean Startup)]]></title>
            <link>https://medium.com/@vipl0ve/innovation-aint-so-difficult-3fdea1ee1ae?source=rss-d56dcef95290------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fdea1ee1ae</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[lean-startup]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[creative-confidence]]></category>
            <dc:creator><![CDATA[Viplove]]></dc:creator>
            <pubDate>Mon, 01 May 2017 05:04:40 GMT</pubDate>
            <atom:updated>2021-09-07T15:20:27.120Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFuWDxj8Vf4SPhYYx9L5Gg.png" /></figure><p>We all want to build something innovative and cool. We all want to follow the path of <em>Steve Jobs</em> or <em>Bill Gates</em> or (if they are too old for you then) <em>Mark Zuckerberg</em>. Just like these <a href="https://www.entrepreneur.com/article/200524">innovators</a>, you want to revolutionize the world as well. According to <em>Eric Ries</em>, the author of <a href="https://www.amazon.com/Lean-Startup-Entrepreneurs-Continuous-Innovation/dp/0307887898">Lean Start-up</a> — a methodology for developing businesses and products, an Entrepreneur needs passion, disciple and strategy for success. Most of the companies are also focusing on innovation and creating an atmosphere for the rise of Intrepreneurs. Entrepreneur or Intrepreneurs, you will be always be a part of innovation.</p><p>And the best way to learn about innovation is by actually doing it. We all need the answer for the “<strong><em>where to begin</em></strong>” questions. You are at the right place. Through a series of blogs, I will share my learning and experience which will provide you the tool needed to build something <strong>INNOVATIVE</strong>.</p><p>First, let me give you a brief introduction about myself. I brand myself as a Rookie Entrepreneur with a lot of passion for designing innovative and creative products. Why should you read a blog written by a mere rookie? Well, I have been in a position where I wanted to do something big and innovative but I did not have the right tool or experience. I read a lot about Design Thinking, Lean Start-up, Agile and 1000 other similar methodologies, but still I had no idea where to start. If you are or were in a similar position then this blog will be the right place to begin your Journey. I have assembled a tool kit in a series of blogs combining concepts and executions from all methodologies which will be your <em>Sam </em>for your journey to the <a href="https://en.wikipedia.org/wiki/Sindarin">Sindarin</a> or to become a creative innovator.</p><p><strong>Do you want to change the world by building a creative and innovative solution to a problem or need? … Yes??</strong></p><p>Understanding each part of this <strong>question</strong> is the secret key to be an awesome innovator. Amazed? Interestingly, whenever I ask this question to people, I always get a higher count of <strong>YESES </strong>in a middle school than in a Graduate school. Why young children show more creativity and ambition than an experienced MBA graduate? The answer lies behind one of the most interesting book, <a href="https://www.creativeconfidence.com/">Creative Confidence</a>. The Kelley brothers from the IDEO group, which is one of the most innovative company, provide the reason behind the lack of creative confidence. Luckily, they also shared a <a href="https://www.amazon.com/Creative-Confidence-Unleashing-Potential-Within/dp/038534936X/ref=sr_1_1?ie=UTF8&amp;qid=1490703423&amp;sr=8-1&amp;keywords=creative+confidence">book</a> which talks about the strategy on how to tackle this problem.</p><p>However, I am tackling problems beyond creative confidence. I believe that each one of us has the right mindset, skills, creativity and passion needed to be an innovator. I am here to share the right path to achieve your dream.</p><p>With an assumption that everyone has creativity and innovation in them, I will remove those two words from the above question, the remaining part of the question is</p><blockquote><strong>build a solution to a customer’s problem or need</strong></blockquote><p>A lot of us do not realize that understanding the <strong>customer’s problem or need </strong>is more important than the solution itself. Yes, exactly, the PROBLEM! I still remember a line which my professor, Joe Bailey, told us on the first day of the Entrepreneurship and Innovation class.</p><blockquote>Fall in love with the <strong>problem </strong>and work hard on solving it.</blockquote><p>He is absolutely right about it. You should be in love with the problem and then only you will be passionate enough to actually solve it.</p><p>Want to know, how can you fall in love the problem in a day, just like how Jack fell in love with Rose on the deck of Titanic. Check out my next part <a href="https://medium.com/@vipl0ve/chapter-1-love-the-problem-238dc59ae85e"><em>Chapter 2: Love the Problem</em></a><em>.</em></p><blockquote><em>If you want to uncover few more mysteries behind all the success in Silicon Valley, please follow me on </em><a href="https://twitter.com/vipl0ve"><em>Twitter</em></a><em>, </em><a href="http://linkedin.com/in/viploveprakash"><em>LinkedIn</em></a><em> or </em><a href="https://github.com/vipl0ve"><em>GitHub</em></a><em> and checkout my website </em><a href="http://viploveprakash.com/">viploveprakash.com</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fdea1ee1ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>