Comments on: Creating an MVC Express.js Application https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/ Web Design, Themes, & Applications Tue, 23 Jan 2018 13:59:11 +0000 hourly 1 https://wordpress.org/?v=4.9.3 By: iconic https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-239937 Tue, 23 Jan 2018 13:59:11 +0000 https://9bitstudios.com/?p=1002#comment-239937 Hi Forest — Thanks for the feedback. That line is to specify a directory where you could link to static files (images, CSS, etc.). So if you put a style.css file in that directory and you could link directly to it in your view <link href=”style.css” rel=”stylesheet”>

]]>
By: Forrest Welch https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-239676 Mon, 22 Jan 2018 05:52:50 +0000 https://9bitstudios.com/?p=1002#comment-239676 Thanks so much for this tutorial man. Start learning design patterns about a week ago and it’s been a steep learning curve. This is the first tutorial I could find that was not too hard to understand but also not too basic. Quick question though:

//from app.js, why do we need to include this?
app.use(express.static(path.join(__dirname, ‘static’)));

]]>
By: viranja https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-236872 Fri, 27 Oct 2017 04:06:02 +0000 https://9bitstudios.com/?p=1002#comment-236872 Great tutorial, and kindly request from you update some post regarding “connect with database (ex:Mysql)”

]]>
By: kavitha https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-234277 Tue, 06 Jun 2017 11:29:44 +0000 https://9bitstudios.com/?p=1002#comment-234277 Great tutorial!

]]>
By: Ian https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-228695 Sun, 24 Jul 2016 20:32:43 +0000 https://9bitstudios.com/?p=1002#comment-228695 Hi there Peter — You are right. I did have this step in the download package but it was not there in the tutorial. I have added it in. Thanks for pointing this out.

]]>
By: Peter https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-228659 Fri, 22 Jul 2016 21:38:58 +0000 https://9bitstudios.com/?p=1002#comment-228659 Thanks for the post, I learned a lot.

However, I got lost when you started updating response.pageInfo.title – I’m getting an error that says ‘cannot set property “title” of undefined’, which makes me think the response.pageInfo object needs to be created somewhere. Did I miss the part of the tutorial where you create that?

Thanks

]]>
By: Ian https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-225402 Mon, 02 Nov 2015 15:54:39 +0000 https://9bitstudios.com/?p=1002#comment-225402 Hi there aneeq — In this case, MVC is not something you install specifically… it’s just the design pattern we are using to structure our Express application. The only thing you need to install is Node.js and the dependencies defined in the package.json via npm.

]]>
By: aneeq https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-225392 Mon, 02 Nov 2015 09:30:38 +0000 https://9bitstudios.com/?p=1002#comment-225392 how to start work on mvc tell me and how to install mvc in computer.

]]>
By: Ian https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-225260 Wed, 28 Oct 2015 23:59:28 +0000 https://9bitstudios.com/?p=1002#comment-225260 Thanks Ole! Much appreciated!

]]>
By: Ole https://9bitstudios.com/2014/10/creating-an-mvc-express-js-application/#comment-225252 Wed, 28 Oct 2015 20:16:31 +0000 https://9bitstudios.com/?p=1002#comment-225252 Great tutorial. Thanks!

]]>