No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    PHP V8js with SSR & PWA

    Framework
    2
    4
    410
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      walfin last edited by

      Has anybody managed to run a Quasar SSR+PWA killer combo app using PHP V8js? (With or without Laravel, preferably without)

      Asking as I intend to move from an SPA to SSR+PWA and my backend server only supports PHP.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        If you can get that PHP extension installed, you should also have the power to install node too. I don’t think you’ll be happy at all with PHP V8js.

        Scott

        1 Reply Last reply Reply Quote 0
        • W
          walfin last edited by

          But it seems doable, just a bit confusing especially on how to integrate this with quasar & quasar CLI: https://medium.com/js-dojo/advanced-server-side-rendering-with-laravel-vue-multi-page-app-486b706e654

          I’m asking this because all my backends are PHP. I don’t think I have the access rights to install node.js or to modify my apache config to forward the requests to node.js.

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            Theoretically, you don’t need anything more than an API and a webserver. Quasar builds the rest i.e. the files you get in the build are just HTML and JavaScript. So, use PHP for just a REST API. That is, if you don’t need SSR. If you need SSR, you need Node. Or, build your pages in PHP and use the UMD mode of Quasar. It’s a lot harder to program though/ the developer experience isn’t even half as great as with Quasar’s CLI.

            Scott

            1 Reply Last reply Reply Quote 0
            • First post
              Last post