Thursday, July 9, 2015

Re: Which parts of the framework can be used outside the framework?

Not directly an answer to your problem but I would appreciate if we could make more parts of the framework completely self-contained if possible.

Other frameworks, especially Symfony, does a very good job in doing so and on top of that they use their libs as a marketing tool. To me it looks like almost every of their libs or packages has it's own website.

On Wednesday, July 8, 2015 at 11:12:29 PM UTC+2, David Yell wrote:
I've noticed that stuff like the Event library have their own readme's does that mean that the library can be used outside the framework, like a component?

I'm making a presentation and I would like a list of all the parts of the framework which can be used outside the framework as a bonus point for Cake.

--
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.

Composer and Cake lib folder

I have a standard Cake project setup on Github. The project root for has the app, lib folders in addition to all the other files like .gitignore. I would like to remove the lib folder from my repo and control which Cake version I am using with a dependency manager. Is this possible with composer?

For example, I could just change the composer json file from Cake 2.4 to 2.6, and the repo will not have to track the lib folder. Then when I want to put the project online, I can just have composer download the lib folder.

Is this possible? What would that composer file look like? I tried adding "cakephp/cakephp": "~2.6" to the composer file but it gives and error saying the package could not be found.

--
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.

Schema Shell for Procedures, Views & Triggers.

Schema shell is not working for procedures, views, and triggers. How can I use it for procedures, views and triggers as well. Is their any external plugin present that helps me with this??

--
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.

How to execute stored procedure in cakephp 2.6 with mssql server 2005 ?

Hi everyboy,

It's been a a month now that i'm trying to execute and get the result of a stored procedure wich is located in mssql server with cakephp.
So far I've tried this :
$conn = $this->DevCondition->getDataSource('default');
$result
= $conn->query('Exec [dbo].[cond_docu_log_errors]');
debug
($result);
die();

 

When I test it it shows me this :
\app\Controller\TestsController.php (line 153)
array() 

Any Idea how i can retrive the data sended by my stored procedure ?

I'm really getting desperate over this so any advices or bit of informatiosn are welcome.

Thanks in advance,

The devil

--
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.

Wednesday, July 8, 2015

Which parts of the framework can be used outside the framework?

I've noticed that stuff like the Event library have their own readme's does that mean that the library can be used outside the framework, like a component?

I'm making a presentation and I would like a list of all the parts of the framework which can be used outside the framework as a bonus point for Cake.

--
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.

Monday, July 6, 2015

Como Ativar o mcrypt no php.ini

Sou iniciante em CakePHP e estou apanhando para ativar o mcrypt no php.ini. sou usuário de macbook.
Grato pela atenção de todos que puderem contribuir.

--
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.

Sunday, July 5, 2015

Re: In CakePHP 3, how do I check if user is logged in and has admin rights?

SessionHelper is deprecated; 
use $this->request->session()->read('Auth.User.id');

On Monday, December 8, 2014 at 2:29:35 AM UTC-8, euromark wrote:
if ($this->Session>check('Auth.User.id') {}


Am Montag, 8. Dezember 2014 02:32:28 UTC+1 schrieb frocco:
I want to check in my default layout.

Thanks

--
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.