Category Archives: Technical questions

Maintenance mode in laravel

Click here for more interview questions If the application in maintenance mode MaintenanceModeException exception will be throwing use the below command to make application down php artisan down application down with message php artisan down –message “some maintenance work gong on will be back soon” –retry=60 even in the maintenance mode some specific ip can… Read More »

What is configuration caching

Click here for more interview questions cache all configuration file into a single file, which load quickly by the framework php artisan config:cache normaly this will execute in the deployment,because local development configuration file frequntly changing. once configuration cached env file will not be loaded it will be null Click here for more interview questions

How to access the configuration values in laravel?

Click here for more interview questions configuration values stored in the app.php get the configuration value using the below code $value = config(‘app.timezone’); set the configuration value using the below code To set configuration values at runtime, pass an array to the config helper: config([‘app.timezone’ => ‘America/Chicago’]); Click here for more interview questions

Best practices in Javascript

Following are the few practices doing in the coding using javascript. 1.Try to Avoid global Variables In some case we cant able to remove global variable.try to use local variable instead of global variable.your global variable or function defined in the script,if we use the same variable or function in the script again it wil… Read More »