Has anyone explored using Trongate on the AWS Serverless LAMP stack using Bref?
The documentation says, "we can use our favorite [PHP] framework as usual, like Laravel or Symfony"
https://bref.sh/docs/runtimes/http.html
Trongate on AWS Serverless LAMP stack using Bref
4 years ago
4 years ago
#1
4 years ago
#2
You would have to contact Bref about their support for Trongate.
Sorry I do not have experience with that.
Sorry I do not have experience with that.
4 years ago
#3
What issues are you facing?
4 years ago
#4
Choosing the full technology stack is the biggest issue I'm facing. Currently supporting a Microsoft, C#, and Blazor app that I'd like to move to something else. Spent a couple months now researching options.
I see the future being serverless. Would like to make sure my choices are compatible with the future. I can't decide what the future looks like for PHP. It's good to see tools like Trongate, Bref, and php-wasm are available. If it wasn't for Trongate I wouldn't even be considering PHP.
Back to the original question. Can I run Trongate serverless or will I have to manage my own backend LAMP stack?
I see the future being serverless. Would like to make sure my choices are compatible with the future. I can't decide what the future looks like for PHP. It's good to see tools like Trongate, Bref, and php-wasm are available. If it wasn't for Trongate I wouldn't even be considering PHP.
Back to the original question. Can I run Trongate serverless or will I have to manage my own backend LAMP stack?
4 years ago
#5
Hi. Welcome! Good to see you.
Unfortunately, the answer to your question is 'no'.
Trongate is not a general purpose framework. When you try to create general purpose frameworks you end up building frameworks that suck. Here's the guy who made PHP elaborating on that:
https://www.youtube.com/watch?v=DuB6UjEsY_Y
I have considered the possibility of building a micro-framework that would be serverless. However, finding the time is not easy and I also don't want to do anything that takes people away from Trongate.
Hey, thanks for being here and for your positive feedback!
DC
Unfortunately, the answer to your question is 'no'.
Trongate is not a general purpose framework. When you try to create general purpose frameworks you end up building frameworks that suck. Here's the guy who made PHP elaborating on that:
https://www.youtube.com/watch?v=DuB6UjEsY_Y
I have considered the possibility of building a micro-framework that would be serverless. However, finding the time is not easy and I also don't want to do anything that takes people away from Trongate.
Hey, thanks for being here and for your positive feedback!
DC
4 years ago
#6
Does that mean Laravel and Symfony are general-purpose frameworks? Going back to my original post we can see that they work with the Bref on the AWS serverless LAMP stack. <span class="this_text_sucks" style="background-color: #990000; color:white">I thought Trongate was supposed to be way more awesome framework than Laravel and Symfony</span>. <div class="uncool_declaration">
<h2><i class="fa fa-warning"></i> Uncool Comment</h2>
<p>This comment has been flagged by one of our members for being:</p>
<ul>
<li>low vibrational</li>
</ul>
<p>The part(s) of the comment that appear(s) to be uncool have been highlighted.</p>
<p>It's entirely possible that the person who posted the comment was not trying to be uncool. Nobody has been banned or punished. Nevertheless, the purpose of the Help Bar is to give people an opportunity to get assistance with legitimate technical support requests. We don't want to get dragged into debates or any kind of negative vibes here.</b></p>
<p>If you are the person who created the comment - please try to be a little more careful with your wording in the future. You have not been banned and we all get things wrong from time to time. Don't worry about it. No harm done! However, we would be grateful if you could be a little more thoughtful with your comments in the future.</p>
<p>To everyone else, <b>PLEASE DO NOT RESPOND TO THE COMMENT</b>. Doing so could potentially lead to a downward spiral that involves people getting banned and all sorts of rubbish things that we don't want.</p>
</div>
<h2><i class="fa fa-warning"></i> Uncool Comment</h2>
<p>This comment has been flagged by one of our members for being:</p>
<ul>
<li>low vibrational</li>
</ul>
<p>The part(s) of the comment that appear(s) to be uncool have been highlighted.</p>
<p>It's entirely possible that the person who posted the comment was not trying to be uncool. Nobody has been banned or punished. Nevertheless, the purpose of the Help Bar is to give people an opportunity to get assistance with legitimate technical support requests. We don't want to get dragged into debates or any kind of negative vibes here.</b></p>
<p>If you are the person who created the comment - please try to be a little more careful with your wording in the future. You have not been banned and we all get things wrong from time to time. Don't worry about it. No harm done! However, we would be grateful if you could be a little more thoughtful with your comments in the future.</p>
<p>To everyone else, <b>PLEASE DO NOT RESPOND TO THE COMMENT</b>. Doing so could potentially lead to a downward spiral that involves people getting banned and all sorts of rubbish things that we don't want.</p>
</div>
4 years ago
#7
cisnez your energy here is draining and I have resisted responding to your posts because basically, your vibe sucks.
If you have taken the time to view the video DC pointed out where Rasmus explains so well. Even the most entry level moron could understand that 'general purpose frameworks' is the same as saying 'bloated piles of crap'.
In reading the docs for Bref and Laravel or Symfony integration, I immediately think 'why?'. Then I quickly come to the conclusion it's all marketing bullshitte by big tech all over again.
To me this reeks of taking choice away, applying generic bloated code I don't want on every request - if this is your future and is what floats your boat, good luck to you.
I would rather stay in the fast lane and stick with Trongate; running my own Apache server with a trusted database and version of PHP of my choice. It very obvious that you just don't get it.
If you have taken the time to view the video DC pointed out where Rasmus explains so well. Even the most entry level moron could understand that 'general purpose frameworks' is the same as saying 'bloated piles of crap'.
In reading the docs for Bref and Laravel or Symfony integration, I immediately think 'why?'. Then I quickly come to the conclusion it's all marketing bullshitte by big tech all over again.
To me this reeks of taking choice away, applying generic bloated code I don't want on every request - if this is your future and is what floats your boat, good luck to you.
I would rather stay in the fast lane and stick with Trongate; running my own Apache server with a trusted database and version of PHP of my choice. It very obvious that you just don't get it.
4 years ago
#8
cisnez, Trongate is awesome.
You have to get it in your head that All the other frameworks add BLOAT.
They are SLOW.
Trongate is for speed and Stability, Rewrite culture, Packagist, Composer is for Laravel, Symphony and all the others.
Start fresh and go to the Learning Zone and truely learn Trongate, Then leave the other stuff behind.
You have to get it in your head that All the other frameworks add BLOAT.
They are SLOW.
Trongate is for speed and Stability, Rewrite culture, Packagist, Composer is for Laravel, Symphony and all the others.
Start fresh and go to the Learning Zone and truely learn Trongate, Then leave the other stuff behind.
4 years ago
#9
...and I would add a couple more points.
You're entitled to believe that serverless is the next big thing. However, if you have a close look at what the hipsters are doing you'll notice that they're moving away from single page apps and BACK to the business of serving HTML - from servers.
Now, I'm quite sure that the marketing teams from companies like Amazon and Google have been working flat out trying to convince us that their tax avoidance business model is the future. But they're wrong.
The truth ALWAYS comes out in the end.
Years ago, I stood up - entirely alone - and said "rewrite culture is bullschitt". I was ridiculed. Then... gradually, people - like those you see here came on board. They agreed. Today, we've got Taylor Otwell suddenly talking about making stability a priority. Where do you think he got that idea from?
Everything that I said about rewrite culture turned out to be right.
Today, I'm telling you (and this is a world exclusive) everything we've been told about hosting is bullschitt. All of that edge-server, serverless CDN horseschitt is horseschitt.
The good news is, test results have started to come in and people are slowly starting to realise that we've been sold a pack of schitt. For example, the Fireship channel on YouTube recently admitted that using those edge servers (CDNs or whatever) aren't always faster, after all. By the way... the same thing happened with MongoDB. Five years ago, all of us MySQL users were told we were living in the past. But one night, I personally benchmarked two massive databases side-by-side (during a livestream) and MySQL whooped MongoDB.
You can only pedal bullschitt for so long.
You think serverless is the future. I happen to think serverless is the past. I think it's an outright scam, actually.
As for the 'general purpose' thing:
I would encourage you to think of Trongate as being like a Lamborghini. A Lamborghini is fast and most would agree, it's a better car than a Yugo. But a Lamborghini is not a general purpose car. If it tried to be a general purpose car (for going on long shopping trips etc) then it would actually weaken the brand.
Now... as far as Symfony and Laraschitt goes:
1. If you like buying certificates and pandering to middle managers, use Symfony.
2. If you like receiving emails that say, 'your app is broken' then use Laravel.
Best of luck.
DC
PS - Nobody has to agree with me and you're welcome to your alternative opinion.
PPS - A LAMP stack on AWS is nothing to do with serverless. I see no reason why Trongate wouldn't work with AWS.
You're entitled to believe that serverless is the next big thing. However, if you have a close look at what the hipsters are doing you'll notice that they're moving away from single page apps and BACK to the business of serving HTML - from servers.
Now, I'm quite sure that the marketing teams from companies like Amazon and Google have been working flat out trying to convince us that their tax avoidance business model is the future. But they're wrong.
The truth ALWAYS comes out in the end.
Years ago, I stood up - entirely alone - and said "rewrite culture is bullschitt". I was ridiculed. Then... gradually, people - like those you see here came on board. They agreed. Today, we've got Taylor Otwell suddenly talking about making stability a priority. Where do you think he got that idea from?
Everything that I said about rewrite culture turned out to be right.
Today, I'm telling you (and this is a world exclusive) everything we've been told about hosting is bullschitt. All of that edge-server, serverless CDN horseschitt is horseschitt.
The good news is, test results have started to come in and people are slowly starting to realise that we've been sold a pack of schitt. For example, the Fireship channel on YouTube recently admitted that using those edge servers (CDNs or whatever) aren't always faster, after all. By the way... the same thing happened with MongoDB. Five years ago, all of us MySQL users were told we were living in the past. But one night, I personally benchmarked two massive databases side-by-side (during a livestream) and MySQL whooped MongoDB.
You can only pedal bullschitt for so long.
You think serverless is the future. I happen to think serverless is the past. I think it's an outright scam, actually.
As for the 'general purpose' thing:
I would encourage you to think of Trongate as being like a Lamborghini. A Lamborghini is fast and most would agree, it's a better car than a Yugo. But a Lamborghini is not a general purpose car. If it tried to be a general purpose car (for going on long shopping trips etc) then it would actually weaken the brand.
Now... as far as Symfony and Laraschitt goes:
1. If you like buying certificates and pandering to middle managers, use Symfony.
2. If you like receiving emails that say, 'your app is broken' then use Laravel.
Best of luck.
DC
PS - Nobody has to agree with me and you're welcome to your alternative opinion.
PPS - A LAMP stack on AWS is nothing to do with serverless. I see no reason why Trongate wouldn't work with AWS.