• Software
  • Random
  • Reading
  • Life
  • Leadership
Jake LitwickiJake Litwicki
  • Blog
  • Library
  •  Goals
    • 2021 Goals
    • 2020 Goals
    • 2019 Goals
    • 2018 Goals
  • Woodworking
  • The MOAB

symfony2

Random

“Smart” Accessor in Doctrine Entity

Easily add some logic to filter out specific entities from an ArrayCollection in Symfony2. In this simple example, I wrote an app that had Node, and Comment entities separately, as well as an explicitly defined NodeComment entity. In my Node entity, I want to serialize all of the associated comments. But rather than Read more…

By Jake Litwicki, 6 years ago
Random

Update User Entity on login

I recently built an app that required we update the authenticated user’s lastOnlineDate every session so we can quickly track who has been online in the last interval of time. We set this interval as a parameter and used that to avoid hitting the database more than absolutely necessary to accomplish Read more…

By Jake Litwicki, 6 years6 years ago
Related Posts
    Categories
    • Gaming
    • Leadership
    • Life
    • Random
    • Reading
    • Software
    • Woodworking

    jakelitwicki

    Finding Mr. Shrimp is always a fun game! Finding Mr. Shrimp is always a fun game!
    Load More... Follow on Instagram

    Jake LitwickiFollow

    Jake Litwicki
    Retweet on TwitterJake Litwicki Retweeted
    nytimesThe New York Times@nytimes·
    20 Jan

    Watch Amanda Gorman, the youngest inaugural poet in U.S. history, recite her poem “The Hill We Climb” at President Biden's inauguration. http://nyti.ms/39NsKWB

    Reply on Twitter 1351972433847312385Retweet on Twitter 13519724338473123853722Like on Twitter 135197243384731238516759Twitter 1351972433847312385
    jakelitwickiJake Litwicki@jakelitwicki·
    20 Jan

    In addition to engineers of all levels I am especially excited to find an engineering leadership partner to help lead the @AWSAmplify team: https://www.amazon.jobs/en/jobs/1371647/software-development-manager-aws-amplify-cli

    Reply on Twitter 1351758618526248960Retweet on Twitter 13517586185262489605Like on Twitter 135175861852624896019Twitter 1351758618526248960
    Load More...

    Jake Litwicki

    Jake Litwicki
    YouTube Video UCKJ_tutmLkhtArpgeQ0BlsA_B0nCIAdPHPw Side by side Razer Kiyo webcam and Canon T6i Rebel on Windows 10.
    Side by side Razer Kiyo webcam and Canon T6i Rebel on Windows 10.
    Webcam vs. DSLR
    YouTube Video UCKJ_tutmLkhtArpgeQ0BlsA_B0nCIAdPHPw
    Sometimes you just gotta dance
    YouTube Video UCKJ_tutmLkhtArpgeQ0BlsA_o2S682vAze8
    Load More... Subscribe

    • Curriculum Vitae
    • 2019 Goals
    • Blog
    The thoughts and opinions shared on jakelitwicki.com are purely my own.