Ask coding questions

← Back to all posts
student options page
Rohan_Kaushal_K (2)

how can i get something from one page to show on another

Vandesm14 (2256)

If you're talking about server-side rendering, try using pugjs with expressjs.

Please mark this as answered if I helped your problem 👍

Vandesm14 (2256)

@Rohan_Kaushal_K You can try iframes. Can you explain more? I'm not exactly sure what you mean.

BTW for server-side rendering, you'll need a server. (and if you're just starting out you can use EJS)

Rohan_Kaushal_K (2)

I have a server built pc with ubuntu server software on it, I'm pretty new to the server scene.
my specs are:
Rackform nServ A161
Opteron 6128 2.0GHz, 8-Core
16GB (4 x 4GB) Operating at 1333MHz Max (DDR3-1333
2 x Intel 82574L Gigabit Ethernet Controllers
Integrated IPMI 2.0 with Dedicated LAN
LSI 9260-4i 6Gb/s SAS/SATA RAID
4 X 1TB Seagate Constellation ES Optical Drive:
Low-Profile DVD+/-RW Drive Power
350W Power Supply

Vandesm14 (2256)

@Rohan_Kaushal_K No, I'm telling you that you'd need an Expressjs server instead of a physical server (but you can if you want, it just needs expressjs/nodejs).

In order to "get something from one page to show on another" (server-side rendering), you'd need to use EJS, the rendering engine, with Expressjs, the web server framework.

katyadee (1199)

Hey @Rohan_Kaushal_K - add some more detail to your post please. Our community can't help if they don't know what you're asking.

rediar (317)

I’m not sure what you mean?

Rohan_Kaushal_K (2)

Pancho "I'm not sure what you mean" do u understand [email protected]
Say it one more time, I dare you