Skip to main content

Posts

Showing posts from 2017

Top Cakephp Interview Questions

What is CakePHP? CakePHP is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. CakePHP goal is to enable developers to work in a structured and rapid manner–without loss of flexibility. CakePHP takes the monotony out of web development. When CakePHP was developed? CakePHP started in April 2005.When a Polish programmer Michal Tatarynowicz wrote a minimal version of a Rapid Application Framework in PHP, dubbing it Cake.CakePHP version 1.0 released in May 2006.  (source:http://en.wikipedia.org/wiki/CakePHP) What is the current stable version of CakePHP? 3.4 (on date 2017-04-01). What is MVC in CakePHP? Model view controller (MVC) is an architectural pattern used in software engineering. M odel      : Database functions exist in the model V iew        : Design parts written here C ontroller : Business Logic goes here Server requirements for CakePHP. Here are the requi

Druapl 8 Folder and File Permissions

Drupal direcories: find /var/www/html -type d -exec chmod 755 {} \; Drupal files: find /var/www/html -type f -exec chmod 644 {} \; Drupal all content related directories: find /var/www/html/your_site_name/ sites/b2b_cms_mi/files -type d -exec chmod 775 {} \; Drupal all content related files: find /var/www/html/your_project_folder/ sites/default/files -type f -exec chmod 664 {} \; Drupal content folder permission: chmod 777 /var/www/html/your_project_folder/ sites/default/files .htaccess permission cd /var/www/html/your_project_folder/ sites/default/files/config_ fdwgNYChzdnUSBU8hEm-QEe3_ SXdb6kzCJ3ffEC4sB7njFXuK06hHUF OJE888-GN0_gpEE1b0w/sync chmod 777 .htaccess cd /var/www/html/your_project_folder/ sites/default/files/ chmod 777 .htaccess Note:-  your_project_folder is the name of the project. default can be a site folder name, if the application is multisite or else it will be a default folder.