I'm sorry for the noob question but I'm trying to learn web development and I want to fully understand how the mvc framework operates and so far iv'e acquired some knowledge but it is very little as opposed to what is needed to be a full stack developer and sometimes lacks very basic facts about the matter... I am always looking for reading material but I don't always know if the material I tend to find via search engines relate to what I need to learn to accomplish my goals or it is a waste of my time ... I'm not always sure about what I need to learn first ... so my question goes something like this : Iv'e set up a server on localhost via express and i have a bunch of templates for all kinds of pages with a basic layout ... the question is how does res.render() actually work? I can see that when I render a page the URL in the browser doesn't change and I can pass variables to the view however I need to redirect the user to a different URL with the appropriate information so I can't use res.redirect() because that way I can't pass parameters .... I would appreciate if someone would be kind enough to point me in the right direction and maybe provide some links with materials to read up on so I would have a better understanding ...
via Gal Ratzkin
No comments:
Post a Comment