The following are just a few reasons Node.js is a great framework: Also, the webserver can run directly on the Node.js platform as a Node.js module, which means it’s much easier than using, say, Apache for wiring up new services or server-side scripts. The fact that the webserver and the supporting web application scripts are running together in the same server-side application allows for much tighter integration between the webserver and the scripts. You can write most-or maybe even all-of your server-side code in Node.js, including the webserver and the server-side scripts and any supporting web application functionality. Node.js is a development framework that is based on Google’s V8 JavaScript engine and executes it. Later chapters in the book will cover each of the technologies in much more detail.įigure 1.2 Basic diagram showing where Node.js, Express, MongoDB, and AngularJS fit in the web paradigm. The following sections describe each of these technologies and why they were chosen as part of the Node.js to AngularJS stack. AngularJS is an MVC framework in which the model is made up of JSON or JavaScript objects, the view is HTML/CSS, and the controller is AngularJS JavaScript code.įigure 1.2 provides a very basic diagram of how the Node.js to AngularJS stack fits into the basic website/web application model. The view in the browser is defined and controlled using the AngularJS framework. The webserver is defined by Express, which is also a Node.js module. MongoDB provides the data store for the website but is accessed via a MongoDB driver Node.js module. The backend services and server-side scripts are all written in Node.js. In the Node.js-to-AngularJS stack, Node.js provides the fundamental platform for development. The most common-and I believe the best-version of this stack is the Node.js-to-AngularJS stack comprised of MongoDB, Express, AngularJS, and Node.js. With the basic structure of the web framework fresh in your mind, it is time to discuss the Node.js-to-AngularJS stack. Learn More Buy Understanding the Node.js-to-AngularJS Stack Components Node.js, MongoDB, and AngularJS Web Development
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |