Hi all.
I am a newcomer to this community. I've been following trongate since last year and only decided to register today because I've got simple questions that I need answer. I thought by innocently asking here, I would get my answer since here is the best place to start. My brief background, I have 5 year experience in PHP and 1 year experince using Laravel. Unfortunately, that is all.
So in todays webdev approach, Single-Page-Application (SPA) seems to be so cool. Is there any way we could achieve this using Trongate? Or is it Trongate is so fast it doesn't have to be an SPA. Ahaha. Still, I need SPA. ;) Sorry I just asked the qeustion right away, I've done basic searches and didn't found the term SPA anywhere.
I've got another question about mobile apps development, but that can wait I think. So, this is all.
Thank you.
SPA and Mobile Apps using Trongate
2 years ago
2 years ago
#1
2 years ago
#2
Hello and Welcome,
Isn't a spa website one long page?
You have that when you download the Trongate desktop app and create a app from that right out of the box.
You can use js to change the page "on the fly" to update content.
So, yes you can.
Please give us an example of what you want to accomplish.
Dan
Isn't a spa website one long page?
You have that when you download the Trongate desktop app and create a app from that right out of the box.
You can use js to change the page "on the fly" to update content.
So, yes you can.
Please give us an example of what you want to accomplish.
Dan
2 years ago
#3
I'm not currently developing any such project, but I previously had a test project with frontend Nuxt 3 along with Trongate. It works exactly like a Fullstack Project. Although on the Nuxt 3 side I have to use a lot of 3rd party libraries, I think that is the only obstacle when using Trongate as a Backend for a Frontend SPA.
You just need to skip Trongate Template and dig into the API Explorer section. Then every return view() of yours will return a json response.
The next job is on the Frontend side.
You just need to skip Trongate Template and dig into the API Explorer section. Then every return view() of yours will return a json response.
The next job is on the Frontend side.