To SPA or not SPA, that is my Question... AND writing a CMS from scratch

If you did do it again, would you stick with PHP or change to Node?

Having worked on SPAs on both, I would say I personally much prefer NodeJS to PHP

@Antony
If you did it again, is there some reason you’d make it an SPA?

Making it an SPA just seemed a lot easier… an app is one world with bits of display being turned on and off, while a web site is lots of pages more like a book. Just a natural flow from concept to reality.

It has common modals which are accessed from various parts of the app… it all just made sense for an app to be one page.

I had no idea if it would work, but it does.

Whole thing (index.php plus 30 include files) is 1.5Mb.

1 Like

Probably use node… but since I’m an entrepreneur and not a full time Dev then I’ve not looked into node enough to be sure…