<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webdev on Rihards Steinbergs</title><link>https://rihards.com/blog/webdev/</link><description>Recent content in Webdev on Rihards Steinbergs</description><generator>Hugo</generator><language>en</language><copyright>© 2026 Rihards Steinbergs</copyright><lastBuildDate>Sun, 05 May 2019 16:07:03 +0000</lastBuildDate><atom:link href="https://rihards.com/blog/webdev/index.xml" rel="self" type="application/rss+xml"/><item><title>Acquia Dev Desktop access from local network</title><link>https://rihards.com/2019/acquia-dev-desktop-local-network/</link><pubDate>Sun, 05 May 2019 16:07:03 +0000</pubDate><guid>https://rihards.com/2019/acquia-dev-desktop-local-network/</guid><description>&lt;p&gt;While typically I prefer something like &lt;a href="https://www.drupalvm.com/" rel="external noopener nofollow" target="_blank"&gt;Drupal VM&lt;/a&gt; over &lt;a href="https://www.acquia.com/drupal/acquia-dev-desktop" rel="external noopener nofollow" target="_blank"&gt;Acquia Dev Desktop&lt;/a&gt; (and that&amp;rsquo;s a different topic) I&amp;rsquo;ve found myself using Dev Desktop more recently, due to how easy, reliably, and quickly it can spin up new copies of Drupal.&lt;/p&gt;&#10;&lt;p&gt;For a project I just recently had to test and fix some Internet Explorer issues. Usually I&amp;rsquo;d use something like BrowserStack, but it happened to be so that I was working from home where I have access to my PC, so I thought why not use that. It would be native testing and overall a smoother experience than BrowserStack (debugging IE11 on BrowserStack can get very frustrating).&lt;/p&gt;</description></item><item><title>Symfony 4: Login Event Listener</title><link>https://rihards.com/2018/symfony-login-event-listener/</link><pubDate>Sat, 10 Feb 2018 18:12:00 +0000</pubDate><guid>https://rihards.com/2018/symfony-login-event-listener/</guid><description>&lt;h3 id="background-information"&gt;Background information&lt;/h3&gt;&#10;&lt;p&gt;This might be documented somewhere already, and probably also blogged about already. But at the time when I was implementing this myself my Google-fu was failing me.&lt;/p&gt;&#10;&lt;p&gt;So I thought I&amp;rsquo;d document this seemingly very common feature, in case someone else is stuck and is searching for an answer.&lt;/p&gt;&#10;&lt;p&gt;Keep in mind this is for Symfony 4. At least that&amp;rsquo;s the version I wrote and tested this for.&lt;/p&gt;</description></item><item><title>100 Days 100 Commits</title><link>https://rihards.com/2018/100-days-100-commits/</link><pubDate>Sun, 21 Jan 2018 14:15:00 +0000</pubDate><guid>https://rihards.com/2018/100-days-100-commits/</guid><description>&lt;p&gt;I&amp;rsquo;m a firm believer that deep inside all of us there is a desire to create. To create something that adds value to the world; something that will make it a better place.&lt;/p&gt;&#10;&lt;p&gt;There&amp;rsquo;s also a desire to consume, and we&amp;rsquo;ve lost much of our desire to create and time to it. It&amp;rsquo;s something that I&amp;rsquo;ve been thinking about for the past months. I find myself too frequently falling into the consumption trap, because it&amp;rsquo;s easier to consume than it is to create.&lt;/p&gt;</description></item><item><title>Bitbucket Pipelines, PHPUnit, PHPCS and CodeCeption</title><link>https://rihards.com/2017/bitbucket-pipelines-phpunit-codeception/</link><pubDate>Wed, 22 Mar 2017 17:01:07 +0000</pubDate><guid>https://rihards.com/2017/bitbucket-pipelines-phpunit-codeception/</guid><description>&lt;h3 id="background-information"&gt;Background information&lt;/h3&gt;&#10;&lt;p&gt;For a while now I&amp;rsquo;ve been thinking about starting a new project, and as with most such cases I&amp;rsquo;ve been thinking that I need to do things better and more proper this time around.&lt;/p&gt;&#10;&lt;p&gt;One of those things has always been the automated testing parts of the project that have fallen behind or lacking in many ways.&lt;/p&gt;&#10;&lt;p&gt;So I set a small private repository on Bitbucket to see what my options are, what I could work with, etc. and started looking into the various tools like &lt;a href="https://jenkins.io/" rel="external noopener nofollow" target="_blank"&gt;Jenkins&lt;/a&gt;, &lt;a href="https://travis-ci.org/" rel="external noopener nofollow" target="_blank"&gt;Travis&lt;/a&gt;, and &lt;a href="https://circleci.com/" rel="external noopener nofollow" target="_blank"&gt;CircleCI&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>WordPress tips to make your life easier</title><link>https://rihards.com/2016/wordpress-development-tips/</link><pubDate>Fri, 01 Jul 2016 06:04:07 +0000</pubDate><guid>https://rihards.com/2016/wordpress-development-tips/</guid><description>&lt;p&gt;During the past ten (on and off) years I&amp;rsquo;ve worked on around thirty WordPress projects, some have been great, and some have been not so great.&lt;/p&gt;&#10;&lt;p&gt;And over the course of those years I&amp;rsquo;ve collected many links, tips, hints and ideas that make WordPress development much easier than it might seem to new comers.&lt;/p&gt;&#10;&lt;p&gt;So here&amp;rsquo;s my list of hopefully helpful items when it comes to WordPress development and in general running a WP site.&lt;/p&gt;</description></item><item><title>HTTP/2, SSL &amp; Hugo</title><link>https://rihards.com/2016/http2-ssl-hugo/</link><pubDate>Mon, 27 Jun 2016 18:04:07 +0000</pubDate><guid>https://rihards.com/2016/http2-ssl-hugo/</guid><description>&lt;p&gt;Given that I don&amp;rsquo;t write blogs anymore all that often you might have not noticed that I&amp;rsquo;ve once again made changes to it.&lt;/p&gt;&#10;&lt;p&gt;This time I&amp;rsquo;ve added HTTP/2 support (with SSL of course as that&amp;rsquo;s a requirement), the site is now also powered by the wonderful &lt;a href="https://gohugo.io/" rel="external noopener nofollow" target="_blank"&gt;Hugo&lt;/a&gt; on a new Linode VPS that&amp;rsquo;s running Debian 8 Jessie.&lt;/p&gt;&#10;&lt;p&gt;The theme (now for Hugo) has also been updated and streamlined to be even smaller in file size. In addition to only using SVGs now, so the icons should be as crisp as they possibly can be.&lt;/p&gt;</description></item><item><title>Dealing with a large amount of redirects</title><link>https://rihards.com/2013/dealing-with-large-amount-of-redirects/</link><pubDate>Sat, 05 Oct 2013 13:04:07 +0000</pubDate><guid>https://rihards.com/2013/dealing-with-large-amount-of-redirects/</guid><description>&lt;p&gt;A while ago I was asked to create thousands of redirects for a customer. They had decided to change their domains and the URL structure of most of their pages, so dynamic or smart URL redirecting wouldn&amp;rsquo;t work.&lt;/p&gt;&#10;&lt;p&gt;Adding thousands of Redirect or RewriteRule in the Apache config (or even worse, .htaccess) always seemed like a lousy way of doing it. So I did some research to find out if there&amp;rsquo;s a better way of doing it, and sure enough there is. It&amp;rsquo;s called &lt;a href="http://httpd.apache.org/docs/current/rewrite/rewritemap.html" rel="external noopener nofollow" target="_blank"&gt;RewriteMap&lt;/a&gt;, which lets you point to a file that contains the forwarding / redirecting URLs.&lt;/p&gt;</description></item><item><title>Moustachify gets a mention in the New York Times</title><link>https://rihards.com/2011/moustachify-gets-mention-new-york-times/</link><pubDate>Sun, 13 Nov 2011 13:04:07 +0000</pubDate><guid>https://rihards.com/2011/moustachify-gets-mention-new-york-times/</guid><description>&lt;p&gt;&lt;strong&gt;2014 update:&lt;/strong&gt; it would seem that Moustachify no longer works, and I&amp;rsquo;m guessing this has to do with missing dependencies. Perhaps a project for another rainy weekend, just like the first version was.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;Every now and again I check how my sites are doing by going through Google Analytics. Usually it&amp;rsquo;s just to check the average visitors and such, but sometimes there are nice surprises (or then sometimes not so nice ones as well).&lt;/p&gt;</description></item></channel></rss>