rodhlann,
rodhlann avatar

Curious if anyone here knows why PHP was chosen for kbin's implementation? I know PHP has come a long way, but there's still a lot of uncertainty / dislike for it out there. @ernest might just really like PHP, which is totally cool, but as someone who would like to contribute, but also as someone who hasn't touched PHP in almost 10 years, I'm genuinely curious!

cody,
cody avatar

@rodhlann I wonder why people think that the choice of programming language is an indicator of the quality and success of a project. It's as if or some other currently trendy solution automatically solves any problems.

BitBag acquired Sylius a few days ago, so maybe development will speed up a bit.

rodhlann,
rodhlann avatar

@cody I think for me it's the quantity of developers willing to work with a technology. JS has a ton of terrible code out there, but people love working with it, and there's a lot of incredible JS developers out there. People flock to learn that technology because it's solid, easy to use, and generally enjoyable.

As a JS / Java dev myself, I came here assuming kbin would be a JS project, and when I learned it was PHP I immediately recoiled. Not because I personally hate PHP, but because I don't know the technology (or many other devs who do) and found it interesting from an OSS perspective because there's (in my world) less dev resources available to help maintain a PHP project.

I agree though, build something in the stack you know. If @ernest likes PHP and that's where he thrives, it makes sense to do it there. PHP people will come to assist. Or you might get people (like me) to maybe rethink their perspective, because I'd love to help out here, but it's gonna be a new experience for sure!

symfonystation,
symfonystation avatar

@rodhlann It is built with tools from the Symfony ecosystem. Which is strong in Poland. And I am guessing @ernest is a Symfony developer. There are specific API Platform apis to work with Activity Pub. And a schema tool to work with federation.

rodhlann,
rodhlann avatar

@symfonystation

@ernest

Ah that's super interesting! I'll need to look in to Symfony more, but I wasn't aware that ActivityPub had stack specific tooling

ernest,
ernest avatar

@symfonystation @rodhlann That's mostly true. I like the ease with which the symfony allows me to iterate and experiment with kbin. I wrote the integration with the ActivityPub from scratch, but it's still is the prototype, and I have plans to do it properly. Also, it seems that I'm not the only one who likes php https://codeberg.org/Kbin/kbin-core/pulls ;)

There are indeed many solid projects built on Symfony. I recommend checking out Sylius - they do things the proper way imo ;)

rodhlann,
rodhlann avatar

@ernest

@symfonystation

Thanks for the reply! It's very exciting to be a part of something that you'd still consider to be a prototype! Well done so far! I've definitely met other developers that love PHP, though they are few and far between 'round these parts ha! Might be giving it another look here soon :D

I'll definitely check out Sylius! Great to learn about all these new (to me) technologies

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