I'm a NodeJS Wappler, I tried PHP, here's why I'm going back

No PHP drama :slight_smile:

The reason I’m going back to NodeJS is because Wappler didn’t make a templating system for PHP. Instead, they tell you to use “includes”. No Wappler way to make includes? :man_facepalming:

So, nothing wrong with PHP itself, just Wappler isn’t making any easier, I was expecting the same user experience, but it’s not just about changing server targets…

2 Likes

1 Like

Confused?, there is an icon to do exactly that, highlight what you want to move to the include and click move to include

4 Likes

Includes in PHP is very easy. Simply click a button. And they work very well, even with complex includes.

4 Likes

I’ve used includes in PHP projects and also ASP Classic projects with no issues. I’m a total NodeJS FANBOI now though so there’s no going back for me…

1 Like

The only way to get the same (sort of) templating system using Wappler and PHP, is to create a single page app. Although I say single page app, this is sort of a hybrid SPA.

The outcome is a template with the main content injected into it.

image

2 Likes

I used this method for our company website and totally regret it. It’s a nightmare. Using PHP includes would have been so much more effective.

Just putting it out there as an alternative. No other PHP templating system beats NodeJS/Express.

For more on SPA, see

2 Likes