<?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 upGrad on Medium]]></title>
        <description><![CDATA[Stories by upGrad on Medium]]></description>
        <link>https://medium.com/@upgrad_tech?source=rss-9f820f2482bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dsZHyPenMf9XmdgHLV1vBA.png</url>
            <title>Stories by upGrad on Medium</title>
            <link>https://medium.com/@upgrad_tech?source=rss-9f820f2482bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:38:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@upgrad_tech/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[upGrad’s Virtual Hackathon — 2020]]></title>
            <link>https://medium.com/technology-at-upgrad/upgrads-virtual-hackathon-2020-182ef579fc96?source=rss-9f820f2482bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/182ef579fc96</guid>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[mvp]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[upgrad]]></category>
            <dc:creator><![CDATA[upGrad]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 06:05:23 GMT</pubDate>
            <atom:updated>2021-06-11T09:52:45.306Z</atom:updated>
            <content:encoded><![CDATA[<h3>upGrad’s Virtual Hackathon — 2020</h3><h4>An Event Where Innovations Came to Life!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gDbncWd7lPUusT8qORttvw.jpeg" /></figure><p>Over a year of being struck by the worldwide pandemic and the resulting work from home situation, we have realised the importance of constant communication and working together to solve real-world challenges. We are now accustomed to remote working and are coordinating and creating solely on virtual platforms. Hackathons are the events where the unthinkable is achieved, and innovations are born. They also encourage us to put our brains to work and develop something that can solve genuine challenges. Hackathons are also hubs for networking. This year’s hackathon was a bit different at upGrad — with everyone working remotely, it was a challenging feat by the organizing committee to bring everyone together, online, and execute each step of the event with perfection.</p><p>We conducted a 36-hour long <em>virtual hackathon</em> in December 2020. It was upGrad’s first-of-its-kind remote event that was a massive success.</p><h3>Pre-event Excitement</h3><p>It all started with the organizing committee floating out forms to accept the innovative ideas a few weeks before the hackathon.<strong> </strong>We received over 60 interesting ideas, out of which a total of 15 ideas were selected on the hackathon day. The 15 selected ideas were pitched, and the final voting was conducted, out of which the top 8 ideas were selected. The participants who had pitched the selected ideas were declared as captains of the teams.</p><h3><strong>The Hack Begins</strong></h3><p>The teams were formed, and they rigorously worked to develop the solutions pitched earlier. Team formation was one of the most fun and essential parts of the whole hackathon. An IPL-style auction was held for team formation where captains placed bids for people to include them in their team. Separate rooms were set up for each team to chat and brainstorm on their solution.</p><p>To create a synonymous environment as that of an office, the teams had 15–20 minute chai breaks between work. We would meet up in an open meeting link and chat about random things. Regular checkpoints were organized for the captains to connect and share their progress and concerns. One checkpoint was at the beginning of the day, and the next was at the end of the day. The teams were developing their products at a rapid pace, and many of them completed their MVPs. True enough, <strong>hackathons</strong> are the fastest way to bring<strong> ideas</strong> to life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_FephzgvVxs9LHw7racUw.jpeg" /><figcaption>Stills from the Hackathon Zoom Call</figcaption></figure><p>The teams continuously worked hard from research to building an MVP of their solutions. The best thing was that even after the hackathon being a competition, all the teams were helping out each other and networking. A team plays an indispensable role in developing an idea to reality. It was astonishing how teams consisting of participants from different competencies came together and built solutions to solve real-world challenges.</p><p>The teams very well leveraged each other’s strengths. They identified their problem statements, developers, designers, and business minds worked out to develop the perfect solution. The outcomes were indeed impressive.</p><h3>The Final Demo</h3><p>It all boiled down to the 5-minute presentation of the final day. After <em>36 hours</em> of non-stop development and fun, at 5 PM on day 2, the captains presented their final MVPs before the judging panel in innovative ways. A quick question–answer round was held after each presentation for judges to understand more about the<strong> </strong>ideas and clarify their doubts. Out of 8 teams, five winners were chosen instead of three. There was a tie between the 2nd and 3rd positions. The judges were highly impressed. They appreciated their hard work and gave constructive feedback to the teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6yWvRs9Wvf1wq486Q8tn9w.jpeg" /><figcaption>Stills from the Final Demo Call</figcaption></figure><h3>The Judges and Judgement Criteria</h3><p>The hackathon was judged by genius minds Rohit Dhar, President — Products at upGrad, and Puneet Tanwar, President — Technology at upGrad.</p><p>Rohit leads the entire Product, Data Science, Analytics, and Design teams. With his vast experience, he was able to critically analyze the innovative products developed by the teams.</p><p>Puneet, who leads the technology vertical at upGrad, has over 20 years of software development expertise. With his expertise in software and experience in leadership, he analysed the technical and practical feasibility of the MVPs and ideas.</p><p>The judgment was made on five parameters, including clarity of vision and roadmap of further development, user experience and ease, the complexity of implementation, completeness of the MVP, and the overall presentation.</p><p>The hackathon was a fun-filled, exciting event for the entire product and technology team at upGrad. The annual hackathon provided the team a platform to make their ideas a reality, <em>experiment</em>, and innovate in the field of ed-tech which is a promising domain right now. Even after the hackathon fatigue, the participants were still full of adrenaline and discussed ideas and further development.</p><p>Over the last year, upGrad has increased its team size and is looking forward to expanding even more. upGrad believes that online learning can transform one’s career. Online education is especially advantageous to those who don’t have access to in-person formal education. upGrad is bridging the gap and empowering individuals to learn affordably and from wherever they are.</p><h3><strong>Interested in working at upGrad?</strong></h3><p>By working with <strong>upGrad</strong>, you support thousands of dedicated learners who empower themselves with education and make progress in their careers. At upGrad, you change lives and contribute to the bigger mission of transforming thousands of students and working professionals’ careers. At upGrad, you learn and grow. This hackathon is only one out of the several tech and informal events we organize. Follow this blog to get future updates about technology and culture at upGrad.</p><p>If you are aspiring to be a part of our team, visit our careers page:</p><p><a href="https://www.upgrad.com/careers/?utm_source=medium_blog&amp;utm_medium=upgrad_hackathon_2020">upGrad Careers</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=182ef579fc96" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-at-upgrad/upgrads-virtual-hackathon-2020-182ef579fc96">upGrad’s Virtual Hackathon — 2020</a> was originally published in <a href="https://medium.com/technology-at-upgrad">Technology at upGrad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revamping the Job Search Experience on Career Centre]]></title>
            <link>https://medium.com/technology-at-upgrad/revamping-the-job-search-experience-on-career-centre-8c4797c0df45?source=rss-9f820f2482bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c4797c0df45</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[upgrad]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[quasarframework]]></category>
            <dc:creator><![CDATA[upGrad]]></dc:creator>
            <pubDate>Tue, 06 Apr 2021 10:10:17 GMT</pubDate>
            <atom:updated>2021-04-06T10:10:17.508Z</atom:updated>
            <content:encoded><![CDATA[<h4>How we rapidly built and shipped Career Centre’s brand new mobile-friendly job search experience</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0LFmbkkFzHac9K2fF8Sdtw.jpeg" /></figure><p>A frontend developer’s mildly terrifying nightmare is hearing “yes” to the daunting question of “Are we releasing this for the mobile web”? You first wonder how that’s going to impact estimates.. then the testing.. font sizes.. performance.. Your head starts to spin as you suddenly notice how your vision is blacking out..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*by3DEtpZagsRP9RmlcUtPw.png" /></figure><p>A few developers working on the Career Centre at upGrad had a comparable incident some time back. We were tasked with bringing the slick, revamped jobs experience to the mobile web.</p><h3>mWeb — why it’s not dead.</h3><p>Across the internet, conversion for prompts to install a native app convert less than 4% of the time. Allowing a native app real estate in what is your most personal gadget, is still seen as a long term commitment — you need to first hook the user and then incentivise them to to install it. So unless your app does something that is not technically feasible on a mobile browser, addresses a high frequency use case or needs heightened security — your key focus should still be on mobile first web-apps!</p><p>mWeb also allows us to bring key features to users much quicker than native apps! It’s an easier platform to A/B test our features on and we routinely use mWeb to gather important insights into user behaviour or to gauge the success of a feature before introducing it to the native apps.</p><p>With increasingly larger strides in how mobile browsers are tapping into processing power and how new frontend technologies promise an app-like experience, modernising our jobs experience on mobile was a no-brainer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*PDfENsA6YMpMLa51VBVIFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*ejlnLN3sv214bvOgF5qMIg.gif" /><figcaption>The old vs the new job experience</figcaption></figure><h3>The technical challenges</h3><p>The Career Centre is built on Vue.JS, which happens to have a rich ecosystem of libraries. We went into the jobs project knowing that going forward, we should be targeting the entirety of the Career Centre to be served through a cohesive, responsive web experience.</p><h3>UI library</h3><p>We needed a scalable and flexible component library that could accommodate upGrad’s growing design system — Hygge. Our top priority when choosing the ideal library was customisability, performance and community support. After deep-diving into the availability of event hooks, template slots and general stylability, we narrowed down on Vuetify and Quasar.</p><p>These libraries had very similar underlying philosophies and component coverage. With that in mind, we tried out a real-world PoC showdown, trying to implement the screens provided by design in two very real-world tests. After pitting the two against a selected set of metrics which included ease of development, production package sizes, responsive design coverage and more, we narrowed down on Quasar!</p><p>Another “first” we tried out for this release is using theme-neutral components and iteratively evolving it to make it our own. This allows us to bring the product to the users much quicker, evolve our component libraries and setup the processes to share it between teams, while also making sure that other teams can shift to the new design system.</p><h3>Why a UI library?</h3><p>UI libraries allow rapid development of consistently styled UI components, that can be later shared across teams. Besides being responsive, these components are built to be compatible across browsers, while allowing developers to not worry about accessibility. Components also unify the way we feed and store data going to and from the components.</p><p>The immediately visible caveat is that the initial learning curve is a bit steep, but that time lost is easily made up in the additional time it takes to QA any custom UI component. Diving a bit deeper, there might be one possible argument against component libraries in the fact that a custom UI library would be leaner alternative to bloated and overly customised off-the-shelf components. While this concern is valid, in the real world, we were able to customise components globally to fit our design needs with a couple dozen or so lines of CSS.</p><p>After narrowing our list down to just 2 libraries, we chose <a href="http://quasar.dev/">Quasar</a> over <a href="https://vuetifyjs.com/">Vuetify</a> and here’s how we evaluated it objectively.</p><h3>Vue 3 support</h3><p>Vue 3 brings with it some major features centered around performance and we definitely do not want to miss out. While both <a href="https://www.notion.so/Vuetify-Next-edf8fdb074eb4643a7196aaf8e5d5cad">Vuetify</a> and <a href="https://github.com/quasarframework/quasar/issues/7836">Quasar</a> have a detailed roadmap to support vue3, we felt that the jump would be marginally easier to make with Quasar, since it promises reverse compatibility. That said, we really did like how Vuetify has a highly organised <a href="https://www.notion.so/Vuetify-Next-edf8fdb074eb4643a7196aaf8e5d5cad">roadmap on Notion.</a></p><h3>Emphasis on Security</h3><p>When you first look at the sections on Quasar’s page, what really stands out is the <a href="https://quasar.dev/security/dos-and-donts">security tab!</a> It consists of a surprisingly exhaustive set of security DO’s, DONT’s and limitations for each of the most commonly vulnerable components. To top it off, a few components come with in-built sanitisation that are really handy!</p><h3>Core Philosophy</h3><p>Quasar, before it was officially released, started off as a mobile first framework that focussed primarily on building hybrid and electron apps. Then as it expanded to include desktop web-apps, it gained traction soon.</p><h3>Dev Experience</h3><h4>Documentation and ease of use</h4><p>When developing large scale web experiences, the documentation aspect of any library plays a huge role in shipping quality code on time. At first glance, Vuetify’s well presented documentation, coupled with a relatively lower barrier for entry made it a clear favourite. However, once we started delving into the more complex use cases, Quasar really started to shine.</p><h4>Styling</h4><p>The component styling are equally easy in both the libraries. Quasar has a custom class with a —inner prefix that can be used as a hook to create custom styles. It also has modifiers to changer styles based on element states. (This is especially useful in cases like the one illustrated below where the input element is much lower down the DOM tree than the element controlling the style)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fadarshsosale%2Fembed%2Fpreview%2FdypNgge%3Fheight%3D600%26slug-hash%3DdypNgge%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fadarshsosale%2Fpen%2FdypNgge&amp;image=https%3A%2F%2Fassets.codepen.io%2F672105%2Finternal%2Fscreenshots%2Fpens%2FdypNgge.default.png%3Ffit%3Dcover%26format%3Dauto%26ha%3Dfalse%26height%3D540%26quality%3D75%26v%3D2%26version%3D1607932742%26width%3D960&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1fd2fe1343e68b6ef239210fa8f8972/href">https://medium.com/media/f1fd2fe1343e68b6ef239210fa8f8972/href</a></iframe><h4>Flexibility</h4><p>The core component coverage of both the libraries is quite identical. However, Quasar has a slight edge in the extended components (stepper, timeline, etc). So then we started to analyze the number of customizable props and slots, etc for all of the core components, we found Quasar to be significantly more customizable than Vuetify.</p><p>The flexibility of the component library was very important to us since it’d enable us to write code and test faster, and bring the feature to production sooner. Moreover, if all the Vue repos at upGrad to shift to a single library, it would be easier to share off-the-shelf components bundled with the settings, rather than a custom written component with deeply-linked dependencies.</p><p>Let’s have a look how we assessed flexibility -</p><p>When we first had a look at the search bar’s functionality, it seemed like we’d have to build a component from scratch to account for the unique use cases.</p><p>The search bar has 3 states — <strong>recent searches</strong>, <strong>search suggestions</strong> and <strong>custom search</strong>. While the recent searches is straightforward to implement, the latter 2 cases operate on all the tags present in the search bar as well as the untagged input.</p><p>The closest components that resemble the functionality of the searchbar in Vuetify and Quasar are the <a href="https://vuetifyjs.com/en/components/combobox/#usage">v-combobox</a> and <a href="https://quasar.dev/vue-components/select">q-select</a>, respectively. Looking at the APIs for v-combobox, there’s no built-in way to access the the untagged input value.</p><p>The example below gives an idea of how easy it would be to customise the behaviour of a component to suite a complex use case.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fadarshsosale%2Fembed%2Fpreview%2FwvzzzgQ%3Fheight%3D600%26slug-hash%3DwvzzzgQ%26default-tabs%3Djs%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fadarshsosale%2Fpen%2FwvzzzgQ&amp;image=https%3A%2F%2Fassets.codepen.io%2F672105%2Finternal%2Fscreenshots%2Fpens%2FwvzzzgQ.default.png%3Ffit%3Dcover%26format%3Dauto%26ha%3Dfalse%26height%3D540%26quality%3D75%26v%3D2%26version%3D1607945466%26width%3D960&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa5d393c565297552da3bb47a63b3587/href">https://medium.com/media/aa5d393c565297552da3bb47a63b3587/href</a></iframe><h3>Typescript</h3><p>Another aspect of the release was a shift towards TypeScript. The immediate advantages are IDE autocomplete and static type checking. The well defined types makes it easier for newer developers to understand code (this is especially useful when sharing components between teams). The biggest tradeoff for us was an increased learning curve. In the longer term, we were expecting slight dips in productivity.</p><h3>The Release</h3><p>We split the releases into two, one for desktop and a subsequent one for mobile-web. We started by laying out the foundations for responsiveness in the desktop release. However, we used a conditional flag to hide the mobile version in production. The second release that brought mobile responsiveness was written in a mindful way that made sure that the previously tested code was mostly untouched</p><p>Once the desktop release went live, we quickly got back to work (after a quick break to celebrate, of course 🍻). We re-looked at key factors like interactions, touch targets and spacing using a mobile-first lens and after using BrowserStack to do extensive dev-testing, handed it over to QA.</p><h3>Future scope</h3><p>We have a series of features that would improve the general ease of use for our learners who are accessing the Career Centre on mobile. We’re focusing on improving the page speed performance and bringing more of the desktop functionality to mobile. Going full-PWA is next up on our list of TODO’s. PWAs will open the doors for background processing and push notifications, and that will take us a step forward in bringing a world-class learning experience to everyone.</p><p>Do visit <a href="https://www.upgrad.com/"><strong>upGrad.com</strong></a> to check out our programs that are completely online! If you wish to work with our ever-enthusiastic team, check out <a href="https://www.upgrad.com/open-positions"><strong>our careers page</strong></a><strong>.</strong> We are always on the lookout for ambitious, talented folks!</p><p><a href="https://www.upgrad.com/careers/">upGrad Careers</a></p><p>Contributors: <a href="https://medium.com/u/3201f86d0b1e">Adarsh Sosale</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c4797c0df45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-at-upgrad/revamping-the-job-search-experience-on-career-centre-8c4797c0df45">Revamping the Job Search Experience on Career Centre</a> was originally published in <a href="https://medium.com/technology-at-upgrad">Technology at upGrad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Versioning in a Content Management System]]></title>
            <link>https://medium.com/technology-at-upgrad/introducing-versioning-in-a-content-management-system-1b167c949cf3?source=rss-9f820f2482bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b167c949cf3</guid>
            <category><![CDATA[content-management-system]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[versioning]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[cms]]></category>
            <dc:creator><![CDATA[upGrad]]></dc:creator>
            <pubDate>Thu, 11 Feb 2021 08:34:39 GMT</pubDate>
            <atom:updated>2021-02-11T08:34:39.611Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wvv5E_ivVI4X-4_Ko5CtLw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@annietheby?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Annie Theby</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>With tons of minor to major edits daily, keeping track of all content changes becomes challenging for content and website administrators, and that’s where content versioning comes into the picture. It is the concept of tracking different versions of content updates to answer simple day-to-day operations, such as:</p><ul><li>What edits were made?</li><li>When was content changed?</li><li>Who made the changes?</li><li>What is the difference between previous and updated content?</li></ul><p>Content versioning answers all these questions to make everyday operations efficient and seamless. The best example to understand content versioning is Google Docs. You can view version history, real-time changes and roll back to any version of the document without any hassle.</p><p>Since we are a swiftly scaling online higher education providing platform, our website <a href="https://www.upgrad.com/">upGrad.com</a> requires constant changes. Almost until a couple of years ago, the content edits on the website were still being done by the technology team. This included information about our programs, and how they add value to an individual’s career. Even though most of this data was in the form of JSON, it required constant code changes to update the website. To solve this, we built <strong>Apollo</strong>, our in-house content management system (CMS). Apollo allowed us to add, alter, and delete content on the fly. Over these two years, content editing has streamlined and individual program owners now own their respective content. But as it is true in software engineering —<strong><em> you never solve a problem completely, you only get mature enough to solve greater ones</em></strong>. Along with immense flexibility, Apollo also brought in some complications, which eventually raised the need for introducing versioning.</p><h3>The Why</h3><p>As mentioned, Apollo CMS allowed our internal programmers and administrators to edit website content hassle-free. But over time, managing a track of every edit became hectic. When we realized that editing content with Apollo was creating problems, we started looking for a solution, and we found that versioning can be a potential fit. But what were the issues that kept us looking for a solution like versioning?</p><p>What we used to do is have separate collections for components, layouts, and pages on Apollo. The CMS is backed by a Nodejs server using a MongoDB database. The initial design was more like a relational DB. To represent a page’s data, we included references for components into layouts and then layouts’ references into the page. This led to a mesh topology where every document was connected to several components, layouts, and pages from.</p><p>As the size of the data and frequency of edits increased, keeping track of every edit with such infrastructure was challenging. Also, it was troubling to delete or rollback to any previous point in the website. For instance, if we wanted to delete any particular document, we had to go through the entire mesh topology and look for references of all the components, layouts, and pages associated with that collection. Hence, it was hectic for everyone, right from content managers to us, developers, to delete or revert to any previously updated webpage.</p><p>Each query’s response time was also increasing as the program had to go through the entire database. Slow response time affected the performance of the whole website, which was not acceptable by us. All these problems led to an urgency for introducing versioning in Apollo.</p><h3>The How</h3><p>We introduced versioning in Apollo by eliminating the step of instance references; instead, we started storing the actual instances in each collection. This reduced mesh topology’s complexity, and now everything, with actual instances, was held in a single collection. Hence, everything: tracking, altering, reverting, and deleting content became more straightforward.</p><p>Our CMS was now storing data about who was changing what content at what particular time. Even a minor edit was creating a new version of the entire collection. The administrator and internal programmers now had the option to compare the changes side by side to see how they will affect the website’s whole layout.</p><p>We created two stacks of pages, one for storing only the latest page version and the other for keeping the latest and older versions. Whenever a query was called to retrieve the latest version or when someone visited the website, the program would take the code from the stack with the newest version and give the output to reduce response time and enhance performance. On the other hand, if the administrator wanted to compare two versions, he can merely head to the versioning interface and select any two versions to see the differences between them.</p><h3>The Seamless Transition to Content Versioning</h3><p>Let’s look at an elementary example to understand what’s the difference between the older Apollo and the newer one with versioning. The below table showcases how the versions are made, and the collection is changed with each edit.</p><pre>+----------------+------------------+----------+-------------+<br>| Global Version | Internal Version                          |<br>+----------------+------------------+----------+-------------+<br>| 1              | Page             | Layout   | Component   |<br>+----------------+------------------+----------+-------------+<br>| 2              | Page             | Layout   | Component 1 |<br>+----------------+------------------+----------+-------------+<br>| 3              | Page             | Layout   | Component 2 |<br>+----------------+------------------+----------+-------------+<br>| 4              | Page             | Layout 1 | Component 2 |<br>+----------------+------------------+----------+-------------+<br>| 5              | Page             | Layout 1 | Component 3 |<br>+----------------+------------------+----------+-------------+<br>| 6              | Page             | Layout 2 | Component 3 |<br>+----------------+------------------+----------+-------------+<br>| 7              | Page             | Layout 2 | Component 4 |<br>+----------------+------------------+----------+-------------+<br>| 8              | Page             | Layout 2 | Component 5 |<br>+----------------+------------------+----------+-------------+</pre><p>Without versioning, the administrator had to pass queries to search through the entire website code to add, alter, rollback, or delete any content. With versioning in place, the administrator only has to select a particular global version number to find out all the details about that version. It became possible to track changes, rollback, or delete content with just a few clicks without worrying about the associated instance references.</p><h3>How Versioning of CMS Helped Us?</h3><p>This initiative of introducing content versioning in CMS provided us with numerous benefits, the most significant ones are:</p><p><strong>Easy traceability</strong>: With versioning, we could track even minute changes and details such as who made the changes, what changes were made, and when they were made. It also allows us to compare the data on two versions by highlighting the changes made.</p><p><strong>Enhanced performance</strong>: The speed and overall performance of the website were improved. For instance, to navigate a page with 3 layouts and 15 components, the program had to run 1 x 3 x 15 = 45 queries to provide the results as each collection of stored instance references. But now, with versioning, since everything is in a single collection, the program only has to run a single query for getting the output. This led to enhanced performance.</p><p><strong>Efficient content management</strong>: Versioning allowed our internal programmers, content managers, and administrators to manage the entire website efficiently. Everything right from adding, updating, altering, reverting, and deleting content on the website became hassle-free and easy.</p><p>Introducing versioning in Apollo has helped us overcome the hurdles in efficiently managing our website. This has not only increased traceability but also has made reverting to older versions easy and has improved content stability. As engineers, this was an interesting problem to solve, deriving inspiration from versioning systems like git . If you are interested in solving similar and other interesting problems, do check out <a href="https://www.upgrad.com/open-positions"><strong>our careers page</strong></a><strong>.</strong> We are always on the lookout for ambitious, talented folks!</p><p>Do visit <a href="https://www.upgrad.com/"><strong>upGrad.com</strong></a> to check out our programs that are completely online!</p><p>Contributors: <a href="https://medium.com/u/9d00d158eebe">Jawad Sonalkar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b167c949cf3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-at-upgrad/introducing-versioning-in-a-content-management-system-1b167c949cf3">Introducing Versioning in a Content Management System</a> was originally published in <a href="https://medium.com/technology-at-upgrad">Technology at upGrad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>