Category: Web Development
How to parse an XML file and save the parsed data into the corresponding objects?
Solution: First of all, we need some dummy XML data for parsing as given below: The above XML has many tags. The first one being the XML tag which lets us know that it is an XML document. Moving on
Laravel 5.4 Logs And Errors
Introduction to Laravel 5.4 Logfiles: A log file is a file that keeps a registry or records of events, processes, messages that occur in the operating system or any software runs. -Laravel provides the robust logging services that allow the
Bootstrap Templates, Grid System and Media-queries
Bootstrap Templates, Grid System and Media-queries What is Bootstrap? Bootstrap is a powerful toolkit. It is a set of HTML, CSS, and JavaScript tools for making and building websites and internet applications. It is a free and open-source project, hosted
Authorization Attribute Validation Issue
Authorization attribute validation Issue: 404 status code is returned instead of 401 status code In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by
Progress Bar Using AJAX/PHP
Progress Bar For Large Uploads Using AJAX/PHP Problem: When large files are being uploaded, a server at the back takes time to upload the same file. Users have to wait irrespective of knowing, whether the file is even being uploaded
Best Practices for Logging in Node js
Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user
NodeJs Callback – Asynchronous Functions
NodeJs Callback NodeJs is an open-source server environment and it is free. It enables javascript to run on the server-side. It runs on various platforms(Windows, Linux, Mac, etc.). Callback is asynchronous equivalent code for a function. A callback function is
Create a drop-down with search capability using Devextreme components
How to Create a drop-down with search capability using Devextreme components Many of you might have seen a drop-down menu with a search capability that appears in Gmail on Move To Button click as shown in the screenshot below. Similarly
Import Gravity Forms through code in WordPress
Import Gravity Forms through code – WordPress Gravity form is a WordPress plugin that is basically used to build and publish the WordPress forms. Sometimes the situation arises when we need to import Gravity Forms through code. For instance, I