P
Sent via my mobile.

-----Original Message-----
From: [email protected]
Sender: [email protected]
Date: Mon, 09 Jul 2012 04:13:38 
To: Digest Recipients<[email protected]>
Reply-To: [email protected]
Subject: Digest for [email protected] - 8 Messages in 5 Topics

=============================================================================
Today's Topic Summary
=============================================================================

Group: [email protected]
Url: http://groups.google.com/group/cake-php/topics

  - 3.0: a peek into CakePHP's future [2 Updates]
    http://groups.google.com/group/cake-php/t/f932e7e91a47b785
  - Paginate with associated model conditions [1 Update]
    http://groups.google.com/group/cake-php/t/925bac6e22fb5032
  - No cases in url parameters ? [3 Updates]
    http://groups.google.com/group/cake-php/t/8c1d976e4e665cc7
  - Pages and Auth [1 Update]
    http://groups.google.com/group/cake-php/t/ed99137755da94f0
  - Login takes away the slug from my URL [1 Update]
    http://groups.google.com/group/cake-php/t/d3a35a71f145627f


=============================================================================
Topic: 3.0: a peek into CakePHP's future
Url: http://groups.google.com/group/cake-php/t/f932e7e91a47b785
=============================================================================

---------- 1 of 2 ----------
From: "[email protected]" <[email protected]>
Date: Jul 07 09:04PM -0700
Url: http://groups.google.com/group/cake-php/msg/6679b0f052eee71c

On Saturday, 7 July 2012 11:35:08 UTC+2, tigr wrote:
> perfectly sensible data processing framework to the object-oriented glory. 
> For practical reasons, it would be great to leave the model layer 
> principles as they are.

my few cents:

a.) fork it
b.) if cake is decoupled enough = forking will be easy (e.g. the decoupling 
between model layer from controller layer from view helper etc.)
c.) instead of forking, add a 2nd model layer abstraction
d.) learn from rails3
e.) look at how well AREL works

so for me the questions are rather: can a similar decoupling be done well 
in php 5.4; can we get true objects or just read only? if we get read only, 
can't we just enable a bool to return nested data arrays?


---------- 2 of 2 ----------
From: Greg Skerman <[email protected]>
Date: Jul 09 12:12PM +1000
Url: http://groups.google.com/group/cake-php/msg/d206b6acfd6a52a

For mine, being able to deal with objects in the view would greatly improve
the readability of data (the whole $user['User']['email'] etc looks
incredibly difficult to read to me, compared with $user->email which would
be much nicer).

I've always felt dealing with arrays is a bit of a 'hack'. I understand the
choice, but I think the idea to move towards a more object oriented
approach is more than hype, and long overdue.





=============================================================================
Topic: Paginate with associated model conditions
Url: http://groups.google.com/group/cake-php/t/925bac6e22fb5032
=============================================================================

---------- 1 of 1 ----------
From: Michael Gaiser <[email protected]>
Date: Jul 08 02:44PM -0400
Url: http://groups.google.com/group/cake-php/msg/e17618f0f32fb722

No on knows how to solve this issue? I have a few very complicated work
arounds, but every time I end up implementing such work arounds, it always
comes back to the fact that I was doing it wrong originally.

~Michael




=============================================================================
Topic: No cases in url parameters ?
Url: http://groups.google.com/group/cake-php/t/8c1d976e4e665cc7
=============================================================================

---------- 1 of 3 ----------
From: tigr <[email protected]>
Date: Jul 08 12:19AM -0700
Url: http://groups.google.com/group/cake-php/msg/69c1dc8d48da7398

YOu have to create your table with a case-sensitive user name field By 
default it is not.
http://dev.mysql.com/doc/refman/5.0/en/case-sensitivity.html

Cheers!

On Sunday, 8 July 2012 02:16:09 UTC+2, JonStark wrote:


---------- 2 of 3 ----------
From: JonStark <[email protected]>
Date: Jul 08 02:48AM -0700
Url: http://groups.google.com/group/cake-php/msg/996a417067d4b564

Oh thanks never knew about this ! Do you know how to edit a table field 
with phpMYAdmin to allow case sensitivity ?

Thanks !

Le dimanche 8 juillet 2012 02:16:09 UTC+2, JonStark a écrit :


---------- 3 of 3 ----------
From: euromark <[email protected]>
Date: Jul 08 03:11AM -0700
Url: http://groups.google.com/group/cake-php/msg/59b45b02496b19b2

why not using utf8_unicode_ci (ci stands for case ins.)?
using this for all tables will take care of your poblem at the root 
(without having to change fields)


Am Sonntag, 8. Juli 2012 11:48:21 UTC+2 schrieb JonStark:



=============================================================================
Topic: Pages and Auth
Url: http://groups.google.com/group/cake-php/t/ed99137755da94f0
=============================================================================

---------- 1 of 1 ----------
From: tigr <[email protected]>
Date: Jul 08 12:11AM -0700
Url: http://groups.google.com/group/cake-php/msg/efa1de1f0c4da8ef

Hi!

I am also falling in love with it, so far as to become jealous already :)

The authentication is what you did at your users pages. The authentication 
and authorization are different. Now you have to set up the authorization 
using some method, like controller/action authorization for example. And 
then during the check you redirect users to login if they are not yet 
logged in. But this has to be set up.

If you want it simple, you add something like this to your app controller;
        public $components = array(
                'Auth' => array(
                        'loginAction' => array(
                                'controller' => 'users',
                                'action' => 'login',
                        ),
                        'loginRedirect' => array(
                                'controller' => 'users',
                                'action' => 'view',
                        ),
           );
And it will automatically redirect users to users/login if they are not 
logged in.
Then you use $this->Auth->allow() and $this->Auth->deny() in your 
controllers to control what methods are available to anonymous users.

There are other alternatives but this is the most basic setup, I think.
Cheers!

On Saturday, 7 July 2012 23:20:59 UTC+2, David Lozzi wrote:



=============================================================================
Topic: Login takes away the slug from my URL
Url: http://groups.google.com/group/cake-php/t/d3a35a71f145627f
=============================================================================

---------- 1 of 1 ----------
From: tigr <[email protected]>
Date: Jul 08 12:03AM -0700
Url: http://groups.google.com/group/cake-php/msg/5a4757cd9c42e04e

If it were so, you could do $this->Auth->loginRedirect = $this->referer() 
in your app's beforeFilter...

On Saturday, 7 July 2012 20:02:17 UTC+2, cricket wrote:




-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to