<?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 Saksham Gupta on Medium]]></title>
        <description><![CDATA[Stories by Saksham Gupta on Medium]]></description>
        <link>https://medium.com/@shucon01?source=rss-7597dd7f4f6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*KVBXO1O6yI3e45A1zFIAnA.jpeg</url>
            <title>Stories by Saksham Gupta on Medium</title>
            <link>https://medium.com/@shucon01?source=rss-7597dd7f4f6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:12:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shucon01/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[GSoC’18 final code submission]]></title>
            <link>https://medium.com/@shucon01/gsoc18-final-code-submission-7cb50aa5a8c6?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cb50aa5a8c6</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[phpmyadmin]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Wed, 08 Aug 2018 19:16:08 GMT</pubDate>
            <atom:updated>2018-08-08T19:16:08.838Z</atom:updated>
            <content:encoded><![CDATA[<p>Finally GSoC has come to an end and it’s been a great journey. I got to learn many new things and apart from honing my programming skills, I also learned quite a bit about Colour Theory which was a completely unknown domain for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NOEuAFrmQd1rKqe9LflMdQ.png" /></figure><p>My blog posts during the GSoC period are :</p><ol><li><a href="https://medium.com/@shucon01/google-summer-of-code-2018-with-phpmyadmin-automated-theme-generator-tool-1284b4872ce2">https://medium.com/@shucon01/google-summer-of-code-2018-with-phpmyadmin-automated-theme-generator-tool-1284b4872ce2</a></li><li><a href="https://medium.com/@shucon01/how-i-am-creating-automated-colour-palettes-using-colour-theory-c72c84c927c0">https://medium.com/@shucon01/how-i-am-creating-automated-colour-palettes-using-colour-theory-c72c84c927c0</a></li><li><a href="https://medium.com/@shucon01/using-ajax-to-send-front-end-data-to-back-end-c741f006559d">https://medium.com/@shucon01/using-ajax-to-send-front-end-data-to-back-end-c741f006559d</a></li><li><a href="https://medium.com/@shucon01/why-text-colour-plays-a-major-role-in-site-visibility-4ac0831dfba2">https://medium.com/@shucon01/why-text-colour-plays-a-major-role-in-site-visibility-4ac0831dfba2</a></li><li><a href="https://medium.com/@shucon01/automating-text-control-for-good-contrast-ratio-56c7e35d4bfc">https://medium.com/@shucon01/automating-text-control-for-good-contrast-ratio-56c7e35d4bfc</a></li><li><a href="https://medium.com/@shucon01/gsoc-work-report-before-2nd-evaluation-68eb27db42af">https://medium.com/@shucon01/gsoc-work-report-before-2nd-evaluation-68eb27db42af</a></li><li><a href="https://medium.com/@shucon01/wrapping-up-gsoc-18-with-phpmyadmin-77d920325671">https://medium.com/@shucon01/wrapping-up-gsoc-18-with-phpmyadmin-77d920325671</a></li></ol><p>All of my code is in a single Pull Request :</p><p><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14293">https://github.com/phpmyadmin/phpmyadmin/pull/14293</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cb50aa5a8c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wrapping up GSoC ’18 with phpMyAdmin]]></title>
            <link>https://medium.com/@shucon01/wrapping-up-gsoc-18-with-phpmyadmin-77d920325671?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/77d920325671</guid>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 20:27:06 GMT</pubDate>
            <atom:updated>2018-08-07T20:27:06.883Z</atom:updated>
            <content:encoded><![CDATA[<p>As every good thing comes to an end, the summer vacations have ended and so did the journey of GSoC. GSoC helped me to spend my summers in a productive way.</p><p>I have almost completed project with a few remaining fixes and tests. One major problem faced recently was that many people use phpMyAdmin in /var/www/ folder which needs root access thus it doesn’t directly allows theme generator to create files without giving adequate permissions to the theme folder . So for now we have made a notification indicating the users to correct user permissions before proceeding. Another idea was to create downloadable files so that the user could manually add the custom theme to the theme folder. But this was quite a big task in itself, thus it’s been left as a later project.</p><h3><strong>After GSoC</strong></h3><p>The code hasn’t been merged yet as it still needs to be reviewed. As per the reviews of the users we could then improve the UI as for now we haven’t thought about UI much.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77d920325671" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC work report before 2nd evaluation]]></title>
            <link>https://medium.com/@shucon01/gsoc-work-report-before-2nd-evaluation-68eb27db42af?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/68eb27db42af</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Sat, 07 Jul 2018 17:44:28 GMT</pubDate>
            <atom:updated>2018-07-07T17:44:28.090Z</atom:updated>
            <content:encoded><![CDATA[<p>As the second evaluations are starting from 9th July, I would explain all the work I’ve done between first and second evaluation. The first task I did was to create a feature so that the contrast ratio between the text colour and background colour is good enough. Detailed explanation about it is present in the previous post. The next work was to create Preview Panels and integrating them with the theme generator. Initially the plan was to create sample panels for every decided element, but I had to change the plan and decided to create preview panels for only Table and Group element. Every other style is applied on the already present elements (navigation panel, background, headers etc.). The two main reasons for it were</p><ol><li>To prevent unnecessary clutter.</li><li>The already present elements were interfering with the sample elements, thus becoming a tedious and unnecessary job.</li></ol><p>I’ve also written some documentation and will be writing some tests in a day or two.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68eb27db42af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating text color for good contrast ratio]]></title>
            <link>https://medium.com/@shucon01/automating-text-control-for-good-contrast-ratio-56c7e35d4bfc?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/56c7e35d4bfc</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Sun, 24 Jun 2018 21:01:05 GMT</pubDate>
            <atom:updated>2018-06-24T23:25:11.829Z</atom:updated>
            <content:encoded><![CDATA[<p>As my sixth week of GSoC with phpMyAdmin has come to an end, I going to explain the problems faced and how I tackled them. The biggest problem I faced was calculating text colours with contrast ratio greater than 4.5 , while keeping in mind the colour scheme used. First I tried to use mix-blend-mode but it didn’t work out because I would have to add a span class for every text, which wasn’t feasible. So I created a new function which takes the background colour and compares with the calculated colour . If the contrast ratio is less than 4.5 it tweaks saturation and brightness till the required contrast ratio is achieved. This colour is achieved with a maximum iteration of 10. Now I have started creating Preview panels and would complete it this week, hopefully.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56c7e35d4bfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Text Colour plays a major role in site visibility]]></title>
            <link>https://medium.com/@shucon01/why-text-colour-plays-a-major-role-in-site-visibility-4ac0831dfba2?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ac0831dfba2</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Mon, 04 Jun 2018 11:05:06 GMT</pubDate>
            <atom:updated>2018-06-04T11:05:06.409Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s my third week of GSoC and I’ve been working on automatically creating CSS files for automated theme generator. While creating different background colours some text colours were more visible than others. After some search I came to know it’s being caused by contrast ratio .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*tQSsoD8s5kSUzrpULJckPQ.png" /><figcaption>The following image has a contrast ratio of 1.07 so it’s hard to read.</figcaption></figure><p>Greater ratio means greater visibility a minimum ratio of 4.5:1 is required because it compensates for the loss in contrast sensitivity usually experienced by users with vision loss and ratios greater than 7:1 is great for users with colour blindness or low visibility. So as I am coming to an end for creating Automated colour backgrounds, I’ll focus on keeping texts with high contrast ratio and also work on creating test cases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ac0831dfba2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using AJAX to send front-end data to back-end]]></title>
            <link>https://medium.com/@shucon01/using-ajax-to-send-front-end-data-to-back-end-c741f006559d?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c741f006559d</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Sun, 27 May 2018 14:01:50 GMT</pubDate>
            <atom:updated>2018-05-27T14:01:50.158Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve completed my second week of GSoC and the main task for this week was to create a form which could send palette data to the back-end to create CSS files which would be used in t he new theme. The main problem was that palette data was in HTML and was being generated dynamically by using javascript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZ2LJ9X2paxSkAGetKD9CA.jpeg" /></figure><p>So I solved this problem by adding hidden input in the form when Submit button is pressed and send that using AJAX. Now my main focus is to assign different colours of colour palette to various elements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c741f006559d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I am creating automated colour palettes using Colour Theory]]></title>
            <link>https://medium.com/@shucon01/how-i-am-creating-automated-colour-palettes-using-colour-theory-c72c84c927c0?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c72c84c927c0</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[colors]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Sat, 19 May 2018 18:08:10 GMT</pubDate>
            <atom:updated>2018-05-19T18:08:10.439Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been a week since I’ve been working on my Google Summer of Code project with phpMyAdmin and my work for this week was to create a separate page for the tool and add/remove functions in a preexisting colour picker tool. The existing tool was creating some palettes but they were not using colour theory to create palettes usable that could be used directly on websites. I have been focusing on four types four types of colour palettes, Monochromatic, Complementary, Analogous and Triadic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*jgdeZTPVRhV2jxxMXi7rkg.jpeg" /></figure><p>The most difficulties were faced in Monochromatic and Analogous, in the monochromatic theme the main thing was how the palette should be managed if the hue value remains same and saturation and brightness changes of the base colour. I solved it by taking a range of saturation and brightness keeping the average of them equal to that of base colour. Also the values of saturation and brightness were in opposite orders for further contrast. In Analogous theme the problem was how further should the hue difference be set from base colour for optimal colours , I was quite satisfied with 45 degrees in the end. So in the end of this week I have completed all the colour palettes, the next step would be to start integrating the colour picker tool with back end.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c72c84c927c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Summer of Code 2018 with phpMyAdmin - “Automated Theme Generator Tool”]]></title>
            <link>https://medium.com/@shucon01/google-summer-of-code-2018-with-phpmyadmin-automated-theme-generator-tool-1284b4872ce2?source=rss-7597dd7f4f6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1284b4872ce2</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[themes]]></category>
            <dc:creator><![CDATA[Saksham Gupta]]></dc:creator>
            <pubDate>Sat, 12 May 2018 11:45:29 GMT</pubDate>
            <atom:updated>2018-05-12T11:45:29.197Z</atom:updated>
            <content:encoded><![CDATA[<p>I am very happy to announce that I’ll be working with phpMyAdmin this summer on the project ‘Automated Theme Generator Tool’. Currently there are pre-generated themes that can be manually installed and used. The idea is to create a tool that automates and makes easier the task of creating themes. Themes created from the Theme Generator tool would be less prone to bugs in the long run and could cater to each individuals needs. For the automated themes to look good to the eye, I’ll be using the concepts of Colour Theory.</p><p>The major goal of this project is to create a tool, that would create themes giving the users adequate freedom for changes and at the same time, automates the other parameters of the themes itself so that theme looks good i.e. by using colour combinations that are appealing to the eye. Designers use a variety of techniques to create themes and colour combinations that would be good looking. One of the main tools that would be used is a designer’s colour wheel.</p><p>Though RGB and Hexadecimal values are important for creating a webpage, they are of little use while studying Colour Theory. The HSB (hue, saturation, and brightness) are more important in working with colors. HSB values can be easily converted from hexadecimal and RGB values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OPZH7pVE7KXTs62d." /><figcaption>Munsell Colour System</figcaption></figure><p>Primarily we would focus on four types of colour schemes:</p><ul><li><strong>Monochromatic Colour Schemes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/0*n--UJWnDzpmOiKNu." /></figure><p>Monochromatic schemes use different tones from the same angle on the colour wheel. All colours are derived from the base colour and the hue value is not changed.</p><ul><li><strong>Analogous Colour Schemes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/0*lBce2_ngkYvtc_09." /></figure><p>Analogous colour schemes are created by using colours that are next to each other on the colour wheel.</p><ul><li><strong>Complementary Colour Schemes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*vUjUVNDD5oNEZsuv." /></figure><p>Complementary schemes are created by combining colours from opposite sides of the colour wheel.</p><ul><li><strong>Triadic Colour Schemes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*-Zj74u3UG2rdy-xI." /></figure><p>Triadic schemes are made up of hues equally spaced around colour wheel.</p><p>All the colours generated by the colour scheme using the formulas of colour theory, would be displayed on a colour palette so that the user can further tune each colour according to his choice if they want to. The main elements to keep in mind while assigning colours are:</p><ol><li>Headers</li><li>Footers</li><li>Background</li><li>Tables</li><li>Groups</li><li>Notices</li><li>Results</li><li>Buttons</li></ol><p>Apart from styling the webpage as a whole, the users can use the same color picker tool to customise the font color and a drop down menu to change text font from a set of predefined fonts supported by the browser.</p><p>There are many different types of text that would require different colors to distinguish each other. The most important being the following:</p><ul><li>Headings — These would generally match with the base color of the theme.</li><li>Links and Links (on hover) — The two text should be distinguished from each other apart from being different from the normal text.</li><li>Other text — This text would cover up most of the text present on a page.</li></ul><p>One thing to keep in mind is that for the maximum visibility of text, the text color should be contrasting to that of the background color, by default. One option is to set complementary colors to that of the colors selected in the theme.</p><p>A minor tweak that can be allowed are a set of predefined icons and if time permits, we could start working on adding gradient to the themes. The last thing required would be to save the theme settings so that the same theme opens the every time phpMyAdmin is reopened.</p><p>The final tool would look somewhat like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lWfFCTz8Och6YxHp." /><figcaption>Mockup</figcaption></figure><p><strong>Mockup</strong></p><p>The four color wheels indicate the different scheme types to choose from, currently the monochromatic color scheme is shown to be selected. A color picker tool is shown which could easily convert HSB, RGB and hexadecimal values into each other. The <strong>Elements</strong> and <strong>Text</strong> palette shows the colors that would be used for them respectively. On hovering on a particular color, a popup would show for what elements the particular color would be used (Example: The cursor is on the blue color, and a pop-up displays that it would be used for hyperlinks). The <strong>Theme name </strong>asks for an input to save the theme with a particular name. The <strong>Font Style </strong>option shows a drop-down menu to select a font style. A <strong>Preview</strong> and <strong>Go</strong> button are at the bottom of the page which displays a preview and saves the theme respectively. At the right side the <strong>Sample Preview </strong>shows various sample previews of four main components(Main Window, Query and Table List, Navigation Panel, Table Data). These preview panels can be hard coded on this page rather than linking it with the original pages, this would save time and make things easier. At the end of the project we could expect the theme generator tool to be completed and ready to be pushed to master branch, and later to STABLE branch after adequate testing. A summarised list of expected deliverables are:</p><ol><li>A customised color picker tool.</li><li>Different color scheme modes.</li><li>Custom text color and fonts.</li><li>Theme preview mode.</li><li>Save the themes settings and creating the necessary files.</li><li>Choice of predefined icons. (Optional — as advised by the mentor)</li><li>Color gradient on different elements. (If time permits)</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/issues/12262">Remove inline style scripts.</a> (As required and as per time)</li></ol><h3>Project Schedule</h3><p>April 23, 2018 — May 14, 2018</p><ul><li>Bonding with community.</li><li>Discuss and clear the ambiguities and implementation details.</li></ul><p>May 14, 2018 — May 21,2018</p><ul><li>Create a new page for Theme Generator Tools.</li><li>Implement Basic Colour Picker Tool and customising it according to our needs (adding necessary functions and removing the unnecessary ones).</li></ul><p>May 22,2018 — May 29,2018</p><ul><li>Save theme and create necessary files automatically.</li><li>Opens the same theme when phpMyAdmin restarts.</li><li>Test cases and documentation.</li></ul><p>May 30,2018 — June 6,2018</p><ul><li>Add color schemes functions.</li><li>Integrating the color scheme functions with the color picker tool.</li><li>Basic color changing webpage.</li><li>Fix inline styles where necessary.</li></ul><p>June 7,2018 — June 14,2018</p><ul><li>Make-up week.</li><li>Fix any bugs and write the required documentation.</li><li>Submit work for phase-1 evaluations.</li></ul><p><strong>Mid evaluation: June 11–15, 2018</strong></p><p>June 15,2018 — June 22,2018</p><ul><li>Add remaining color schemes functions.</li><li>Integrate text color changes with color picker tool.</li><li>Automate text colors with the selected color scheme.</li></ul><p>June 23,2018 — June 30,2018</p><ul><li>Create Sample Preview Panels</li><li>Font changes.</li><li>Write Tests and documentation.</li></ul><p>July 1,2018 — July 8,2018</p><ul><li>Make-up week.</li><li>Submit work for phase-2 evaluations.</li></ul><p><strong>Mid evaluation: July 9–13, 2018</strong></p><p>July 9,2018 — July 16,2018</p><ul><li>Predefined icon picker drop-down menu.</li><li>Integrate Theme Generator with Sample Preview.</li><li>Travis test cases.</li></ul><p>July 17,2018 — July 24,2018</p><ul><li>Fine tune CSS features.</li><li>Fix any bugs that might have gone unnoticed.</li><li>Remaining Travis test cases.</li></ul><p>July 25,2018 — August 1,2018</p><ul><li>Add gradient tool.</li><li>Fix any colour scheme automation .</li><li>Write Documentation.</li></ul><p>August 2,2018 — August 6,2018</p><ul><li>Make up week.</li><li>Wrap up the work.</li><li>Fix any bugs and do required documentation.</li><li>Work on more features if time permits.</li></ul><p><strong>Final evaluation: August 6–14, 2018</strong></p><p>I’ll be updating my weekly progress of the project on this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1284b4872ce2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>