Web Prepration

Web Concept Tutorials

Others

Laravel, Laravel 7, Laravel 8, Others

In this article, we will cover “How to implement laravel conditional query”. I would like to show your laravel eloquent if condition but laravel added a new function when(), using when() you can ignore to write manually if conditional statement and else statement. I will give you some example how to use it when and how to write if condition with eloquent query builder. you can also use when() with laravel 6, laravel 7 and laravel 8 version: Simple When() Example:

When() Else Example:

Multiple When() Condition Example:

  WebpreprationI’m a full-stack developer.  My hobby and profession to write blog and programming tips that helps to others. I am a great admirer of PHP, Laravel, Codeigniter, AngularJS,  Vue.js,  Javascript, JQuery, WordPress, Plugin Development, Theme Development and Bootstrap from the early stage.   webprepration.com/

read more >>
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 >>
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… WebpreprationI’m a full-stack developer.  My hobby and profession to write blog and programming tips that helps to others. I am a great admirer of PHP, Laravel, Codeigniter, AngularJS,  Vue.js,  Javascript, JQuery, WordPress, Plugin Development, Theme Development and Bootstrap from the early stage.   webprepration.com/

read more >>
Others

What counselling? In psychology, counselling is an act of helping an individual in identifying his/her mental or health-related problems like stress, anxiety, depression, tension and much more. In counselling, a psychologist is the person who studies the individual’s mental process and behaviour and gives them advice on how to deal with mental or health issues. Apart from psychology courses, you can also look for digital marketing courses in Mumbai if you want to make your career in digital marketing. In a broad sense, counselling comes in various forms and types and can be used to cope with various problems and issues in life. In counselling, a person meets a professional who is an expert in handling issues related to marriage, depression, anxiety, parenting, career and much more. Introduction to the course: So, you have decided to learn about psychology, counselling and therapy. That’s good. But you are confused about where to

read more >>
Others

Websites are developed using several technological frameworks and most of them require a lot of coding exposure. One of the key reasons why Word Press has gained so much popularity for creating websites is its simple usage. A good website can be created by using “drag and drop” options. Along with that, users can add plugins that improve the productivity level. How can you define a plugin in the simplest possible way?  It is an application program that can be added to any Word Press website. The purpose is to improve the overall functionality and increase the number of features. The best thing about these tools is that a lot of rigorous software is not needed to add them. They integrate with the Word Press website and run effectively. The importance of search engine optimization can never be ruled out. A fact is that a website has to meet the

read more >>