<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general">
    <title>gmane.comp.php.cakephp.general</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103054"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103053"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103052"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103051"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103050"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103049"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103048"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103047"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103046"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103045"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103044"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103043"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103042"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103041"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103040"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103039"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103038"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103037"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103036"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103035"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103054">
    <title>Re: CakePHP 2.x Moving Find into Model</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103054</link>
    <description>&lt;pre&gt;Have you got an example of that?

On 24 May 2013, at 01:09, lowpass &amp;lt;zijn.digital-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jeremy Burns : Class Outfit</dc:creator>
    <dc:date>2013-05-24T03:30:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103053">
    <title>Re: Broken Sessions When Using Firebug in CakePHP 2.3</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103053</link>
    <description>&lt;pre&gt;It's worth noting that the FirePHP add-on on Firefox was modifying my 
user-agent string. To turn it off, click on the FirePHP icon on your 
Firebug panel -&amp;gt; Options -&amp;gt; Modify User-Agent String.

On Thursday, May 23, 2013 5:23:09 PM UTC+8, OJ Tibi - &amp;lt; at &amp;gt;ojtibi wrote:

&lt;/pre&gt;</description>
    <dc:creator>OJ Tibi - &lt; at &gt;ojtibi</dc:creator>
    <dc:date>2013-05-24T01:08:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103052">
    <title>Re: Cache Implement on ACL</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103052</link>
    <description>&lt;pre&gt;

On Thursday, 23 May 2013 22:10:32 UTC+7, Yasir Arafat wrote:
Maybe 
https://github.com/croogo/croogo/blob/1.5/Plugin/Acl/Controller/Component/Auth/AclCachedAuthorize.php 
could be used/modified as a starting point.

 

&lt;/pre&gt;</description>
    <dc:creator>rchavik</dc:creator>
    <dc:date>2013-05-24T00:39:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103051">
    <title>Re: CakePHP 2.x Moving Find into Model</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103051</link>
    <description>&lt;pre&gt;Apply the array to the $paginate class var, not the method. Basically, you
can declare the $paginate array as a class var, then add to or override any
part of it from within an action.


On Thu, May 23, 2013 at 7:12 PM, Larry Lutz &amp;lt;lutzle-0NmH7p4SfXGsTnJN9+BGXg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>lowpass</dc:creator>
    <dc:date>2013-05-24T00:09:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103050">
    <title>CakePHP 2.x Moving Find into Model</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103050</link>
    <description>&lt;pre&gt;I'm trying to achieve the fat model/skinny controller mantra in CakePHP 
2.7. In that scenario, the model should control the data, and that means 
moving the finds out of the controllers and into the models. However, at 
least with the view and admin_view actions, one needs the data paginated.

The problem starts there. It's easy enough to do a $this-&amp;gt;find('all') in 
the model to get the data, along with any conditions, contains, etc. 
However that produces an array. Paginator-&amp;gt;paginate(), as far as I can tell 
won't work in the model; it's a component that only works in a controller. 
Yet, if I take the array produced in the model into the controller and try 
to pass it on to Paginator-&amp;gt;paginate(), it fails because paginate won't 
accept an array.

In terms of trying to achieve the fat model/skinny controller goal, what am 
I missing here. How can I achieve a paginated result while still having the 
model (properly) do the work of managing and finding the data?

&lt;/pre&gt;</description>
    <dc:creator>Larry Lutz</dc:creator>
    <dc:date>2013-05-23T23:12:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103049">
    <title>cakePHP 2.3 and Sybase</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103049</link>
    <description>&lt;pre&gt;I have been asked to develop a application using the companies existing 
data base.  The current database is on a microsoft 2008r2 server.  I am 
developing the application on a LAMP server. I need to connect to the 
sybase database on the microsoft server.  I have configured my lamp server 
to connect to and pull information from the remote sybase data base.  Is 
there a way to get cake 2.3 to use this sybase server?


&lt;/pre&gt;</description>
    <dc:creator>PlanoCoder</dc:creator>
    <dc:date>2013-05-23T18:58:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103048">
    <title>Cache Implement on ACL</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103048</link>
    <description>&lt;pre&gt;Hello,
I have used ACL in an application. It was fine when there were very few
functionality but day by day as the functionalities are increased the load
time is also increasing. I make sure about



   - *D**atabase is normalized properly*
   - *I**ndex field properly*
   - *T**able engine is innoDB*.


I get little improvement but that's not sufficient. So i think if i can
implement cache on ACL that will help me????

So i need help on implementing ACL or if you have any other suggesions.

