Difference between revisions of "WebFund 2013F: Tutorial 7"

From Soma-notes
Jump to navigation Jump to search
(Created page with "Today you should spend your time understanding the following code. This is a '''complete node application'''. Consider the following: * What does each line do? Specifically...")
 
Line 6: Line 6:


===package.json===
===package.json===
<source line lang="javascript">
</source>




===app.js===
===app.js===
<source line lang="javascript">
</source>


===index.jade===
===index.jade===
<source line lang="javascript">
</source>


===room.jade===
===room.jade===
<source line lang="javascript">
</source>

Revision as of 09:54, 18 October 2013

Today you should spend your time understanding the following code. This is a complete node application. Consider the following:

  • What does each line do? Specifically, what errors/loss of functionality would you lose if you remove any line?
  • What node functionality has been omitted from this application relative to the other ones we have covered this term?
  • How would you get this application to run?

The midterm will primarily cover this code. So this is your chance to prepare. Good luck!

package.json


app.js


index.jade


room.jade