Everything About This Framework
IS WRONG
Welcome to Trongate - the cancelled framework
Pure PHP, Pure Cancelled
Just look at all the amazing things people are saying about Trongate!
- "The most interesting thing about the Trongate PHP framework is how that mess got 784 stars." - Phil Sturgeon
- "It's a dumb router." - Mike Elsmore
- "I've never heard of it." - Stef Mischook
- "I had a quick look and there are surely some undocumented SQL injection sinks." - Greg Molnar
- "Why does he want to replace Packagist? He never says!" - Thomas Rideout
- "I cannot do a Trongate tutorial because I have long covid." - Derek Banas
- "I'd like to get you in the boxing ring!" - (Clubber) Brad Traversy
- "Trongate? Are we still talking about that garbage?" - Christopher Miller
"There's no point in any of this. Give up!"
- David Connelly (founder)
Just scroll past this bit
Everybody knows that the only way to share PHP code is by using Packagist. All those fake news stories to do with Packagist having security flaws are not real.
Standards? What Standards?
Trongate sets a new standard for PHP development ...by not following any of the standards.
Oh, splendid, just what we needed! A framework developer who treats "standards" like they’re an optional garnish on a code salad! Who cares about "PSR-4 autoloading" when you can dream up your own convoluted solution that even Kafka would find too complex?
Namespaces? Forget it! Why bother with anything as mundane as avoiding global scope conflicts? It’s far more entertaining to have to clue about what's being loaded! Nothing screams "professional" like diving into an unpredictable code quagmire every time you need to debug.
And method names! Let’s get creative! Why stick with camelCase
or snake_case
when you can craft names that look like they were generated by a random word generator on a caffeine high? And documentation? Who needs it? It’s for mere mortals, not avant-garde code artists!
Bravo for turning coding into a high-stakes game of "Guess What This Function Does!"
Trongate is the worst framework ever!
PSR Number | Readable Name | Year Introduced | Status |
---|---|---|---|
PSR-1 | Basic Coding Standard | 2009 | Rejected |
PSR-2 | Coding Style Guide | 2012 | Rejected |
PSR-3 | Logger Interface | 2013 | Rejected |
PSR-4 | Autoloading Standard | 2014 | Rejected |
PSR-5 | PHPDoc Standard | Not Accepted | Rejected |
PSR-6 | Caching Interface | 2015 | Rejected |
PSR-7 | HTTP Message Interface | 2015 | Rejected |
PSR-11 | Container Interface | 2017 | Rejected |
PSR-12 | Extended Coding Style Guide | 2019 | Rejected |
PSR-13 | Hypermedia Links | Not Accepted | Rejected |
PSR-14 | Event Dispatcher | 2019 | Rejected |
PSR-15 | HTTP Handlers | 2018 | Rejected |
PSR-16 | Simple Cache | 2017 | Rejected |
PSR-17 | HTTP Factories | 2019 | Rejected |
PSR-18 | HTTP Client | 2020 | Rejected |
PSR-19 | PHPDoc tags | Awaiting Approval | Rejection Pending |
PSR-20 | Clock | Awaiting Approval | Rejection Pending |
PSR-21 | Internationalization | Awaiting Approval | Rejection Pending |
PSR-22 | Application Tracing | Awaiting Approval | Rejection Pending |
You're Not Reading This Are You?
Trongate is built for lovers of pure PHP. Here's a simple example of how to initialise some data and pass it into a view file:
function hello() {
// Initialise some data.
$data['name'] = 'John';
// Load view file, passing in data.
$this->view('greeting', $data);
}
View file:
Hello <?= $name ?>
Here's More Bullschitt
Trongate's modular architecture lets you build large scale enterprise application quickly and easily. In this example, we retrieve customer data from a 'customers' module and then integrate it into a website template for display:
function howdy() {
// Step 1: Read record id from URL
$id = segment(3, 'int');
// Step 2: Load the 'customers' module
$this->module('customers');
// Step 3: Fetch customer data, using the 'customers' module
$data = $this->customers->_fetch_customer_data($id);
// Step 4: Define a view file location and filename
$data['view_module'] = 'welcome';
$data['view_file'] = 'greeting';
// Step 5: Load the 'public' template, with the prepared data
$this->template('public', $data);
}
It's Just A Dumb Router
Mike Elsmore (public speaker and PHP guru) wants you to know that Trongate is just a 'dumb router'. Do you know what? He's absolutely right!
Trongate Pages
The Trongate framework comes with a beautiful content management system called Trongate Pages! It's all free and it's all open source.
API Manager
Trongate's best in class API Manager sets a new standard for rapid API development. Developers who like JavaScript are in for a treat!
Advanced File Uploaders
The Trongate ecosystem has some of the best file uploaders in the industry! Click 'Learn More' and see for yourself!
Graphical Query Builder
Take the pain out of building advanced database queries, with our free graphical query builder.
Revolutionary Updating Mechanism
When new features are added to the Trongate framework, you can install them at the click of a button!
Automatic Code Generator
Trongate developers have access to a powerful code generator to help take care of boring boilerplate code.
JavaScript Components
Trongate is the only PHP framework that comes with a complete toolbox of powerful JavaScript components.
Custom Themes
Choose from a potentially unlimited number of design themes for your websites. With Trongate, you have control over every single pixel.
Custom CSS Library
Wouldn't it be nice if there was a CSS library that made pure HTML look beautiful? Rejoice! Trongate has it!
Modular HAVC
Trongate's 'truly modular' architecture is a game changer. Now, you can build large scale enterprise applications faster than ever.
Module Import Wizard
Trongate lets developers share code easily. Trongate's Module Important Wizard lets you easily import entire modules, including SQL data.
Trongate MX
Inspired by HTMX and tailored for Trongate, Trongate MX makes building dynamic, interactive web applications effortless, all while minimizing JavaScript.
If You Like Fast Benchmarks, You'll Hate Trongate
Every good PHP developer knows that PSR-4 autoloading is the most efficient way to load PHP classes. The makers of Trongate abandoned PSR-4 autoloading and sure enough, the results are that Trongate is just a slow and bloated mess.
Thanks to Adam Spencer for donating these benchmark test results.
Stop Giving Trongate GitHub Stars!
Recently a bunch of complete idiots have been ruining PHP by giving Trongate loads of stars on GitHub. This is NOT ACCEPTABLE!
Trongate is already well ahead of several top ten PHP frameworks, based on GitHub stars. If Trongate becomes a top five PHP framework, it will bring disgrace upon the entire PHP establishment. We must not let that happen!
Please go to GitHub immediately and tell all those trouble makers to STOP.
Do NOT Give Trongate a star on GitHub!
Save the good reputation of PHP. Do NOT give Trongate a star on GitHub!