Boris REPL with 3.x

2014-02-28 Thread Dr. Tarique Sani
Can anyone give a quick update on what is the status of Boris in CakePHP
3.x

Wanted to play around with the new ORM - a few quick lines on something
which works would be appreciated.

Cheers
Tarique

-- 
=
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=

-- 
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+unsubscr...@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/groups/opt_out.


Re: Dynamic menu content in layout

2014-02-28 Thread Dr. Tarique Sani
What you are really wanting is the ViewModel. CakePHP does not implement
that explicitly but you can get the same functionality by creating a helper
and accessing your model in the helper keeping the view clean.

HTH

Tarique



On Thu, Feb 27, 2014 at 1:09 AM, Sam Clauw i...@bellewaerdefun.be wrote:

 Okay, let's suppose I want to put my menu in an element called
 top_menu.ctp. I want to get my data out of the database, so probably, I
 shouldn't connect with my





-- 
=
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=

-- 
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+unsubscr...@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/groups/opt_out.


Media View Path - Strange behaviour

2014-02-28 Thread Stephen S
Hey

I've pulled some working code from a repository this morning, which works
at the office using OSX, to my windows machine.

The media view is having strange and unexpected behaviour, here is the code
(expected path and actual path).

http://pastie.org/private/qw6twdc7pk4mm9kqega

