Thursday, September 24, 2015

Creating and handling forms in Node.js server

Web applications commonly have to handle forms in which the user can enter data that need to be processed. Node.js by itself does not provide any way to handle the work required to process the data of the form (like validations, for example). It just provides raw body data. This might get cumbersome for the app developer to manage, but there are third party modules which can help process the form data and provide the necessary ones to the application. Among these modules, there’s one called formidable; it deals with a Node.js module which can help you parse form data and use them in your application.

In this article we’re going to see how we can use the formidable module to process form fields and files in our Web application.

Continue reading %Creating and handling forms in Node.js server%


by Abbas Suterwala via SitePoint

No comments:

Post a Comment