Forms are a very important part of any application. Forms are used everywhere from login to search.
Useful tip: Use Bit to encapsulate components with all their dependencies and setup. Build truly modular applications with better code reuse, simpler maintenance and less overhead.
ReactJS is a library. It does not include a pre-baked solution to handle the form’s state and actions. Forms in the ReactJS can be a pain with all those repetition and business logic at the same time. …
Everybody says that python is best for scraping but I always wonder why we don't use NodeJs for Scraping?
The answer is clear scraping is CPU intensive task since NodeJs is single threaded so scraping blocks the main thread. I have one solution for the problem worker threads. We would scrap the IMDB website for the data.
Our goal is to extract all the data from this page. We would scrap all the details of the tv show, all awards won by the tv show, the cast of the tv show, episodes, seasons and much more.
The data provided from scraping is way more than provided by our script and would be more than provided by any third-party API. …
There are many tools for getting a boilerplate code generated available for reactjs. The most popular tool used by many developers is create-react-app, which comes with many configuration options.
This guide will show how can we set up own react project using babel and webpack. We would configure webpack to use babel to compile the jsx to js and run a development server for serving the compiled files.
Traditional authentication strategy makes use of sessions and cookies, but scaling these solutions is very difficult — as some kind of state is maintained by the server. JWT, on the other hand, provides a stateless solution for authentication, and stateless applications are pretty easy to scale.
In the last part we only had a look at basic skeleton of the web server we would write.In this we will look at more detailed look at different aspect of a complete web server.
Node.js comes with many utilities like fs , os etc which are a great way of interacting with underling operating system.Most interesting utility is zlib it is module which provide you with a simple and easy to use steam based interface for compressing data.Data can be anything it could be string or music video or image.Zlib support many compressing format including gzip and deflate which are two format supported by most of web browser these days.We …
A very lame question,isn’t it.A web sever is a computer which server dynamic as well as static resources for websites.According to me a web server is just some logic or code which takes a string as input and gives another string as output.Ok, a web server can takes any string as input?There is set of rules for this string to be constructed.These rules are defined by protocols like HTTP , HTTPS , FTP , WEBRTC , WEBSOCKETS etc to name few. …