If you read the book (http://book.cakephp.org/2.0/en/views/media-view.html)
it states the path by default should be absolute unless it's relative to
the webroot folder. This only happens on my windows installation.

Perhaps this is a bug I should report, rather than something I have done
wrong?

Cheers!

-- 
Kind Regards
 Stephen Speakman

-- 
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+unsubscr...@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/groups/opt_out.


Re: Boris REPL with 3.x

2014-02-28 Thread José Lorenzo
Status: Done

Install 3.x following the instructions in the 
README http://github.com/cakephp/app

You will be able to execute Console/cake console afterwards

On Friday, February 28, 2014 10:38:27 AM UTC+1, Dr. Tarique Sani wrote:

 Can anyone give a quick update on what is the status of Boris in CakePHP 
 3.x 

 Wanted to play around with the new ORM - a few quick lines on something 
 which works would be appreciated.

 Cheers
 Tarique

 -- 
 =
 The Conference Schedule Creator : http://shdlr.com

 PHP for E-Biz : http://sanisoft.com
 = 


-- 
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+unsubscr...@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/groups/opt_out.


Re: 3.0 - Acl

2014-02-28 Thread José Lorenzo
It is not. The database version of ACL will be probably removed from cake 3 
as it has proven to be an over complication for the great majority of cases.

On Thursday, February 27, 2014 6:49:15 PM UTC+1, Thomas von Hassel wrote:

 Hey

 Am i right to assume that Acl is not done in 3.0 yet ? 

 /thomas



-- 
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+unsubscr...@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/groups/opt_out.


What are the advantages and disadvantages(if any) to use cakephp3.0?

2014-02-28 Thread Sam
What are the advantages and disadvantages(if any) to use cakephp3.0 instead 
of cakephp2.x?

-- 
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+unsubscr...@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/groups/opt_out.


Re: Boris REPL with 3.x

2014-02-28 Thread Dr. Tarique Sani
Ah! Ok I was trying to use Boris directly instead of cake console

Thanks

Tarique

On Friday, February 28, 2014, José Lorenzo jose@gmail.com wrote:

 Status: Done

 Install 3.x following the instructions in the README
 http://github.com/cakephp/app

 You will be able to execute Console/cake console afterwards

 On Friday, February 28, 2014 10:38:27 AM UTC+1, Dr. Tarique Sani wrote:

 Can anyone give a quick update on what is the status of Boris in CakePHP
 3.x

 Wanted to play around with the new ORM - a few quick lines on something
 which works would be appreciated.

 Cheers
 Tarique

 --
 =
 The Conference Schedule Creator : http://shdlr.com

 PHP for E-Biz : http://sanisoft.com
 =

  --
 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+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','cake-php%2bunsubscr...@googlegroups.com');
 .
 To post to this group, send email to 
 cake-php@googlegroups.comjavascript:_e(%7B%7D,'cvml','cake-php@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
=
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=

-- 
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+unsubscr...@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/groups/opt_out.


Re: 3.0 - Acl

2014-02-28 Thread Dr. Tarique Sani
Great! Is a replacement proposed? Something like Sentry 2 package?

Tarique

On Friday, February 28, 2014, José Lorenzo jose@gmail.com wrote:

 It is not. The database version of ACL will be probably removed from cake
 3 as it has proven to be an over complication for the great majority of
 cases.

 On Thursday, February 27, 2014 6:49:15 PM UTC+1, Thomas von Hassel wrote:

 Hey

 Am i right to assume that Acl is not done in 3.0 yet ?

 /thomas

  --
 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+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','cake-php%2bunsubscr...@googlegroups.com');
 .
 To post to this group, send email to 
 cake-php@googlegroups.comjavascript:_e(%7B%7D,'cvml','cake-php@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
=
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=

-- 
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+unsubscr...@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/groups/opt_out.


Re: What are the advantages and disadvantages(if any) to use cakephp3.0?

2014-02-28 Thread Andrew Lechowicz
CakePHP 3.0 is still a preview. It is not intended for production use and 
is not complete. You could consider it alpha software (pre beta). More 
information about the 3.0 Developer preview 1 can be found 
here: 
http://bakery.cakephp.org/articles/markstory/2014/01/05/cakephp_3_0_0_dev_preview_1_released


On Friday, February 28, 2014 8:13:17 PM UTC-5, Sam wrote:

 What are the advantages and disadvantages(if any) to use cakephp3.0 
 instead of cakephp2.x?


-- 
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+unsubscr...@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/groups/opt_out.


Re: Media View Path - Strange behaviour

2014-02-28 Thread Andrew Lechowicz
What is the value of your `ROOT` constant on the windows machine?

On Friday, February 28, 2014 7:01:22 AM UTC-5, Stephen S wrote:

 Hey

 I've pulled some working code from a repository this morning, which works 
 at the office using OSX, to my windows machine.

 The media view is having strange and unexpected behaviour, here is the 
 code (expected path and actual path).

 http://pastie.org/private/qw6twdc7pk4mm9kqega

 If you read the book (http://book.cakephp.org/2.0/en/views/media-view.html) 
 it states the path by default should be absolute unless it's relative to 
 the webroot folder. This only happens on my windows installation.

 Perhaps this is a bug I should report, rather than something I have done 
 wrong?

 Cheers!

 -- 
 Kind Regards
  Stephen Speakman
  

-- 
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+unsubscr...@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/groups/opt_out.


Re: 3.0 - Acl

2014-02-28 Thread Thomas von Hassel
Oh, that's a shame. Works fine for me, once you get a hang of it. 

/Thomas 

Sent from my iPad

 On 28 Feb 2014, at 13:30, José Lorenzo jose@gmail.com wrote:
 
 It is not. The database version of ACL will be probably removed from cake 3 
 as it has proven to be an over complication for the great majority of cases.
 
 On Thursday, February 27, 2014 6:49:15 PM UTC+1, Thomas von Hassel wrote:
 Hey
 
 Am i right to assume that Acl is not done in 3.0 yet ? 
 
 /thomas
 
 -- 
 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+unsubscr...@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/groups/opt_out.

-- 
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+unsubscr...@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/groups/opt_out.


Re: 3.0 - Acl

2014-02-28 Thread Thomas von Hassel
To clarify, i have an app that manages permissions for a great many Entities 
with DbAcl and i never had any problems with it ... 

/thomas



On 28 Feb 2014, at 13:30, José Lorenzo jose@gmail.com wrote:

 It is not. The database version of ACL will be probably removed from cake 3 
 as it has proven to be an over complication for the great majority of cases.
 
 On Thursday, February 27, 2014 6:49:15 PM UTC+1, Thomas von Hassel wrote:
 Hey
 
 Am i right to assume that Acl is not done in 3.0 yet ? 
 
 /thomas
 
 
 -- 
 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+unsubscr...@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/groups/opt_out.

-- 
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+unsubscr...@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/groups/opt_out.