Mukul Khanna

Mukul Khanna is one of our writers here at ScoutAPM, focusing on Python, PHP, Ruby, and full-stack web development. He is a Computer Vision and Deep Learning researcher, presently working on HDR video reconstruction, and also hosts the Deep Neural Notebooks podcast .

LinkedIn Facebook

How to Create a Python Stack

BY Mukul Khanna

IMAGE 1 All programming languages provide efficient data structures that allow you to logically or mathematically organise and model your data. Most of us are familiar with simpler data structures like lists (or arrays) and dictionaries (or associative arrays), but these basic array-based data structures act more as generic solutions ...

Read More →

 

How to Enable PHP Error Reporting

BY Mukul Khanna

Errors are undesirable for users and you should do everything in your control to keep users away from them. However, they are of utmost importance for developers. They allow developers to understand the inaccuracies and vulnerabilities in their code by alerting them when their code breaks. They also provide relevant ...

Read More →

 

How to Convert a String to a Number in PHP

BY Mukul Khanna

PHP is a weakly typed language. This means that when initializing a variable in PHP, one doesn’t need to declare the variable type. PHP implicitly declares a data type for your variable. This can save you from prospective type errors in your code. When working with programming languages, it is ...

Read More →

 

PHP Control Flow: Loop Types and Conditional Statements Explained

BY Mukul Khanna

Each programming language constitutes a basic set of rules that define the flow of control in a program based on certain conditions. They specify the sequence and order of execution of instructions in your code. These control structures lie at the core of programming paradigms and are usually the first ...

Read More →

 

PHP Json_encode: Serialize PHP Objects to JSON

BY Mukul Khanna

PHP’s JSON_Encode Function: Convert PHP to JSON PHP is a server-side scripting language for creating your website’s backend system that can serve webpages, communicate with databases, and exchange data over the internet. A decent backend framework like PHP needs to be capable of providing and processing data in any format ...

Read More →

 

Go Fast: Getting Started with Sanic for Python

BY Mukul Khanna

Go Fast: Getting Started with Sanic for Python Tired of waiting for sluggish HTTP requests to complete before your backend code can proceed with other things? Sanic is an asynchronous web framework in Python, that is built to be fast. In a world where Flask and Django are the most ...

Read More →

 

Tutorial: Log to Console in PHP

BY Mukul Khanna

“All code and no logging makes John a black box error-prone system.” Logging is a key aspect of monitoring, troubleshooting and debugging your code. Not only does it make your project’s underlying execution more transparent and intelligible, but also more accessible in it’s approach. In a company or a community ...

Read More →

 

Python Flask Tutorial - Getting Started with Flask

BY Mukul Khanna

Flask is Python’s most popular web application framework. Learn how you can use Flask to establish a strong foundation for a full stack application.

Read More →

 

Exception Handling in Ruby

BY Mukul Khanna

What is exception handling? Software systems can be quite prone to error conditions. Systems that involve user interaction are more vulnerable to exceptions as they attract errors at multiple fronts. Errors can take many forms - syntactical errors, network errors, form input errors, invalid authentication errors etc. I

Read More →

 

PHP Advanced Exceptions Tutorial

BY Mukul Khanna

Software systems inevitably encounter situations that can cause failures and malfunctions which affect user experience, data integrity, and security. In this blog post, we will learn how to avoid these situations though Exception handling . We will focus on software exceptions and how to address them using PHP.

Read More →