@doefom@mastodon.social
@doefom@mastodon.social avatar

doefom

@doefom@mastodon.social

Iโ€™ve been a web developer for years now and built tons of stuff in the web. Most of it I never finish but when I do, I get 0 users ๐Ÿ‘

Laravel, Statamic, Livewire, Tailwind, Alpine

This profile is from a federated server and may be incomplete. Browse more on the original instance.

doefom, to Laravel
@doefom@mastodon.social avatar

Using the "Higher Order Messages" of can save you some code. The following examples all filter for published posts in three different ways. I'm not yet sure which way I like the most. Probably (2) and (3).

doefom, to Laravel
@doefom@mastodon.social avatar

Does Google index my web application when using with (no SSR)? I read articles that say it doesn't, I read articles that say JS is no longer an issue for Google. What's true? Or can there even be a clear answer here?

doefom, to Laravel
@doefom@mastodon.social avatar

models can use casts to transform a value when either getting or setting it. In this case I use this feature to remove id, class and style attributes from an HTML string while I want to keep the other ones.

doefom, to Laravel
@doefom@mastodon.social avatar

That's by far the shortest @statamic addon I have ever coded, fitting on one single screenshot. It's a wrapper of the package "browser-detect" by "hisorange". You can use it to find out all sorts of stuff about the requesting browser and device or render content for specific devices only.

Original package: https://github.com/hisorange/browser-detect

My Statamic wrapper:
https://statamic.com/addons/doefom/statamic-browser-detect

Screenshot of template code using the antlers templating language of the Statamic framework. It shows conditional statements that check if the browser is a mobile device or print the device type.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • normalnudes
  • rosin
  • ngwrru68w68
  • GTA5RPClips
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • Leos
  • khanakhh
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • tacticalgear
  • tester
  • JUstTest
  • All magazines