<?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 Advanced Developer on Medium]]></title>
        <description><![CDATA[Stories by Advanced Developer on Medium]]></description>
        <link>https://medium.com/@advanced-developer?source=rss-ef15c04142ef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CfW_5dfs8GrVQaAg72V-oQ.jpeg</url>
            <title>Stories by Advanced Developer on Medium</title>
            <link>https://medium.com/@advanced-developer?source=rss-ef15c04142ef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 15:44:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@advanced-developer/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[How to Sync Toggl Entries to Jira?]]></title>
            <link>https://advanced-developer.medium.com/how-to-sync-toggl-entries-to-jira-7184fd451b40?source=rss-ef15c04142ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/7184fd451b40</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[toggl]]></category>
            <category><![CDATA[time-tracking]]></category>
            <category><![CDATA[sync]]></category>
            <category><![CDATA[jira]]></category>
            <dc:creator><![CDATA[Advanced Developer]]></dc:creator>
            <pubDate>Mon, 05 Sep 2022 08:36:22 GMT</pubDate>
            <atom:updated>2022-09-06T08:51:41.961Z</atom:updated>
            <content:encoded><![CDATA[<h4>Fast, simple, clear.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3tbh4WpDzLQsHJo_UbN-g.jpeg" /></figure><h4>TLDR;</h4><p>Using CLI tool <a href="https://github.com/68publishers/toggl-to-jira#usage">68publishers/toggl-to-jira</a>. Run it locally or in a scheduled pipeline.</p><h4>Why you may need Toggl&#39;s time entries in Jira</h4><p>As a developer working on several projects, especially for more than one client you&#39;re probably using some time tracking tool. <a href="https://toggl.com/track/">Toggl</a> is one of my favorites. I use it for monthly reports, invoicing, or just personal use.<br>When participating in a larger project, some other tools for project management are required. Most of them include time tracking. That’s where the problem arises — you don&#39;t want to use multiple tools for the same thing when you already have one.</p><p>And here comes the <a href="https://github.com/68publishers/toggl-to-jira">68publishers/toggl-to-jira</a> CLI tool to save you. Any time you can sync Toggl&#39;s entry directly to Jira&#39;s issue. All you need are your credentials, API tokens, Docker or a working copy of <strong>toggle-to-Jira&#39;s</strong> tool, and to follow the description convention of entries in Toggl.</p><h4>Description format</h4><p>It&#39;s pretty easy — the<strong> description has to start with Jira&#39;s issue code </strong>and everything else is optional. The pattern is:</p><pre>&lt;IssueCode&gt; [&lt;IssueName&gt;] [&lt;Comment&gt;]</pre><p>For example, if the issue in Jira has code PROJ-123 and the name of the issue is UX improvements, then the following examples are acceptable:</p><ul><li>PROJ-123 - the entry is imported with an empty comment</li><li>PROJ-123 UX improvements - the entry is imported with an empty comment</li><li>PROJ-123 UX improvements Fixed footer on small devices - the entry is imported with a comment Fixed footer on small devices</li><li>PROJ-123 Fixed footer on small devices - the entry is imported with a comment Fixed footer on small devices</li></ul><p>Entries with different formats will be skipped and unknown issue codes will also be ignored.</p><h4>Prerequisites</h4><ul><li>Docker</li><li>Toggl API token, get yours on <a href="https://track.toggl.com/profile#api-token">Profile settings</a></li><li>Jira API token, create one on <a href="https://id.atlassian.com/manage-profile/security/api-tokens">Atlassian account — Security settings — API Tokens</a></li><li>Jira website URL, such as <em>my-organization.atlassian.net</em></li><li>Jira username/e-mail</li></ul><h4>Usage</h4><pre>$ docker run --rm \<br>    -e TOGGL_API_TOKEN=&lt;toggl_api_token&gt; \<br>    -e JIRA_API_TOKEN=&lt;jira_api_token&gt; \<br>    -e JIRA_WEBSITE_URL=&lt;jira_website_url&gt; \<br>    -e JIRA_USERNAME=&lt;jira_username&gt; \<br>    68publishers/toggl-to-jira:latest \<br>    bin/console sync \<br>    --no-interaction</pre><p>By default, it synchronizes all of your records for the previous day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5dkZCvP3L0Myn5iBKsaazA.png" /><figcaption>To synchronize a larger period of time, use the <strong>start</strong> and <strong>end</strong> options</figcaption></figure><h4>Available options</h4><p>The <strong><em>sync</em></strong> command has multiple options. The ones you might be interested in:</p><ol><li><strong><em>--start</em></strong> defines the beginning from which the time entries will be synchronized. It accepts datetime strings — absolute (Y-m-d) or relative, default: yesterday</li><li><strong><em>--end</em></strong> defines the end of the synchronization</li><li><strong><em>--dry-run</em></strong> displays only change set and summary tables without synchronization.</li><li><strong><em>--group-by-date</em></strong> is useful when you have multiple entries per issue in one day. The log description will be composed of all Toggl&#39;s entries.</li><li><strong><em>--rounding</em></strong> regarding the <em>group-by-day</em> option rounds the total time to a given number of minutes.</li></ol><p>For further details check the <a href="https://github.com/68publishers/toggl-to-jira#available-options">README file</a>.</p><h4>Limitations</h4><p>Depending on the range of the synchronization interval (start/end), you may run into the limits of one of the APIs. Therefore it&#39;s recommended running synchronization e.g. every day/sprint/month, etc.</p><p>At the time of writing this article, the tool supports synchronization with one Jira at a time. To sync Toggl with multiple Jira organizations, you may configure multiple jobs with different Jira configurations. The issue code has to be unique across all your Jiras.</p><h4>Conclusion</h4><p>Since Jira Sync in Toggl is a premium feature, the <a href="https://github.com/68publishers/toggl-to-jira">68publishers/toggl-to-jira</a> can be comfortably synced with all handy features like <strong>dry-run</strong>, <strong>group-by-day</strong>, or even <strong>rounding</strong> which you’ll appreciate when you’re not very meticulous about tracking time.<br>Setting up a scheduled pipeline e.g. in GitLab will give you an <strong>out-of-the-box solution</strong> for the price of no more than a coffee.</p><p>Another advantage is that you keep all historical data and can look at it retrospectively, independent of your client or the used software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7184fd451b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing the Symfony UX]]></title>
            <link>https://medium.com/swlh/introducing-the-symfony-ux-a3be202bc643?source=rss-ef15c04142ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3be202bc643</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[symfony]]></category>
            <dc:creator><![CDATA[Advanced Developer]]></dc:creator>
            <pubDate>Fri, 01 Jan 2021 20:10:31 GMT</pubDate>
            <atom:updated>2023-04-03T08:29:45.936Z</atom:updated>
            <content:encoded><![CDATA[<h4>Write user-friendly applications with minimum effort</h4><p>Are you interested in how to easily write web applications with almost perfect UX even without the help of a frontend developer? Is Symfony UX worth trying? Then carry on reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oBGsSKXpOhp6bbZ5" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4G9L0yDadViEJ4ikhINpw.png" /></figure><p>At the beginning of December, during the <a href="https://live.symfony.com/2020-world/schedule">SymfonyWorld Online 2020</a> conference, a set of packages was introduced which brings an easier integration of JavaScript with Symfony. The overall name Symfony UX currently includes five packages, with the most interesting and definitely the most beneficial <strong>Swup</strong>. First things first, let’s look at the given issue quite from the beginning.</p><h3>For whom is Symfony UX intended?</h3><p>Primarily for developers or developer teams where there is a low representation or rather low experience with front-end development. You can therefore use it perfectly on the projects where you want to have the best possible ratio of price/UX. Typically for quick prototyping when you need to deliver MVP to be able to validate the business value of the given project.</p><p>In this way, you do not have to manage the work of back-end and front-end developers, all the work can be easily done just by a more experienced back-end developer with minimum overlap to JS. You can therefore use the saved resources for the development of new functionalities or possibly for writing automated tests.</p><blockquote>Prototyping? That sounds like not being production-ready…</blockquote><p>On the contrary. With the help of Symfony UX, you can build a production application with perfect, intuitive, and usable UX, no matter whether you develop e-commerce projects, extensive ERP/CRM systems, intranets, or your new startup.</p><h3>Does it mean that we can throw away React, Vue, etc.?</h3><p>Definitely not. Symfony UX fulfills a long-term gap that has so far been solved by each developer on their own. The application will thus not be fully reactive but gets very close to it. An overwhelming majority of users will not notice the difference between the ajaxified application with the help of Symfony UX and the application written in React. And this is the point.</p><p>Symfony UX is hence one of the possibilities of how to develop applications that are more user-friendly with the use of the current stack, without the necessity of investing tens to hundreds of hours in reactivity with the help of SSR, especially at the already existing projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_5g6FYUERUK1gfNA7H_pw.png" /><figcaption>Projection of the price/UX ratio for individual solutions. Note that the exact rate for the used technologies depends on your team’s experience.</figcaption></figure><p>The use of Symfony UX does not restrict you in any way from the use of other front-end libraries. But it’s good to keep in mind that for such a mixed stack of multiple technologies that solve one thing differently, you should have a good reason. It depends a lot on what project you are actually developing.</p><h3>Swup — for the SPA-like applications</h3><p>During the development of modern web applications which are usually being rendered on the server, ajax requests are used for the improvement of UX — this means sending or retrieving the content in such a way that there is no disruption in displaying the existing page.</p><p>Most developers have so far solved the handling of the ajax requests on their own which often complicates the reusability. With the help of the <a href="https://swup.js.org/">Swup.js</a> integration, you can easily add dynamic elements, and smooth transitions between pages even with the change of URL in the address line. As a result, the application will approximate the SPA.</p><h3>The technical part</h3><p>How does it all work? First of all, it must be said that no innovative solution is concerned. Other frameworks, e.g. <a href="https://doc.nette.org/en/application/ajax?referrer=www.68publishers.io">snippets in Nette</a>, have been working on a similar principle for many years. Your first ajax demo probably used the same approach. Which is not essentially wrong.</p><p>In practice, it means that we wrap up a part of HTML content, or rather a template, in the so-called snippet. The dispatched ajax request will be processed on the server and the content of the page does not return in the response as a whole, but only for the given snippet or snippets. JavaScript on the client will consequently take care of redrawing old snippets with new ones.</p><p>As a side effect, we have a size reduction of the transmitted content and thus a burden on the infrastructure.</p><p>It must be mentioned that the <strong>integration of Swup with Symfony did not go such a long way</strong>. The response always comes back as a whole and defined snippets are consequently redrawn from it. As a result, there is considerable space for optimization here. On the other hand, the implementation of such a solution does not require changes in PHP code, but only in templates.</p><h3><strong>Other prepared integrations</strong></h3><p>Together with the Swup integration, the following components are ready to use:</p><ul><li>Dropzone — drag&amp;drop elements for Symfony forms</li><li>Cropper.js — easy trimming of images</li><li>LazyImage — using the method of blurring as a placeholder for psychological optimization</li><li>Chart.js — rendering of graphs directly from PHP</li></ul><h3>Pitfalls</h3><p>Currently, the whole Symfony UX initiative is presented as <em>experimental</em>, which means that it is not subject to <a href="https://symfony.com/doc/current/contributing/code/bc.html">Symfony’s BC policy</a>, although there is an effort to preserve it.</p><p>It will also be interesting to watch whether and in which way the community accepts the offered hand. Whether there will be a sufficient number of developers or whether it is just a dead end as was the case with Symfony 1 and Prototype.</p><p>Some developers have therefore objections to the used library <a href="https://stimulusjs.org/">Stimulus</a>, in the same way as the managing of front-end dependencies by means of Composer — the winner here was evidently the simplicity over the “correctness” of a solution when front-end dependencies should be managed by a front-end package manager like NPM, Yarn, etc.</p><h3>Conclusion</h3><p>Symfony UX brings a certain measure of standardization and the first components for ajaxification of Symfony applications in an official way. Therefore, this is another logical step in the direction that was already shown earlier by e.g. integration of <a href="https://symfony.com/doc/current/frontend.html">Webpack</a>.</p><p>If you do not have a crowd of front-end developers and a sufficient budget related to it, the matter concerned is the must-have solution for the development of web applications based on Symfony with a pleasant user experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3be202bc643" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/introducing-the-symfony-ux-a3be202bc643">Introducing the Symfony UX</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>