<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Play on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/play/</link>
    <description>Recent content in Play on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 27 Dec 2022 22:25:45 -0500</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/play/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pagination in Scala with Slick</title>
      <link>https://www.bradcypert.com/pagination-in-scala-with-slick/</link>
      <pubDate>Mon, 02 Sep 2019 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/pagination-in-scala-with-slick/</guid>
      <description>&lt;p&gt;Pagination is the idea that a list of content can be broken into separate pages. When I first heard of pagination, the common practice was to use query params to influence which rows of content was loaded by the server. If you clicked the “next” button on the page, it would reload the page with new query params.&lt;/p&gt;&#xA;&lt;p&gt;Fundamentally, pagination hasn’t changed much, but the landscape in which it exists has changed drastically. While some monolithic apps are still built today, the pattern for modern web development involves APIs and SPAs. In the example we’ll cover today, we’ll talk about the API side of things and use Scala as our example language.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting Up Sentry Logging with Scala / Play</title>
      <link>https://www.bradcypert.com/setting-up-sentry-logging-with-scala-play/</link>
      <pubDate>Tue, 16 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/setting-up-sentry-logging-with-scala-play/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://sentry.io/welcome/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Sentry&lt;/a&gt;&#xA; is an error tracking service that helps you quickly track errors in many environments. While it’s not the only option for error reporting (&lt;a href=&#34;https://rollbar.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Rollbar&lt;/a&gt;&#xA; comes to mind since they sponsor most of the podcasts I listen to), Sentry is my favorite option. Today, we’re going to setup Sentry reporting for our Scala / Play application.&lt;/p&gt;&#xA;&lt;HeadsUp title=&#34;Unfamiliar with Play?&#34;&gt;&#xA;  The [Play framework](https://www.playframework.com/) is a web framework for&#xA;  building predictable and scalable applications. Featuring support for Java and&#xA;  Scala, the Play framework is a great consideration when choosing your next&#xA;  framework.&#xA;&lt;/HeadsUp&gt;&#xA;&lt;h2 id=&#34;creating-an-account&#34;&gt;Creating an account&lt;/h2&gt;&#xA;&lt;p&gt;First, you’ll need to create a free account on Sentry’s website. They’ll ask you to sign up and create a project, go ahead with those steps. At the end of that process, they’ll show you a DSN ( a client key ). Copy that key as we’ll need it in a few moments.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Scheduling background tasks in Play with Scala</title>
      <link>https://www.bradcypert.com/scheduling-background-jobs-in-play-with-scala/</link>
      <pubDate>Tue, 13 Feb 2018 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/scheduling-background-jobs-in-play-with-scala/</guid>
      <description>&lt;p&gt;A common theme with web applications is to run tasks in the background. Commonly, they’re ran at set intervals. You’ll find data processing servers, online-game servers, and several other types of servers using regularly scheduled background tasks and today, you’ll learn how to implement these tasks in Play with Scala.&lt;/p&gt;&#xA;&lt;p&gt;This is my first post on Scala and Play but expect to see more in the future. I’ve been digging into it deeply and have decided that its worth investing the time and effort into both — the language and the framework. It’s worth mentioning that this tutorial assumes you’re using Guice for dependency injection.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
