Posts

Php interview Questions

1. Core php  2. Mysql  3.Laravel 4. Logic 5. Oops   

Laravel short and sweet notes for all.

 1. Install laravel Developer.    composer create-project laravel/laravel example-app    cd example-app    php artisan serve 2. vs code Extensions    Php intelliSense    Php Namespace Resolver    Laravel Extra Intellisense    laravel-blade    laravel blade Snippets    laravel goto view 3. Basic Routing    php artisan sereve -start project    web.php        Ctrl+p for file search name.       php artisan     php artisan route -h     php artisan route:list --except-vendor  4. If not exist any route --    Route::fallback(function(){     return "<h1>Page is not found.</h1>";    }); 5. Use foreach loop     @php      $arr = ["salman khan","sahid kapoor","anil kapoor"];    @endphp        <ul>   ...

Reactjs Interview Question

 1. What is JavaScript Call Back ? Sol:  A  Call Back is Function Passed as an argument to another                     Function.  2. What is Promises in JavaScript ? Sol: Promises were introduced in the ES6 version in 2015. It Contain    Producing Code and Consuming Code . 3. What is Difference Let and Var ? Sol: (a) Let is a Block scope and Var is Function Scope.         (b) Let does  not allowed Redeclared variables and             Var allows to Redeclared variables.        (c)Let is Featured of Es6 and Var is ECMAScript1 Feature.        (d)Hoisting is not allowed in Let  and Hoisting is allowed in                    Var. 4. What is a closure in java script ? sol: Closure is a inner function that can access the outer function variables as well ...

React js max link

 https://github.com/academind/react-complete-guide-code/tree/03-react-basics-working-with-components/code

laravel multi auth for user login and admin

Link ::  https://www.ittrainingonline.co.in/example/laravel/81

curd in react js link

 https://www.geeksforgeeks.org/how-to-do-crud-operations-in-reactjs/

Make project in laravel series 1.

https://www.cgca.gov.in/ccarj/form16Download  Make a project      1. composer create-project laravel/laravel Project_name     2. composer require laravel/ui      3. Make database and connect to env     4. Make auth         php artisan ui:auth     5.php artisan migrate     6.Download Template       https://bootstrapmade.com/company-free-html-bootstrap-template/download/     7.Make route for view and make index.blade.php      8.paste assets and forms  in public folder.     9.copy index.html page data and paste index.blade.php     10.run http://127.0.0.1:8000/      11. Last file ko rollback karna     php artisan migrate:rollback 12. ALL TABLE WILL REMOVE.     php artisan migrate:reset 13. Rollback and migrate all tables      php artisan migrate:refresh 14. Make a project  ...