View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Function SQL join - ProjeQtOr
 
 

Function SQL join

More
27 Feb 2013 13:29 #1 by DjackJack
Function SQL join was created by DjackJack
In your application, Have you developed a function to perform SQL joins between tables to optimize treatment and to facilitate information retrieval? And if yes, what is this and how does it function?

Please Log in or Create an account to join the conversation.

More
27 Feb 2013 23:50 #2 by babynus
Replied by babynus on topic Re: Function SQL join
Yes and no.

In fact there is no specific join function for SQL queries, such as the ones you can find on hibernate.
The framework bring a more simple and pragmatic approach :
Considering that joining tables is mostly used to retreive a name from an id through a foreign key, all is done in PHP scripts. Only main table is retrieved, and id->name conversion is done throught a devoted function highly using cached data. This way queries are kept simple and performance is assumed.

It may not fit all situations, but answers all need for Project'Or RIA.

One exception is the PlanningElement table : for higher performance, it has been de-normalized, copying required names in the table. The framework assumes the consistancy of these names.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.037 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.