TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Trongate is the new PHP framework for developers who love pure PHP

8 pointsby dlcmhalmost 2 years ago

4 comments

duskwuffalmost 2 years ago
I see several <i>huge</i> red flags even on a cursory examination:<p>1) The framework deliberately rejects industry-standard tooling like Composer for installation and uses a desktop app (actually an Electron app with a faux-retro theme) for installation, updates, and boilerplate code generation.<p>2) The framework itself is not written in idiomatic, modern PHP. It doesn&#x27;t use namespaces, or strict_types, or indeed any types at all. It contains no inline documentation, but does (unfortunately) contain a substantial amount of inline HTML. There&#x27;s no indication that any of it has been run through a static analyzer, or even a prettifier. I haven&#x27;t looked at the code generated by the desktop app, but I have little doubt that it&#x27;d be similar.<p>3) There are some serious structural problems inherent to the framework. The most obvious is that their &quot;Model&quot; class isn&#x27;t actually a model base class; it&#x27;s a simple database abstraction layer which only supports trivial CRUD queries, and which conflates controllers with database tables.<p>4) The developers often seem focused on vanity metrics like gathering Github stars (&quot;we need 1,200 GitHub stars to make Trongate a top ten PHP framework&quot;) and gaming benchmarks (requests&#x2F;sec with an empty application is a poor metric).<p>None of this is conducive to a quality PHP framework. I don&#x27;t want this to sound too harsh, but the authors really need to become more familiar with existing frameworks and development workflows before setting out to create their own.
THENATHEalmost 2 years ago
If you love pure php, you dont need a framework. Just write php. You claim to love it, so love writing the same shit over and over
koizalmost 2 years ago
Interesting, but honestly I&#x27;ve never seen much of a reason for the php frameworks out there composer and vanilla php are just fine.
3000almost 2 years ago
FlightPHP does the trick.