SQL injection: SQL injection is a code injection that might destroy your database. For example if there is an input box in the form name and button Search. When we click search button we send name parameter to the back-end and back-end executes a query like ‘SELECT * from user WHERE name=’ + name. But …
Browserify
Browserify is elegant and fast. It makes frontend development fun again! That’s why we used it to build Yahoo’s new HTML5 video player. At Mapbox we build our website and JavaScript API with Browserify. It makes the structure and modularity of our code rock. Browserify does exactly what it says it does and it does …
Laravel logging
Laravel provides rich logging functionality. We can post messages to third party chatting platforms like slack using Laravel logging functionality. All of the configuration for your application’s logging system is housed in the config/logging.php configuration file. This file allows you to configure your application’s log channels, so be sure to review each of the available channels and …
Node schedule
Node Schedule is a flexible cron-like and not-cron-like job scheduler for Node.js. It allows you to schedule jobs (arbitrary functions) for execution at specific dates, with optional recurrence rules. It only uses a single timer at any given time (rather than reevaluating upcoming jobs every second/minute).https://github.com/node-schedule/node-schedule
Redux-Saga, Redux-Thunk
Redux-saga and redux-thunk are redux middleware libraries, that are designed to make handling side effects(asynchronous things like data fetching) easier to manage and better at handling failures. The difference of those 2 libraries stands on processing the data fetched from back-end api. Redux-thunk handles the data in a callback function and redux-saga uses async-await functions …
Fetching modules directly from git repository
Sometimes we need to fetch some modules directly from git repository like we install npm modules. For example, we need to use npm modules but with some modifications. In that case, we can fork or clone those repositories into our personal github and fetch it directly using url. The command is npm install git+<git repository …
About JointJs
https://github.com/clientIO/joint The JointJS diagramming library lets you create fully interactive diagramming tools for all modern browsers, relying only on JavaScript and SVG. Its MVC (more MV) architecture separates graph, element and link models from their rendering, which makes it easy to plug JointJS to your backend application. JointJS is not trying to reinvent the wheel for technologies …
Emails are going to SPAM with Sendgrid Service
When you use sendgrid for email marketing, your emails are normally going to spam. How can we prevent sending SPAM email? Sender domain authentication: When you create email campaign, you should config the sender, title, content, etc. In this case, for setting sender email, you should authenticate the sender domain in sendgrid or other email …
Using custom fonts in CSS
On the frontend design, we are apparently facing image blurring issue when we try to use png or svg files as icons or logos. Especially the image blurring issue is happening when we scale the image size. To fix this issue and keep the high resolution of image, and also to improve the site loading …
WebRTC
Web Real-Time Communication (WebRTC) is a collection of standards, protocols, and JavaScript APIs, the combination of which enables peer-to-peer audio, video, and data sharing between browsers (peers). Instead of relying on third-party plug-ins or proprietary software, WebRTC turns real-time communication into a standard feature that any web application can leverage via a simple JavaScript API. …