<?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 Piyush Vijay on Medium]]></title>
        <description><![CDATA[Stories by Piyush Vijay on Medium]]></description>
        <link>https://medium.com/@piyush3079?source=rss-f6afb4673c9b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qSz2Sf610aW4lgvrre7Psw.jpeg</url>
            <title>Stories by Piyush Vijay on Medium</title>
            <link>https://medium.com/@piyush3079?source=rss-f6afb4673c9b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:54:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@piyush3079/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 Final Blog for Code Submission]]></title>
            <link>https://medium.com/@piyush3079/gsoc-final-blog-for-code-submission-6ca7181f9d9e?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ca7181f9d9e</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Sun, 12 Aug 2018 23:31:19 GMT</pubDate>
            <atom:updated>2018-08-12T23:44:56.011Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*j846OORJgfO1w-zR98qWEw.png" /></figure><p>Through this blog post, I’d like to comprehensively document all of my work done through the Google Summer of Code 2018. This involves links to all the blog posts, repositories, discussions and code merges. A huge token of thanks for all the support extended by mentors <a href="https://github.com/devenbansod">Deven Bansod</a> and <a href="https://github.com/mauriciofauth">Maurício Meneghini Fauth</a> and the entire phpMyAdmin community for their suggestions and discussions.</p><p><strong>Some Important Links:</strong></p><ol><li><strong>Github: </strong><a href="https://github.com/Piyush3079">https://github.com/Piyush3079</a></li><li><strong>phpMyAdmin Home:</strong> <a href="https://www.phpmyadmin.net/">https://www.phpmyadmin.net/</a></li><li><strong>phpMyAdmin Github:</strong><a href="https://github.com/phpmyadmin/phpmyadmin"> https://github.com/phpmyadmin/phpmyadmin</a></li><li><strong>Proposal Link:</strong> <a href="https://docs.google.com/document/d/1g4PkvEpwnDp5ZUnp2R5bQK82zfeBxXwj7_9nizoGiAc/edit?usp=sharing">Link</a>.</li><li><strong>Project Link: </strong><a href="https://summerofcode.withgoogle.com/projects/#5118590865375232">https://summerofcode.withgoogle.com/projects/#5118590865375232</a></li></ol><p>The changes done in the code were not merged in master branch. Instead a new branch was created and all the pull requests were merged in that branch.</p><p>Link to base branch: <a href="https://github.com/phpmyadmin/phpmyadmin/tree/gsoc-js-refactoring"><strong>gsoc-js-refactoring</strong></a></p><p>The following pull requests were created:</p><ol><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14464"><strong>Mod_Js_Config</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14465"><strong>Mod_Js_Server_Privileges</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14466"><strong>Mod_Js_Console</strong></a> [ Meged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14467"><strong>Mod_Js_Server_Status</strong></a> [Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14468"><strong>Mod_Js_Navigation</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14469"><strong>Mod_Js_Import_Export</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14470"><strong>Mod_Js_Config_Js</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14524"><strong>Mod_Js_Structuring_1</strong></a> [ Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14493"><strong>Mod_Js_Sql_Js</strong></a> [ Not Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14518"><strong>Mod_Js_Sql_Profiling</strong></a> [ Not Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14533"><strong>Mod_Js_Db_Structure</strong></a> [ Not Merged ]</li><li><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14564"><strong>Mod_Js_Tbl_Stucture</strong></a> [ Not Merged ]</li></ol><p><strong>Features Implemented:</strong></p><ol><li>Webpack as a bundler to bundle the static javascript files.</li><li>Babel to allow support for module import and export and also to compile ES6 code to ES5.</li><li>Package.json as the package manager and yarn as dependency installer.</li><li>Dynamic imports to allow code splitting and lazy loading of JavaScript files as modules.</li><li>Reduce eslint warning and error in the modular code.</li><li>Jsdoc to document the javascript code.</li></ol><p><strong>Accomplishments and Leftovers:<br></strong>A large amount of codebase has been revamped till now. Major parts which are remaining are:</p><ol><li>Some of the pages were giving error so they were not revamped like “Query By Example” page for databases and tables.</li><li>Database Designer is not revamped yet.</li><li>Gis Editor is remaining to be revamped.</li><li>RTE related pages are remaining to be revamped.</li><li>Error reporting for JavaScript files is not fully functional (Still working on it).</li></ol><p>The code is functional now as the php code is edited in such a way to make sure the working of both old code and new code. Once complete code get revamped, then code cleanup for php files can be done to remove functions required for workability of old code.</p><p><strong>Blog Posts During the GSoC Period:</strong></p><ul><li><strong>Initial Post: </strong><a href="https://medium.com/@piyush3079/google-summer-of-code-with-phpmyadmin-introducing-modern-js-features-and-tools-5b56abcbc18b">Introduction</a>.</li><li><strong>Week 1: </strong><a href="https://medium.com/@piyush3079/week1-gsoc-2018-with-phpmyadmin-64f38c107fd0">Week1 GSoC 2018 with phpMyAdmin</a></li><li><strong>Week 2:</strong> <a href="https://medium.com/@piyush3079/week-2-gsoc-with-phpmyadmin-5739e2e4d9d8">Week 2 GSoC with phpMyAdmin</a></li><li><strong>Week 3:</strong> <a href="https://medium.com/@piyush3079/week3-gsoc-with-phpmyadmin-41a1b7f1dd70">Week3 GSoC with phpMyAdmin</a></li><li><strong>Week 4 &amp; Week 5:</strong> <a href="https://medium.com/@piyush3079/gsoc-week-4-and-week-5-a2c820b54b3e">GSoC Week 4 and Week 5</a></li><li><strong>Final Coding week:</strong> <a href="https://medium.com/@piyush3079/final-coding-week-of-gsoc-with-phpmyadmin-1361e78f8de3">Final Coding Week of GSoC With phpMyAdmin</a></li></ul><p><strong>Mailing list discussion (phpMyAdmin):</strong></p><ul><li><a href="https://lists.phpmyadmin.net/pipermail/developers/2018-July/020792.html">https://lists.phpmyadmin.net/pipermail/developers/2018-July/020792.html</a></li><li><a href="https://lists.phpmyadmin.net/pipermail/developers/2018-August/020831.html">https://lists.phpmyadmin.net/pipermail/developers/2018-August/020831.html</a></li><li><a href="https://lists.phpmyadmin.net/pipermail/developers/2018-May/020756.html">https://lists.phpmyadmin.net/pipermail/developers/2018-May/020756.html</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ca7181f9d9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Final Coding Week of GSoC With phpMyAdmin]]></title>
            <link>https://medium.com/@piyush3079/final-coding-week-of-gsoc-with-phpmyadmin-1361e78f8de3?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1361e78f8de3</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[es6]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Thu, 02 Aug 2018 11:19:07 GMT</pubDate>
            <atom:updated>2018-08-02T11:34:57.104Z</atom:updated>
            <content:encoded><![CDATA[<p>It has been more than two and a half months since working with phpMyAdmin under GSoC 2018. This week is the final coding week of GSoC. This blog post is a brief jouney about what has been done till now and what is remaining.</p><p>A substantial amount of code has been revamped and converted into modular code. Although it seems quite clear that the whole JavaScript code-base cannot be modularized before the coding period ends, as there are already some issues related to php which needs to be taken care before the starting of revamping the JavaScript files related to those php files so that the new code can be tested at least once in development.</p><h3><strong>Progress till now</strong></h3><p>Almost 70% of the code base has been converted into modular code. During the initial phase of the project, the created pull request became very complex to review ,suggest changes and to test for individual functionality, so the pull request was broken up into several continuous pull requests based on the individual functionality or file change.<br>But these pull requests were in continuation, so at that time it was not sure that merging these pull requests will break something or not so I proposed to create a new branch in the main repository to merge all these continuous pull request and once the revamped code is tested on this branch, this branch could be merged into master to make sure that nothing is breaking into the master.</p><p>After this change in the review technique, several pull requests were merged and many new pull requests were created for merge into the new branch. Some of the pull requests are:<br><a href="https://github.com/phpmyadmin/phpmyadmin/pull/14464"><em>Mod_Js_Config</em></a> (Merged), <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14465"><em>Mod_Js_Server_Privileges</em></a> (Merged), <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14466"><em>Mod_Js_Console</em></a> (Merged), <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14467"><em>Mod_Js_Server_Status</em></a> (Merged), <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14468"><em>Mod_Js_Navigation</em></a> (Merged), <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14469"><em>Mod_Js_Import_Export</em></a> (Merged)</p><p>The prefix Mod_Js is for differentiating these pull requests from rest of the pull requests. All these pull requests were successfully merged into the <a href="https://github.com/phpmyadmin/phpmyadmin/tree/gsoc-js-refactoring"><em>gsoc-js-refactoring</em></a> branch with some functionality break (mentioned in the individual pull request itself).</p><h3><strong>Plan for this week</strong></h3><p>The plan for this week is to revamp some of the files related to table into modular code. Apart from that, I am working on some build scripts so that the new code can be used in the production release. The code is being tested in production mode to make sure that nothing is breaking. I will also try to implement <a href="https://www.npmjs.com/package/jsdoc"><em>jsdoc</em></a><em> </em>to create documentation of the JavaScript code.</p><h3><strong>Plan for next week</strong></h3><p>The next week is the documentation week for the work that has been done during the Google Summer of Code coding period. So the main focus will be towards documenting everything according to the guidelines mentioned by Google.</p><p>If jsdoc is implemented without errors and within the duration of the coding period, I’ll work on implementing better documentation of the functions, classes, and modules which can be hosted on phpMyAdmin developer page.</p><h3><strong>What’s remaining</strong></h3><p>The designer part of the phpMyAdmin is yet to be revamped. Apart from that some of the files related to the database like Routines, Triggers, Events, Query By Example are remaining. Some of the files related to the table are also remaining although I am working to revamp them.</p><p>Code cleaning, naming and renaming of files correctly are also few of the major tasks remaining.<br>Old js files has not been deleted yet as the anticipatory changes made in all these old files will be considered after merging this gsoc-js-refactoring pull requests into master.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1361e78f8de3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week 4 and Week 5]]></title>
            <link>https://medium.com/@piyush3079/gsoc-week-4-and-week-5-a2c820b54b3e?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2c820b54b3e</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[es6]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Thu, 21 Jun 2018 12:43:35 GMT</pubDate>
            <atom:updated>2018-06-21T12:43:35.501Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been 5 weeks now working with phpMyAdmin under the Google Summer of Codes 2018 program. I have successfully passed the first evaluation.</p><p>During these two weeks and including this week also, my main objective was to modularize the Navigation, Error Report, PMA Console, Import and Export and the configuration file so that the configuration of these pages can be checked and settings can be changed with the modular code.</p><p>Right now I am working on inline javascript coming from the php classes containing the the configuration of the particular page which were injected in the container showing the body of html. These configurations need to be imported in the module from window of document and then used in the modular code so that any change in the setting of the page or any saved setting can be compared with new changed or setting user is going to made on the settings page and on PMA Navigation.</p><p><strong>Regarding the Feedback from Mentor:</strong></p><p>As per the feedback, the mentors had given, I will try to push the quality code on the pull request by the end of this week or by the mid of the coming week after making successful changes and testing of the above mentioned files,which can be reviewed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2c820b54b3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week3 GSoC with phpMyAdmin]]></title>
            <link>https://medium.com/@piyush3079/week3-gsoc-with-phpmyadmin-41a1b7f1dd70?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/41a1b7f1dd70</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[modules]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Tue, 05 Jun 2018 08:39:39 GMT</pubDate>
            <atom:updated>2018-06-05T08:39:39.142Z</atom:updated>
            <content:encoded><![CDATA[<p>Completed 3 weeks of Google Summer of Codes with phpMyAdmin. Major task for the week was to revamp the ajax handler so that it will be compatible with the new webpack generated bundle and there should not be any need of appending the files in the head of the document as it is there in the project right now. Webpack will take care of it.</p><p>Here is the major change in the AJAX add script function. There are some more changes by I am showing only this major change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*1bDb_Q9pxm9_OMO35cdXqw.png" /></figure><p>The new function introduced <a href="https://developers.google.com/web/updates/2017/11/dynamic-import"><strong><em>import()</em></strong></a><strong><em> </em></strong>is a function which returns a promise resolution of which contains all the exported modules.</p><p>This function will take care of the appending of script in the head tag by generating chunks for modules needed by the dynamically imported module.</p><p>This function needs some edits to make it workable for all the files rather than the two files in the array.</p><p>The snapshots of the generated webpack profile with two different configurations are as below. Both the configuration have same output size both in development and production mode.</p><p><strong>1).</strong> When vendor files like jQuery, Codemirror are not build in a separate chunk. The size of various chunks are also shown in the next snapshot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dKoVJrpoJ-9LldR8LYIytg.png" /><figcaption>Webpack generated output</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dzgr8XugNY_3-e-8YouVHw.png" /></figure><p>2). Second configuration when vendor files are placed in a separate bundle and included in the <strong><em>Header</em></strong> class for loading it each time with <strong><em>index_new.js</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ECufb7cCv_yFPXLBlOVYYw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bM-pNVAHYdDgtiXnFxwggw.png" /></figure><p>The <a href="https://github.com/phpmyadmin/phpmyadmin/issues/14355">reproducible <em>pr</em></a> is already made on github.</p><p>Major task for this week would be to work on optimising the webpack bundle and working on ajax handler to revamp it further and try to create multiple entry points for separate files and the compare the output with single entry point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41a1b7f1dd70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2 GSoC with phpMyAdmin]]></title>
            <link>https://medium.com/@piyush3079/week-2-gsoc-with-phpmyadmin-5739e2e4d9d8?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5739e2e4d9d8</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[modules]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Tue, 29 May 2018 05:50:28 GMT</pubDate>
            <atom:updated>2018-05-29T05:50:28.068Z</atom:updated>
            <content:encoded><![CDATA[<p>Completed 2 weeks of Google Summer of Codes with phpMyAdmin. My main task for the first two weeks was to implement webpack and babel configuration and converting some functions which are globally available into modules which can be imported at times of need. I have changed some of the files with modular structure, now I need to work on making this new structure compatible with existing code.</p><p>Major task for this week is to convert the <strong><em>AJAX </em></strong>global object into a module with a global scope in the application so that its instance can be used in different modules and files and making some part of new structure compatible.</p><p>Apart from that raised solved one issue regarding Edit Variable in Variables page in this <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14328">pr</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5739e2e4d9d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week1 GSoC 2018 with phpMyAdmin]]></title>
            <link>https://medium.com/@piyush3079/week1-gsoc-2018-with-phpmyadmin-64f38c107fd0?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/64f38c107fd0</guid>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Thu, 24 May 2018 16:09:31 GMT</pubDate>
            <atom:updated>2018-05-24T16:09:31.992Z</atom:updated>
            <content:encoded><![CDATA[<p>Sorry for posting the blog this much late. Actually I got stuck in some major problems (errors to be more precise due to some changes) in the code-base so didn’t get enough time to make a blog post.</p><p>My major goal for the first two weeks was to transform some of the code-base in the ES6 format but as soon as I started to write the code in ES6 I realised that it is necessary to make some configuration files for webpack and babel so that the trans compiled code can be tested for functionality.</p><p>So in the first week I just implemented the basic configuration files for babel and webpack and try to find out what can be the possible new directory structure for js files so that the development and compiled production build files can be placed separately and some find out some basic syntax and standards of ES6 that can be implemented in the revamped code.</p><p>Apart from that I was working on <a href="https://github.com/phpmyadmin/phpmyadmin/issues/14295">this</a> issue in changing the theme raised by me only.</p><p><strong>Plans for 2nd week</strong>: Understanding the flow of adding js files using php code (existing one) and what changes has to be made for new code and transforming some of the files in ES6.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64f38c107fd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Summer of Code with phpMyAdmin — Introducing modern JS features and tools]]></title>
            <link>https://medium.com/@piyush3079/google-summer-of-code-with-phpmyadmin-introducing-modern-js-features-and-tools-5b56abcbc18b?source=rss-f6afb4673c9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b56abcbc18b</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Piyush Vijay]]></dc:creator>
            <pubDate>Wed, 16 May 2018 14:32:29 GMT</pubDate>
            <atom:updated>2018-05-16T14:32:29.063Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*WypgP1euDSh2eG7zUG-y3w.jpeg" /></figure><p>I’m very happy to announce that I’ve been working with <a href="https://www.phpmyadmin.net/"><em>phpMyAdmin</em></a> this summer under <a href="https://summerofcode.withgoogle.com/"><em>Google Summer of Code</em></a> program and my project for the same is “<a href="https://summerofcode.withgoogle.com/projects/#5118590865375232">Introducing modern JS features and tools</a>” into <a href="https://www.phpmyadmin.net/"><em>phpMyAdmin</em></a><em>’s</em> code base. The duration of project will be nearly four months (starting April, 23 to August 14).</p><p>The project involves introducing package manager for managing modules so that the modules can be updated easily, introducing ES6 into the code base, <a href="https://babeljs.io/">babel</a> for compiling ES6 to ES5 which the browsers support, <a href="https://webpack.js.org/">webpack</a> for creating minified files which can be served in production mode and <a href="https://eslint.org/">eslint</a> for code linting to find out problematic patterns or code that doesn’t adhere to certain style guidelines.</p><p>phpMyAdmin’s javascript code is written very well in terms of logic and best practices and very well documented but there are some problems with the current code, many of the variables are globally exposed and the external libraries like jquery are used as a downloaded library. So every time a new release is there, these files need to be replaced with the new files manually.</p><p>The global variables can be reduced by using some modern javascript ES6 features like module import and export, block scoped variables and using classes and closures for interdependent files which is not there right now.</p><p>The problem of manually updating files can be removed by using a package manager like <a href="https://www.npmjs.com/">npm</a> or <a href="https://yarnpkg.com/">yarn</a>, which have commands like “<em>npm update” </em>to update the existing modules.</p><p>As the javascript code base of phpMyAdmin is very large, it might not be possible to revamp the whole code base in three months, so my major focus will be on bringing the new code with new features in such state that the existing code and the new code can me compiled together and can be used in production.</p><p>By the end of GSoC program, I expect to implement the aforementioned tools and features without breaking the build status and consistency of the code base and convert as much of ES5 code to ES6, as possible.</p><p><strong>For future</strong>(not part of the program)<strong>:</strong> There can be some other features which can be implemented like unit testing of the functions and type check of various variables which will help in reducing and easily identifying errors related to type check.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b56abcbc18b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>