Hello,

I'm starting to use CakePHP and it looks very nice. However, its main
prupose seems to be management of relation with database and
subsidiaries of these actions (showing results, etc...)

In my case, I would like to create a site where I will have to do
calculations with the data, sorting, etc... and these are using many
method in different controllers, like :

Model 2 belongsto Model 1

class Controller 1
{
   function func1(

        //recover data from model 1
       // recover data from model 2 via loadModel

       //Use function func2 from Controller 2
       // combine and play with data returned from func2 and from
Model1
(...)
   )
}

It's the simplest case and it can vary a lot. The problem is that I
need requestAction to load func2 (is it ?). So, as it is very slow, I
was thinking of using my own external structure (which is already
built :D) and inside of this, doing some includes that recover the
data of model1 and model 2, play in my own stuff, pass it inside of
func2, play it ...etc.. etc...
1) it is easier in order to play with the values
2) no needs of request actions..etc


I don't know if how to do that, and if it's a good way to use it.

What do you think about it? Where can I put my fileS?

Thank you

PS : is this a help forum ?  Hope i'm not in the wrong place.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to