Posts

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

sarah, to random
@sarah@phpc.social avatar

I’ve ordered everything I need now to wire my house, including the media center, the cabling, the testers and crimpers and more.

This weekend: wiring time.

Daddaniele,
@Daddaniele@phpc.social avatar

@sarah RJ45 plug standard or pass through ? Patch panel keyston ?

sarah,
@sarah@phpc.social avatar

@Daddaniele I’m doing rj45 connections and wired keystone drops.

sarah, to random
@sarah@phpc.social avatar

Figuring out what your customers want is easy.

But figuring out what they need is harder.

A customer will say "I need a pen" but what they really mean is "I need a written document." The value is not in selling the pen (a commodity) but in producing the document.

Produce the document and you've solved their problem. Give them a pen and you've merely made the problem obvious.

sarah, to php
@sarah@phpc.social avatar

Here are my top 5 favorite Composer packages in #php (in no particular order):

  1. mezzio/*
  2. psr/*
  3. monolog/monolog
  4. league/flysystem
  5. symfony/console

There are many others I love but I find myself using these on most if not all projects.

sarah, to random
@sarah@phpc.social avatar

Just sheltered in my basement from #mdtornado. First time ever in 17 years of living here.

sarah, to php
@sarah@phpc.social avatar

I have used for over twenty years. I know it’s power and I’ve seen it mature as a first class language.

Haters will hate. But PHP is one of the most powerful and versatile languages in the world.

From CLI to web and everything in between, PHP can do it. You can and should feel good about choosing PHP for your project.

sarah, to php
@sarah@phpc.social avatar

I'm offering a FREE copy of my book, Mastering Object-Oriented PHP, to all members of the #php community. It's my way of giving back. Grab your copy at https://masteringobjectorientedphp.com today.

sarah, to random
@sarah@phpc.social avatar

Sarah-Savage.com: Backups matter. https://sarah-savage.com/backups-matter/

sarah, to random
@sarah@phpc.social avatar

Getting ready to network the house and practicing making connections. Morning project.

sarah, to php
@sarah@phpc.social avatar

The language is incredibly powerful. It’s great for many things. But not everything.

I wouldn’t write a web server in PHP and deploy it to production.

But the fact that I could makes the language incredibly powerful.

thgs,
@thgs@phpc.social avatar

@sarah not booting everything every time can be quite performant though

ramsey,
@ramsey@phpc.social avatar

@sarah It does have a JIT, now, and the JIT is getting better in 8.4, so it’s not so far fetched to consider long-running, single-threaded processes written in .

sarah, to random
@sarah@phpc.social avatar

Do you include built-in functions in your namespace “use” declarations or not? Why or why not?

heiglandreas,
@heiglandreas@phpc.social avatar

@sarah is "iconv" or "mb_strpos" actually built in? 😉

It gives a nice overview over what is used.

But usually my codestyle says I should not include functions at all 😁

ramsey,
@ramsey@phpc.social avatar

@stevegrunwell @sarah There’s actually a micro-optimization reason for either importing or using \ in front of internal functions/classes, and that’s because PHP will first look in the current namespace to try to resolve the symbol. It falls back to the global namespace, if it can’t find it. If you tell it exactly where it is, PHP doesn’t have to do that work.

sarah, to random
@sarah@phpc.social avatar

New post: Backups matter. https://sarah-savage.com/backups-matter/

sarah, to random
@sarah@phpc.social avatar

The SOLID principles are backwards.

Starting with SRP produces confusion in software developers.

Starting with Dependency Inversion helps clarify why we have the L and the O and the S and the I.

All of SOLID stems from the dependency inversion principle. It's a shame that it's listed last.

The acronym should be DLOSI.

sarah, to random
@sarah@phpc.social avatar
sarah, to php
@sarah@phpc.social avatar

What is your favorite composer package in #php?

mwop,
@mwop@phpc.social avatar

@sarah psr/http-server-middleware!

paulshryock,
@paulshryock@phpc.social avatar

@sarah pest

sarah, to php
@sarah@phpc.social avatar

One of the things I've learned over the last twenty years is there's plenty of work in #php.

But something else I've learned is that you need a network to find the work.

Building that network should happen in the good times. You never know when you'll need it in the lean times. Plus, having a network means having a community to support you and to be a part of - and that's never a bad thing!

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