Friday 22 February 2019

Dynamic content from database on page load?

Hello, I am currently trying to move my website from PHP to NodeJS. One feature of PHP is the ability to have PHP code and html code load within the same file. This would allow pages to load dynamic content from the sql database before the page rendered. For example, showing a profile page with user information.Is there any way to do this in NodeJS? I’ve heard of ejs but I’m not sure if it is exactly what I need. And I’m not sure how to implement it if it is what I need.

Submitted February 22, 2019 at 08:15AM by Official_CDcruz

No comments:

Post a Comment