Live data from Hacker News

Show HN: Dumbo – Hono inspired framework for PHP

github.com

11–20 of 70 posts

Re: Show HN: Dumbo – Hono inspired framework for PHP

#11
post #3

What's your distinguishing point over Slim and Silex (rip) because from your example script I don't see anything different. I mean, how would it, (un?)fortunately PHP syntax doesn't let you play as much with DSLs as Ruby or other languages.

This is what I was thinking as well. From the README examples it looks like every other modern PHP micro framework.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#12
post #6

Earlier quoted context omitted.

I can't comment on all the shortcomings and this may be reflective on my lack of experience with different implementations, but doesn't using GraphQL basically just enable a tonne of unoptimised database queries to occur that, at scale, could cause some serious load issues?

GraphQL says nothing about databases at all. Resolvers can get resources from anything, they’re agnostic. None of that is inherent to the technology but it’s a common folly among developers. This is an issue with REST too but it can be more obfuscated

If a certain arrangement makes it more likely to write bad queries, and it requires extra care to write optimal queries, then it’s a worse interface to a database. I bet for really database intensive applications graphQL adds more work than it saves.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#13
post #3

What's your distinguishing point over Slim and Silex (rip) because from your example script I don't see anything different. I mean, how would it, (un?)fortunately PHP syntax doesn't let you play as much with DSLs as Ruby or other languages.

This is what I was thinking as well. From the README examples it looks like every other modern PHP micro framework.

100% like every other framework. I'm primarily a JS dev, so it's in my nature to create yet another framework...

But seriously, this has been a tool for me to relearn PHP, and those contributing so far have also been learning PHP. If it ends up just bein (and nothing more than) something helps me, as well as others learn more about PHP, it's a success.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#17

If nothing else, I love the logo. A hyper-realistic take on the ElePHPhant [0]. [0] https://www.elephpant.com/

There is definitely a discussion like this under every repo at this point but I genuinely do not understand why people feel the need to have AI art for their GitHub projects. It’s subjective but it just looks tacky and cheap, as is nearly always case with AI art. Some online, non-AI logo generator that slaps a generic royalty free icon with a font would be miles better, or honestly even dropping it altogether and just having a header.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#18
post #12

Earlier quoted context omitted.

GraphQL says nothing about databases at all. Resolvers can get resources from anything, they’re agnostic. None of that is inherent to the technology but it’s a common folly among developers. This is an issue with REST too but it can be more obfuscated

If a certain arrangement makes it more likely to write bad queries, and it requires extra care to write optimal queries, then it’s a worse interface to a database. I bet for really database intensive applications graphQL adds more work than it saves.

It’s not though. Especially since GraphQL makes no mention of databases. It’s a resource agnostic protocol.

This isn’t a technical issue with GraphQL. It’s a culture issue among developers who shoehorn GraphQL and don’t use it appropriately

As someone who works on very database intense application GraphQL saves me more work than its ever caused.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#19

[flagged]

Thanks!

1) When I started this, I thought could this be an HTMX-PHP framework. If you see the examples directory, I added a few HTMX examples early days. Maybe I can niche down on this...

2) If I'm honest, I don't know yet. I first started building the router, then I was told through some feedback that there's been a lot of research (rightly so) into this area and I would be better off implementing the FastRouter that's in Slim, so I switched to that...

As mentioned above, if I could make this framework fit with HTMX more, I could have a PHP framework that talks HTMX with less of the wiring up. I still need to figure this out.

3) I've avoided building an official site/docs for it, but I might have to. I had hoped the examples were a good source, but as more features were added, creating official docs site might have to be my next task.

PHP isn't yet part of my default stack, but I am trying to thanks to what I've been learning building Dumbo.

Re: Show HN: Dumbo – Hono inspired framework for PHP

#20

If nothing else, I love the logo. A hyper-realistic take on the ElePHPhant [0]. [0] https://www.elephpant.com/

There is definitely a discussion like this under every repo at this point but I genuinely do not understand why people feel the need to have AI art for their GitHub projects. It’s subjective but it just looks tacky and cheap, as is nearly always case with AI art. Some online, non-AI logo generator that slaps a generic royalty free icon with a font would be miles better, or honestly even dropping it altogether and jus…

I think it looks cute
Post reply on HN