Cakephp Multiple languages

Creating A Multi Language Website Using CakePHP   Multiple languages in a CakePHP 2.* application in 5 steps https://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html  

توسط: س سروش / در: ۱۴ تیر ۱۳۹۷ / گروه : Cakephp, PHP / ۰ نظر / 12 بازدید

Using The WordPress Debug Log

define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); define( ‘WP_DEBUG_LOG’, true ); if ( ! function_exists(‘write_log’)) { function write_log ( $log ) { if ( is_array( $log ) || is_object( $log ) ) { error_log( print_r( $log, true ) ); } else { error_log( $log ); } } } Using The WordPress Debug Log

توسط: س سروش / در: ۱۱ اردیبهشت ۱۳۹۷ / گروه : Cakephp / ۰ نظر / 44 بازدید

The request has been black-holed – when reloading a page with post data

[crayon-5b50100dc9ff9334314939/]   [crayon-5b50100dca010321867261/]  

توسط: س سروش / در: ۵ تیر ۱۳۹۶ / گروه : Cakephp / ۰ نظر / 152 بازدید

Creating a simple admin center

Creating a simple admin center If you need to create an administrative back-end for your CakePHP site and would like all the actions with administrative capabilities to exist under a specific folder, open up config/core.php and uncomment: define(‘CAKE_ADMIN’, ‘admin’); This will then make all actions that are prefixed with “admin_” to be accessible via: /admin/yourcontroller/youraction. For instance, if I created an action in my posts controller called “admin_add,” I would access this via: www.example.com/admin/posts/add From there I could simply password the admin folder to prohibit unwanted users from adding posts.

توسط: س سروش / در: ۵ دی ۱۳۹۴ / گروه : Cakephp / ۰ نظر / 415 بازدید

CakePhp – how to disable validation

Well, first you must know that almost all stuff in cakePHP is stored in arrays, from top-develop side of view. So basic way to disable validation on some model is very simple : $this->Model->validate = array(); // Stop validation on the model Happy coding ?

توسط: س سروش / در: ۱۳ آذر ۱۳۹۴ / گروه : Cakephp / ۰ نظر / 384 بازدید

Count how many queries were executed on a page

$sources = ConnectionManager::sourceList(); $logs = array(); foreach ($sources as $source): $db = ConnectionManager::getDataSource($source); if (!method_exists($db, ‘getLog’)): continue; endif; $logs[$source] = $db->getLog(); endforeach; $queries = 0; foreach ($logs as $source => $logInfo): $queries += $logInfo[‘count’]; endforeach; http://php.javascriptag.com/105_14213027/

توسط: س سروش / در: ۱۹ مهر ۱۳۹۴ / گروه : Cakephp / ۰ نظر / 357 بازدید

A COMPLETE TUTORIAL ON CAKEPHP AND AJAX FORMS USING JQUERY

http://miftyisbored.com/a-complete-tutorial-on-cakephp-and-ajax-forms-using-jquery/

توسط: س سروش / در: ۲۹ مرداد ۱۳۹۴ / گروه : Cakephp, Jquery / ۰ نظر / 328 بازدید

عدم نیاز به دیتابیس در Cakephp

Since I am not storing anything in a database in this tutorial, the model does not use a database table. That is why I add the following line of code: ۱ public $useTable = false; // This model does not use a database table

توسط: س سروش / در: / گروه : Cakephp / ۰ نظر / 591 بازدید

۲۰ Excellent AJAX Effects You Should Know

http://code.tutsplus.com/tutorials/20-excellent-ajax-effects-you-should-know–net-1090

توسط: س سروش / در: / گروه : Cakephp, Html, Jquery / ۰ نظر / 347 بازدید

CakePHP Auth Component Login Tutorial

http://www.smarttutorials.net/cakephp-auth-component-login-tutorial/

توسط: س سروش / در: ۲۶ مرداد ۱۳۹۴ / گروه : Cakephp, PHP / ۰ نظر / 364 بازدید

Create Hello World CakePHP Component

http://www.smarttutorials.net/create-hello-world-cakephp-component/

توسط: س سروش / در: / گروه : Cakephp / ۰ نظر / 364 بازدید

Top 50 CakePHP Interview Questions and Answers

Are you searching for the cakephp interview questions and answers? PHP Dev Zone is publishing the Top 50 basics interview related CakePHP questions and answers. (۱) 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 […]

توسط: س سروش / در: ۲۱ تیر ۱۳۹۴ / گروه : Cakephp / ۰ نظر / 545 بازدید