InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Tag: cakephp2

Be careful while using Containable behavior with deep associations in CAKEPHP 2

Arvind KumarCakePHPLeave a Comment on 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)…

Read More→

Saving multi-level associated data in CakePHP

Arvind KumarCakePHPLeave a Comment on Saving multi-level associated data in CakePHP

In CakePHP 2 we had hasMany, saveMany, saveAssociated model methods or functions to save associated data. These functions works great with straight associations but to make them work for saving multi-level association data you need a trick.

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Deploying Next.js Application with Nginx on Ubuntu – 2025
  • PHP Magic Methods
  • PHP and JSON: Encode, Decode, and Handle JSON Data
  • How to Create a Simple Form and Handle Form Data in PHP
  • How to Connect PHP with MySQL Database

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram