Query ID in Elementor :- Elementor is a powerful page builder for WordPress that allows users to create stunning layouts. One of the advanced features it offers is the ability to filter posts using Query IDs. This can be incredibly useful…
Category: CakePHP
Match Expression in PHP
The match expression, introduced in PHP 8.0, is a powerful feature that simplifies conditional statements. It is concise and more readable alternative to the traditional switch statement. Let’s dive into how it works and see some examples. What is a…
Using Matching and NotMatching in CakePHP
Using Matching and NotMatching in Cakephp A) Matching() Matching () will be provided like join level of mysql query. This query helps to find the match record from associated table. For example if you have ‘Table1 belongsToMany Table2′ you will…
Understanding Array Key Resetting in PHP
How to manage array key effectively in PHP, Are you interested in learning ? Discovering how to reset array keys to start from 0 is a fundamental skill in PHP programming. This article provides a step-by-step guide on how to…
PHP Tips: Using the Null Coalescing Operator for Cleaner Code
The null coalescing operator (??) is a syntactic sugar that checks if a variable is set and is not null. If the variable exists and is not null, its value is returned. Otherwise, a default value is returned. This operator…
Everything you need to know about CakePHP Migrations
Migrations is a powerful feature in CakePHP. It gives you a tool to create or import database structure and data through command line interface. CakePHP Migrations is installed by default when you install CakePHP.
CakePHP Captcha Demo is now available via Github & Composer
CakePHP Captcha plugin for CakerPHP 3 is a very useful addition to your CakePHP app to keep submissions on your website spam free. CakerPHP 3 Captcha plugin can be installed in simple steps using composer or can be placed in…
Be careful while using Containable behavior with deep associations in CAKEPHP 2
Containable behavior is used to get selected associated records in CAKEPHP 2. It helps to speed up process of retrieving records by fetching associated data at the same time. But for deep associations from level 2 (equal to recursive =2)…
Cakephp 3.6 ajax pagination and sorting with jQuery
Cakephp comes with inbuilt pagination and sorting component and helper which work well in any app. However in order to make data tables ajax driven one might want to look at alternative solutions. One such solution is Cakephp Datatablse Plugin…
CakePHP Captcha Plugin
CakePHP Captcha plugin by me is one of the most used and trusted CakePHP captcha support since 2009. I have maintained CakePHP Captcha support throughout these years and am still committed to maintain it as long others and I found…