LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 12-19-2008, 01:40 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 111,778

Rep: Reputation: 118Reputation: 118
LXer: Working with Simple Associations using CakePHP


Published at LXer:


Database relationship is hard to maintain even for a mid-sized PHP/MySQL application, particularly, when multiple levels of relationships are involved because complicated SQL queries are needed. CakePHP offers a simple yet powerful feature called 'object relational mapping' or ORM to handle database relationships with ease.In CakePHP, relations between the database tables are defined through association—a way to represent the database table relationship inside CakePHP. Once the associations are defined in models according to the table relationships, we are ready to use its wonderful functionalities. Using CakePHP's ORM, we can save, retrieve, and delete related data into and from different database tables with simplicity, in a better way—no need to write complex SQL queries with multiple JOINs anymore!

Read More...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cook up Web sites fast with CakePHP: Adding cache LXer Syndicated Linux News 0 01-23-2007 12:54 AM
LXer: Cook up Web sites fast with CakePHP, Part 2: Bake bigger and better LXer Syndicated Linux News 0 12-15-2006 07:03 PM
LXer: Cook up Web sites fast with CakePHP, Part 1 LXer Syndicated Linux News 0 11-28-2006 01:54 AM
File associations (partially) not working in KDE J_Szucs Linux - General 0 02-10-2005 11:58 PM
Simple Routing - not working jsinfcva Linux - Networking 5 12-15-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration