Of course, the JavaScript kiddies want to call them “hashbangs” because “hash is commonly associated with modern terms involving # such as #hashtag.” No respect for tradition 🧓🏻
> While serverside #JavaScript is far from new, he said, “it feels to me like JavaScript has finally arrived as a serverside language with this, because when I think of #Perl or #PHP or all the other languages, you always have the hashbang.”
Yep, now that you’ve almost killed everything else, welcome to the big leagues of #scripting.
#PHPTek just opened up the ability to get virtual passes to next week’s conference, so if you can’t make it in-person, you can still watch the sessions.
You can get your virtual pass and watch the live stream of the conference at https://phptek.tv
Tickets for the in-person event are still on sale, too. I hope to see you there! https://tek.phparch.com
It is Monday, and I've already written my most ridiculous bit of code of this week. A #PHP method that "converts" a string or class-string into a class-string. By returning it and telling static analyzers it is now a class-string. Mainly because I got tired of putting @var class-string everywhere. And code is used to generate code, not run at service runtime.
This photo popped up in my “featured photos” today.
Taken at #PHPTek 2017 in Atlanta, that’s Sammy, Amanda, @joepferguson, @eric, and @john seated on stage, with @matthewtrask looming behind them on a large projection screen.
I’m pretty sure I was being a jerk in the audience that night.
you know, it’s funny. For all the web pages that get created in PHP, a language with native templatng, we haven’t really created good strategies for making it easy to work with markup.
Where’s the discussion of strategies of creating blocks of HTML/XML? of wrapping heredocs / nowdocs in typehinted functions? of making that markup accessible?
Here's an interesting experiment that just popped in my head. Curious if there are examples of it in #SoftwareDevelopment, #WebDev, and #PHP specifically:
Has anyone ever written (and documented) an application wherein you only pass and receive messages?
function doSomething(RequestInterface $request): ResonposeInterface
That sort of thing.
I've seen folks use Arrays and individual arguments, of course.
So I know there are tons of brilliant #coders on here & I have a question. One of my biggest challenges is #IDE ...
I've been using notepad for #JavaScript, #PHP & #html & #css which I know is really holding me back, but... I don't want an IDE that looks like the inside of a space shuttle cockpit.
Is there an IDE out there that is simple, elegant, & doesn't take up 30GB of disk space while also having essential features like:
Visually shows the relationship between code & output in real-time?