Friday, September 26, 2014

Re: Increase application process speed

If you are talking about CakePHP2.x, use model associations as everything is lazy loaded and bind on the fly only creates more code overhead and is less DRY.

If you use the core ACL it will for sure have some impact, as row level access is usually overkill. But then again its hard to say if it is necessary or not if you
dont know the details.
If you want something without much overhead, you can take a look at http://www.dereuromark.de/2011/12/18/tinyauth-the-fastest-and-easiest-authorization-for-cake2/ for example.
Always depends on your demands, what you require it to be able to.
mark


Am Freitag, 26. September 2014 15:55:04 UTC+2 schrieb marco metal:
Hi,

If we have a very large scale application, should we use model association in model itself or should we bind and unbind model on the fly in controller. Does it effect the overall speed of the application.

Also does implementing Acl and Auth decreases application speed?  

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: