Web Prepration

Web Concept Tutorials

Interview Questions, Others

In this post, I am going to provided the significant Vue.js Interview questions and answers for professionals who will be going for a job interview as a Front End Developer. These interview questions and answers are prepared by JavaScript Professionals working on Vue.js in top MNC Companies. It will help you to prepare for technical interviews and online selection tests conducted during campus placement for job interviews for professionals. 1) What is Vue.js?/ What do you understand by Vue.js? Ans:- Vue.js is a progressive framework of JavaScript used to create Dynamic User Interfaces and single-page applications. 2) Why is Vue.js called a progressive framework? Ans:- Vue.js called a progressive framework because it is being changed and developed continually. 3) What is the difference between v-show and v-if directives? Ans:- Below are some of the main differences between between v-show and v-if directives: v-if only renders the element to the DOM

read more >>
Interview Questions, Others, PHP

In this post, I am going to provided the significant PHP interview questions and answers for freshers who will be going for a job interview as a PHP developer or want to start career as PHP Developer. These PHP interview questions have been designed specially for freshers to get you familiar with the nature of questions you may face during your interview for the subject of PHP Programming Language. It will help you to prepare for technical interviews and online selection tests conducted during campus placement for freshers and job interviews for professionals.   1) What is PHP? Ans:-  PHP is a server side scripting language commonly used for web applications. PHP has many frameworks and CMS for creating websites. PHP is an acronym for “PHP: Hypertext Preprocessor.” It allows the developers to develop dynamic web applications. 2) Who is the father of PHP ? Ans:-  Rasmus Lerdorf is known as

read more >>
Interview Questions

In this post, I am going to explain “Laravel 8 latest Interview Questions and Answer”. We can’t read minds, unfortunately, but we’ll give you the next best thing: a list of more than 20 of the most commonly asked interview questions, along with advice for answering them all. 1) Explain Events in laravel ? Ans:- An event is an action or occurrence recognized by a program that may be handled by the program or code. Laravel events provides a simple observer implementation, that allowing you to subscribe and listen for various events/actions that occur in your application. All Event classes are generally stored in the app/Events directory, while their listeners are stored in app/Listeners of your application. 2) What is the latest version of Laravel? Ans:-  Laravel 8 is the latest version of Laravel. It was officially released on 11 Sep 2020. Laravel 8 has made with new features like Laravel

read more >>
PHP

Sometimes, you need to get maximum key value of your array but you try to get with loop that’s not a good way and any function etc, but in bellow example you can see we can get biggest key value from our php array by using max() and array_keys(). So, let’s try to use in your code this way:

 

read more >>
Angular, Others
How to check Object is empty or not in JqueryJavaScript

In this post, I am going to explain “How to check object is empty or not” in javascript/JQuery because there are many place we require to check object is empty, null or undefined etc. So usually we can check using $.isEmptyObject(). In javascript to check empty object, how to check empty object in jQuery, jQuery.isEmptyObject() example, jquery check object is null, jquery check object is empty, jquery check object is empty or not, how to check JSON object is empty or not in jquery.

You can also check other way to your object is empty or not.

I hope you found your best…

read more >>
Laravel, Laravel 7, Laravel 8
Sanctum API

In this post, I am going to explain how to use sanctum api in laravel 8. Laravel 8 Sanctum provides a simple authentication system for SPAs (Single page applications), mobile applications token based APIs. Sanctum API allows each user of your application to generate multiple API tokens for their account. You can create mobile based API using sanctum, its provide fully restful api and for use in laravel to follow basic steps which is given below. Step 1: Install Laravel 8 In this step I am going to explain how to install fresh laravel 8, If you have already istalled then ignore installation steps, I am going to explain from scratch so, we need to get fresh Laravel 8 application using bellow command, So open your terminal OR command prompt and run bellow command:

Step 2: Install Sanctum In this step we need to install sanctum via the Composer

read more >>