Category: Web Development
Application Structure comparison between Laravel and Cakephp 3.x
Cakephp and Laravel are MVC frameworks for php. Both frameworks have totally different application structure. In the following document I have described all the important folders and their respective locations in Cakephp and Laravel (project_name is the root folder of
Moodle/Totara | Different ways to enable/disable maintenance mode
There are multiple ways to enable/disable maintenance mode in Moodle. From UI Enable Maintenance Mode: * Go to the Site Administration. * Click on Server. * Click on Maintenance Mode option: * On the next screen: Maintenance mode ->Select “Enable”
Diagnosing the exception: System.Data.entity.Internal.appConfig threw an Exception
‘System.Data.entity.Internal.appConfig’ exception generally arises from your configuration file like web.config file due to some conflicting statements. I faced this error during login process: During debugging I found that this error was thrown to me at the step of entity framework
Database indexes | How to decide on which columns to create database indexes?
Columns that are used for filtering or joining should have indexes on them. An index is a specific data structure that organizes data in such a way that it is much faster for database management system to look up the
WordPress | How To change login (wp-admin) page css in WordPress
In wordpress, we can also change the appearance of wp-login page. There are so many plugins available for this purpose like Alter – White Label WordPress plugin. We can change the appearance of wp-login page through this plugin like I
How to create AWS OpsWorks Stack
Purpose is to automate most of recurring processes like creating user, installing application (apache, apache-tomcat, mysql-server …etc), and modifying security file to hardening Linux machines in AWS environment. 1. Click AWS OpsWorks option from AWS console panel: 2. Now click
CakePHP | Send Email using SMTP in cakephp 3
1. Open config/app.php file inside your project and then modify the default email configuration and setup your SMTP account there: ‘EmailTransport’ => [ ‘default’ => [ ‘className’ => ‘SMTP’, // The following keys are used in SMTP transports ‘host’ =>
Slider Revolution Plugin | Keep text while background images change
Slider revolution plugin is used to create the slider to be used in the wordpress website through its shortcode. We can create as many slides as we want and can design each slide very easily by adding layers above layers.
Split large CSV into multiple smaller CSV files with Python script
Problem: If you are working with millions of record in a CSV it is difficult to handle large sized file. Solution: You can split the file into multiple smaller files according to the number of records you want in one