&lt;/pre&gt;</description>
    <dc:creator>Yasir Arafat Hasib</dc:creator>
    <dc:date>2013-05-23T15:10:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103047">
    <title>Re: Performance</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103047</link>
    <description>&lt;pre&gt;Very nice, I already use most of those techniques, thanks!!

But it seems the more internet get faster, more people care about website 
sizing and requests count

Em quinta-feira, 23 de maio de 2013 11h04min06s UTC-3, Eduardo Barbosa 
Moreira escreveu:

&lt;/pre&gt;</description>
    <dc:creator>André Luis</dc:creator>
    <dc:date>2013-05-23T14:35:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103046">
    <title>Performance</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103046</link>
    <description>&lt;pre&gt;Hello friends, there is a guide about performance, it is very usefull:
http://browserdiet.com/

Do you know it?

&lt;/pre&gt;</description>
    <dc:creator>Eduardo Moreira</dc:creator>
    <dc:date>2013-05-23T14:04:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103045">
    <title>Re: How many Plug-ins Is Too many</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103045</link>
    <description>&lt;pre&gt;When you load plugins, only bootstrap and routes are automatically loaded 
everytime, so if you are loading some plugin´s bootstrap or routes be shure 
there is nothing heavy on those files.

Em quarta-feira, 22 de maio de 2013 03h57min50s UTC-3, advantage+ escreveu:

&lt;/pre&gt;</description>
    <dc:creator>André Luis</dc:creator>
    <dc:date>2013-05-23T12:00:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103044">
    <title>Re: Directory Protection</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103044</link>
    <description>&lt;pre&gt;Just a suggestion, but why dont you create a images folder on the root of 
the server, them create a controller wich read the image and outputs to 
browser? It would be protected...

It would be like you create /app/images and upload the files to this 
folder, them only cake would have access, but for a better security, the 
root folder is advised. 

Em quarta-feira, 22 de maio de 2013 23h08min56s UTC-3, advantage+ escreveu:

&lt;/pre&gt;</description>
    <dc:creator>André Luis</dc:creator>
    <dc:date>2013-05-23T11:57:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103043">
    <title>Re: Directory Protection</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103043</link>
    <description>&lt;pre&gt;Hi

You can protect the image view via the web server hot link protection by make  sure the request is come from your own application, which simply checking the http referrer of the requet.

Let the web server do the static image serving, and cake for serving the app logic. 

Hope helps

Mulianto
Sent from my iPhone

On 23 Mei 2013, at 10:08, "Advantage+" &amp;lt;movepixels-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>mulianto</dc:creator>
    <dc:date>2013-05-23T09:35:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103042">
    <title>Re: Broken Sessions When Using Firebug in CakePHP 2.3</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103042</link>
    <description>&lt;pre&gt;Works for me, thanks!

On Thursday, May 23, 2013 9:23:27 AM UTC+8, SpazzyV wrote:

&lt;/pre&gt;</description>
    <dc:creator>OJ Tibi - &lt; at &gt;ojtibi</dc:creator>
    <dc:date>2013-05-23T09:23:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103041">
    <title>Re: How many Plug-ins Is Too many</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103041</link>
    <description>&lt;pre&gt;
Nothing is loaded until you use it - and it won't make any difference if 
you _are_ using a file, whether they are all located in one app/plugin, or 
organized in plugins.

AD

On Wednesday, 22 May 2013 08:57:50 UTC+2, advantage+ wrote:

&lt;/pre&gt;</description>
    <dc:creator>AD7six</dc:creator>
    <dc:date>2013-05-23T07:31:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103040">
    <title>Directory Protection</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103040</link>
    <description>&lt;pre&gt;I have an" img/uploads" folder which has users profile images and such.

 

How do you go about protecting the folder so there is no access except when
Cake gets the images? 

So anyone can't just browse thru the directory?

 

Google search turned up MediaView so put the uploads outside of webroot, but

" As of 2.3 MediaView is deprecated and you can use CakeResponse::file() to
send a file as response:"

 

Should it be set to use CakeResponse::file($path, $options = array())

Allows you to set a file for display or download

 

If so is there a simple example out there showing exactly how this would get
the files and server it up?

 

