SearchableBehavior seems to be very nice indeed.

I'd have to create a setup to index the existing data and modify it to
match my needs, that which would spend a lot of time.
Yes, I'll consider to use this behavior.

However, I have no enough time to swap right now, facing the time
spent creating my own.

Isn't there a way to use CakePHP paginator to paginate a plain SQL?

Thanks!



On 14 jun, 22:19, cricket <[email protected]> wrote:
> On Jun 14, 2:26 pm, Lucca Mordente <[email protected]> wrote:
>
> > The search is performed in about 40 tables.
> > Imagine instantiate 40 models to do this.
> > And I have some other tricks that force me to useplainSQL.
>
> > Any sugestions?
>
> Yes, take a look at the SearchableBehavior I linked to. It'll create
> an index, in a single table, of all your searchable model records.
>
> I think it really should be re-written as a plugin (and I've modified
> it myself in other ways) but it does the job.

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