Re: CakePHP 3.0.0 development preview 2 released

2014-04-16 Thread euromark
I can't. Am Mittwoch, 16. April 2014 14:34:56 UTC+2 schrieb steven lee: > > who can send me some video about cakephp? > > On Thursday, March 13, 2014 5:35:36 AM UTC+8, José Lorenzo wrote: >> >> The CakePHP core team is excited to announce the second development >> preview of CakePHP 3.0.0[1]. In

Re: CakePHP 3.0.0 development preview 2 released

2014-04-16 Thread steven lee
who can send me some video about cakephp? On Thursday, March 13, 2014 5:35:36 AM UTC+8, José Lorenzo wrote: > > The CakePHP core team is excited to announce the second development > preview of CakePHP 3.0.0[1]. In the few months since 3.0.0-dev1, we've been > hard at work incorporating community

Re: CakePHP 3.0.0 development preview 2 released

2014-04-09 Thread mark_story
The tricky part with ODBC is getting the correct SQL dialect wired up. What kind of database do you want to connect with over ODBC? -Mark On Tuesday, 8 April 2014 03:03:24 UTC-4, Comrade Raj wrote: > > Any support for ODBC as a datasource ? -- Like Us on FaceBook https://www.facebook.com/Cake

Re: CakePHP 3.0.0 development preview 2 released

2014-04-08 Thread José Lorenzo
Not yet, although it may not be difficult at all to support it. Do you want to help? If I'm not mistaken you can use any of the provided drivers (sqlite, mysql, postgres) and pass an ODBC connection string (DSN). I build the drivers with that use case in mind. On Tuesday, April 8, 2014 9:03:24

CakePHP 3.0.0 development preview 2 released

2014-04-08 Thread Comrade Raj
Any support for ODBC as a datasource ? -- 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

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread André Luis
I Igree with Christopher, I also have some controllers wich uses more than one table, also there are some cases wich i need to load them in AppController and define some values to the whole application. So would be better keeping the $uses. Em quarta-feira, 12 de março de 2014 18h35min36s UTC-

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread Christopher Castro
yes yes, I know, it will autoload AriclesTable for ArticlesController. This just work when having 1:1 relation between Controller and Model. But I have some complex applications where Controller uses more than 1 model (unrelated each other)... so I like to declare Controller::$uses and load all of

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread Stephen S
I think the only time I have implemented $uses is when I've built a shell which directly deals with one model throughout... On 14 March 2014 12:13, Christopher Castro wrote: > I see. > No really, no particular reason. > I just like the model autoloading feature in 2.x. I'm a bit lazy and don't

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread Dr. Tarique Sani
Hey Christopher, The Table and Entity classes are still automagically included in the controller if you follow the naming conventions. Cheers Tarique On Fri, Mar 14, 2014 at 5:43 PM, Christopher Castro wrote: > I see. > No really, no particular reason. > I just like the model autoloading featu

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread Christopher Castro
I see. No really, no particular reason. I just like the model autoloading feature in 2.x. I'm a bit lazy and don't like to manually loadModel()... heheh Regards 2014-03-13 23:45 GMT+01:00 José Lorenzo : > $uses was not actually offering much. Is there a particular reason you > wanted to keep it

Re: CakePHP 3.0.0 development preview 2 released

2014-03-14 Thread mark_story
Thanks for pointing those issues out. I will get the app skeleton and docs updated. -mark -- 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 un

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread José Lorenzo
$uses was not actually offering much. Is there a particular reason you wanted to keep it? On Thursday, March 13, 2014 9:51:14 PM UTC+1, Christopher Castro wrote: > > Yes I know... nothing new, similar to old versions of cake. > > Is there any reason about removing Controller::$uses ? > because I

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread Christopher Castro
Yes I know... nothing new, similar to old versions of cake. Is there any reason about removing Controller::$uses ? because I dont see the point. Moreover, app-template (PagesController::$uses) and 3.0-book still mention it. 2014-03-13 21:33 GMT+01:00 Thomas von Hassel : > No, a PostsController

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread Thomas von Hassel
No, a PostsController will try to load a table class called PostsTable automagically /thomas On 13 Mar 2014, at 21:29, Christopher Castro wrote: > Hi, > > I'm taking a look to the new ORM, and I've noticed there is no longer > Controller::$uses. > we have to use loadModel() instead? No more

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread Christopher Castro
Hi, I'm taking a look to the new ORM, and I've noticed there is no longer Controller::$uses. we have to use loadModel() instead? No more model autoloading? :( Great work btw 2014-03-13 16:11 GMT+01:00 José Lorenzo : > Sorry, I made a mistake in my previous paste, This is a new version > http:

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread José Lorenzo
Sorry, I made a mistake in my previous paste, This is a new version http://bin.cakephp.org/saved/120567 There was another thread with the same topic here in the group, you may want to check it to know how it is supposed to work if you create your Entity class. On Thursday, March 13, 2014 4:09:

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread José Lorenzo
Yeah, you need an entity class or do the following: http://bin.cakephp.org/saved/120566 Check the modified lines in the add() method. This is just a workaround if you don't want a custom entity. We hope to make this easier and more clear in the future. On Thursday, March 13, 2014 4:03:08 PM UT

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread André Luis
My Controller: http://bin.cakephp.org/saved/120565 I didnt create any entity yet, but the index and view are working very well. -- 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 G

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread José Lorenzo
Blog tutorial is not yet completed. Could you please past your entity and the controller code here? On Thursday, March 13, 2014 3:48:10 PM UTC+1, André Luis wrote: > > Amazing news, but I am trying to follow the BLOG tutorial, but when I try > to save the article, it just says "Unable to add you

Re: CakePHP 3.0.0 development preview 2 released

2014-03-13 Thread André Luis
Amazing news, but I am trying to follow the BLOG tutorial, but when I try to save the article, it just says "Unable to add your article", what can be happen?? the code is exactly the same of blog tutorial... PHP version is 5.5.6, mysql is the lattest version too... -- Like Us on FaceBook https

CakePHP 3.0.0 development preview 2 released

2014-03-12 Thread José Lorenzo
The CakePHP core team is excited to announce the second development preview of CakePHP 3.0.0[1]. In the few months since 3.0.0-dev1, we've been hard at work incorporating community feedback on the ORM, and building out some of the functionality that was missing in the first development preview