$image = CakeResponse::file('where/file/is/here.jpg, $options = array())

$this-&amp;gt;Controller-&amp;gt;set('image', $image);

 

Thanks,

Dave

 

&lt;/pre&gt;</description>
    <dc:creator>Advantage+</dc:creator>
    <dc:date>2013-05-23T02:08:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103039">
    <title>Re: Tree Based Permissions</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103039</link>
    <description>&lt;pre&gt;Record-level ACL. I did that for a Cake site and it worked quite well. In
that case also I only needed to set permissions by Group, so it was a
little bit simpler than if it was per user.

The client who hired me to do it is long out of the picture, so it's
languished in the 1.2.x codebase. (The site is a company's private
intranet, so hopefully they're at least somewhat protected.) That said,
I've been meaning to update the code because I may need to re-use it soon.
If you can give me a day or two I'll strip out the extraneous (and
sensitive) stuff and pass it along to you with a few notes.


On Mon, May 20, 2013 at 10:52 PM, Jeff Smith &amp;lt;jeff-lsj33pdFnLQA0kZt85UdNg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>lowpass</dc:creator>
    <dc:date>2013-05-23T01:30:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103038">
    <title>Re: Broken Sessions When Using Firebug in CakePHP 2.3</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103038</link>
    <description>&lt;pre&gt;You may want to set checkAgent = false, as Firefox will present as one User Agent but then FireBug could show up as a different User Agent. The default is true, and if the user agent changes with the same session key will break the session - I believe.

Thanks,
Vinnie

&lt;/pre&gt;</description>
    <dc:creator>SpazzyV</dc:creator>
    <dc:date>2013-05-23T01:23:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103037">
    <title>Re: How many Plug-ins Is Too many</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103037</link>
    <description>&lt;pre&gt;As always it depends;).

Look at it from maintainance point of view and separation of code / 
reusability (so hint for packaging functionalities in plugins).

If its separate I would put in plugin (obviously ContentManager, 
GalerryManager,etc.) some common/base functionalities can be packaged as 
one plugin (lets say: sluggable, cacheable, utils behaviors, ets in one, 
compresors in second).

If speed is your concern: use APC and caching, integrate loose assets to 
one (CSS, JS), etc.

Comparing Plugin site to One bag - I think that there will be some overhead 
for loading plugins, so One bag has a small +, but anyway all your 
functionalities will be divided in separate classes/files so still overhead 
for loading associated files for helpers,models etc will be comparable.

Its from my point of view and I don't remember now how it is internally 
handled by Cake and how big is plugin overhead.


On Wednesday, May 22, 2013 8:57:50 AM UTC+2, advantage+ wrote:

&lt;/pre&gt;</description>
    <dc:creator>jodator</dc:creator>
    <dc:date>2013-05-22T09:10:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103036">
    <title>How many Plug-ins Is Too many</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103036</link>
    <description>&lt;pre&gt;I guess the question already will depend on the size / scale of the site. 

But with everything moving towards packaging components / helper and such as
plugins is there a better way or does it really matter?

 

Bootstrap / facebook / twitter / js compressor / css compressor / UserManger
/ ContentManger / SeoManager / ContactManager / GalleryManager /
BritaPurifirer / LESS / Sluggable / Cacheable

 

Just seems like a lot to load. Then on demand ones like Upload / Cropper /
Publisher...I can go on all night.

 

Is there a best practice? Most of these run universally and required
everywhere so it's not so much a pick and choose when to load them.

 

But if you created a site with no plugins for example and have say the
mentioned above ones as straight controllers / models in the respective
directories would it be the same thing?(would not do that obviously)

Is there an overhead to deal with or does Cake treat it as if was a regular
model / controller as if it was sitting in the model / controller folders?&lt;/pre&gt;</description>
    <dc:creator>Advantage+</dc:creator>
    <dc:date>2013-05-22T06:57:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103035">
    <title>Re: AppController Troubleshooting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103035</link>
    <description>&lt;pre&gt;I am totally embarrassed! That's why it always helps to have someone else 
give their ideas. I did have a beforeFilter() in the Howtos controller -- 
but no parent::beforeFilter. That fixed it. Thanks a million, cricket!

On Tuesday, May 21, 2013 9:22:02 PM UTC-5, cricket wrote:

&lt;/pre&gt;</description>
    <dc:creator>Larry Lutz</dc:creator>
    <dc:date>2013-05-22T02:37:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.cakephp.general/103034">
    <title>Re: AppController Troubleshooting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.cakephp.general/103034</link>
    <description>&lt;pre&gt;Sorry, I meant the HowtosController, not AppController.


On Tue, May 21, 2013 at 8:25 AM, Larry Lutz &amp;lt;lutzle-0NmH7p4SfXGsTnJN9+BGXg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>lowpass</dc:creator>
    <dc:date>2013-05-22T02:22:02</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.php.cakephp.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.php.cakephp.general</link>
  </textinput>
</rdf:RDF>
