baking complete cakephp application
Hi guys, Can some one guide me in baking a cake application. I read several articles saw videos but missing something failing to bake it properly. Through command line i am typing C:\xampp\htdocs\cakephp\cake\console typing Cake bake all error is 'cake' is not recognized as internal or external command I think i am missing something in adding environmental variable in system properties. Please help in getting through it. Thankyou, kiran. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
I use Netbeans and you use it with CakePHP like you would with any other type of PHP based project in Netbeans. On 2 December 2010 18:22, Miles J mileswjohn...@gmail.com wrote: Netbeans doesn't have CakePHP support, its just an IDE. I also love how your asking for step by step images on how to do everything, try to figure it out yourself. On Dec 2, 5:48 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Sure - I'll drop everything and just knock you up a quick training course. NetBeans is just a glamourous text editor used for managing the text files that make up CakePHP. It should be fairly elementary for even a novice developer to work it out. Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 2 Dec 2010, at 05:07, Seyed Mahmood Hosseini wrote: Hello Please Help Me To Use CakePHP Famework In NetBeans IDE 6.8 Please Help Me Step-By-Step ( Training with images ) Thanks. Bye. Web Site : Http://WwW.NewAge.Ir Mail : i...@newage.irweb@gmail.com Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group athttp:// groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Using or not using PHP framework
I have stopped working without a framework in the background years ago, and I only can recommend it. There's SO much stuff you don't even know about that's handled by a good framework in the background (all sorts of hacking-attempts is taken care of, for example), and with a good plugin system your application can probably use great blocks of code you've developed before or somebody else has already developed. I only know CakePHP in the PHP world, so I'm not up to date what else is on the market there, but CakePHP really seems to be a good framework to start with. And what can't hurt, too, is to check out a framework in another language from time to time... I can only suggest you check out Ruby on Rails (Ruby), Django (Python) or Seaside (Smalltalk). You can learn A LOT from such other worlds. You will be quite embarassed and feel like you have been naive before after having done it. It's clearly an enlighting... Somehow it can be compared to taking a virtual drug that opens your consciousness. LSD for programmers! ;-) Likewise, and I completely agree. I did dive into CakePHP some years ago and ended up being baffled and confused because I didn't know anything about objects never mind MVC. I got roped into doing a RoR project in a previous job, then I tackled CakePHP again and I never code without a framework anymore Kind Regards Stephen Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: look feel/ user interface with cakephp
More on layouts: http://book.cakephp.org/view/1080/Layouts On 3 December 2010 07:40, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Yes. The folders /app/webroot/css contains a generic Cake stylesheet, but obviously you don't have to use it. Create your own CSS files in this folder. The you include them in your layout using this code within the head tag: echo $this-Html-css(array('stylesheet1', 'stylesheet2', ...etc...)); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 07:34, Raj wrote: I am in confusion whether it is possible to customize the look and feel of my web application or rather say I would like to develop the look and feel myself using HTML/ CSS, while working with cakephp, is that possible? Thanks in advance.. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Kind Regards Stephen www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Using or not using PHP framework
Funny, I first learned Ruby On Rails, too, and then dove into CakePHP (because at my current job they don't know anything about a programming language called Ruby... sadly). I first had quite some struggles because I was used to the comfort of RoR and really missed some stuff in CakePHP, but now I have acclimated quite well and I have to say that CakePHP is quite cool for the PHP language. :-) On Fri, Dec 3, 2010 at 9:45 AM, Stephen step...@ninjacodermonkey.co.uk wrote: I have stopped working without a framework in the background years ago, and I only can recommend it. There's SO much stuff you don't even know about that's handled by a good framework in the background (all sorts of hacking-attempts is taken care of, for example), and with a good plugin system your application can probably use great blocks of code you've developed before or somebody else has already developed. I only know CakePHP in the PHP world, so I'm not up to date what else is on the market there, but CakePHP really seems to be a good framework to start with. And what can't hurt, too, is to check out a framework in another language from time to time... I can only suggest you check out Ruby on Rails (Ruby), Django (Python) or Seaside (Smalltalk). You can learn A LOT from such other worlds. You will be quite embarassed and feel like you have been naive before after having done it. It's clearly an enlighting... Somehow it can be compared to taking a virtual drug that opens your consciousness. LSD for programmers! ;-) Likewise, and I completely agree. I did dive into CakePHP some years ago and ended up being baffled and confused because I didn't know anything about objects never mind MVC. I got roped into doing a RoR project in a previous job, then I tackled CakePHP again and I never code without a framework anymore Kind Regards Stephen Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
simple one-to-many question
i m trying to make a relation between 2 tables: Authors that hasMany Books. So I created those 2 tables and one additional field author_id in Books table as foreign key to Authors. Next I create Author model that hasMany = Book and Book model that belongsTo Author. And then on both controller I put scaffold. Now I can add Author without problem via http://localhost/authors/add. Then if I browse to http://localhost/books/add, the form shows but the dropdown list which is supposed to be a list of author won't show. The list is empty. Any clue? I thought scaffold should create the relation automatically... or perhaps i miss something? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
On Dec 3, 8:48 am, Ma'moon phpir...@gmail.com wrote: You can easily remove the threat by using an image conversion, i use `convert` to convert my images to a standard image type, the conversion process changes the physical content of the uploaded file and destroys all the threat that it might contain while maintaining the valid images if they were valid from the first place!, its very important to `convert` the images specially the ones uploaded from your side! Why the ones uploaded from my side? And do you use a cakephp plugin for that? On Fri, Dec 3, 2010 at 6:15 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Dec 2, 2010 at 8:25 PM, euromark dereurom...@googlemail.com wrote: Did anyone try this? http://wafful.org/2007/08/04/php-code-in-gif-image-file/ I am wondering if miles uploader script or any other uploader plugin is aware of that risk yet. Or how dangerous this actually is for normal cake apps. Anyone happen to have such a bad image at hand? Drop me a line and I will report back with details. I think ?php phpinfo();? would be a good script to include I never did look into that further to see if there's something that can easily be done to catch those. But I've never been too concerned, either. Notice that the code embedded in the image is triggered because the file is included inside a PHP script. The only other way that I know of to use this exploit is to upload an image named something.gif.php. I always check both the extension and file type. If there's something I'm missing, though, I'd like to hear more. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
I feel a little bad for being harsh with him now... Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 09:30, keymaster wrote: Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
Am sorry, i mean to say From Users Side :) And no, am not using any plugins for that, i have my own implementation for file upload in CakePHP, basically you would do something like: exec('convert input_file_path output_file_path'); in order to convert an image, you can also use imagemagick driver if you have it compiled with your PHP installation http://php.net/manual/en/book.imagick.php or you may also use GD functions to perform this task On Fri, Dec 3, 2010 at 11:26 AM, netusco ernestcon...@gmail.com wrote: On Dec 3, 8:48 am, Ma'moon phpir...@gmail.com wrote: You can easily remove the threat by using an image conversion, i use `convert` to convert my images to a standard image type, the conversion process changes the physical content of the uploaded file and destroys all the threat that it might contain while maintaining the valid images if they were valid from the first place!, its very important to `convert` the images specially the ones uploaded from your side! Why the ones uploaded from my side? And do you use a cakephp plugin for that? On Fri, Dec 3, 2010 at 6:15 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Dec 2, 2010 at 8:25 PM, euromark dereurom...@googlemail.com wrote: Did anyone try this? http://wafful.org/2007/08/04/php-code-in-gif-image-file/ I am wondering if miles uploader script or any other uploader plugin is aware of that risk yet. Or how dangerous this actually is for normal cake apps. Anyone happen to have such a bad image at hand? Drop me a line and I will report back with details. I think ?php phpinfo();? would be a good script to include I never did look into that further to see if there's something that can easily be done to catch those. But I've never been too concerned, either. Notice that the code embedded in the image is triggered because the file is included inside a PHP script. The only other way that I know of to use this exploit is to upload an image named something.gif.php. I always check both the extension and file type. If there's something I'm missing, though, I'd like to hear more. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
And do you use a cakephp plugin for that? You need to install ImageMagick to convert images using the command line (or shell_exec() etc) http://www.imagemagick.org/script/convert.php Not all hosts may support this. -- Kind Regards Stephen Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
My mistake, I forgot about GD. I'd use GD, it may save a bit of time. Good point Ma'moon On 3 December 2010 09:34, Ma'moon phpir...@gmail.com wrote: Am sorry, i mean to say From Users Side :) And no, am not using any plugins for that, i have my own implementation for file upload in CakePHP, basically you would do something like: exec('convert input_file_path output_file_path'); in order to convert an image, you can also use imagemagick driver if you have it compiled with your PHP installation http://php.net/manual/en/book.imagick.php or you may also use GD functions to perform this task On Fri, Dec 3, 2010 at 11:26 AM, netusco ernestcon...@gmail.com wrote: On Dec 3, 8:48 am, Ma'moon phpir...@gmail.com wrote: You can easily remove the threat by using an image conversion, i use `convert` to convert my images to a standard image type, the conversion process changes the physical content of the uploaded file and destroys all the threat that it might contain while maintaining the valid images if they were valid from the first place!, its very important to `convert` the images specially the ones uploaded from your side! Why the ones uploaded from my side? And do you use a cakephp plugin for that? On Fri, Dec 3, 2010 at 6:15 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Dec 2, 2010 at 8:25 PM, euromark dereurom...@googlemail.com wrote: Did anyone try this? http://wafful.org/2007/08/04/php-code-in-gif-image-file/ I am wondering if miles uploader script or any other uploader plugin is aware of that risk yet. Or how dangerous this actually is for normal cake apps. Anyone happen to have such a bad image at hand? Drop me a line and I will report back with details. I think ?php phpinfo();? would be a good script to include I never did look into that further to see if there's something that can easily be done to catch those. But I've never been too concerned, either. Notice that the code embedded in the image is triggered because the file is included inside a PHP script. The only other way that I know of to use this exploit is to upload an image named something.gif.php. I always check both the extension and file type. If there's something I'm missing, though, I'd like to hear more. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
http://slash7.com/2006/12/22/vampires/ ;-) On Dec 3, 9:31 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I feel a little bad for being harsh with him now... Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 3 Dec 2010, at 09:30, keymaster wrote: Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
use APC Memcached at the same tim
CakePHP offer both APC and Memcached cache engine for cache purpose, but each of them has different preferred usage, I am wondering is it possible to config Cake to work with both of them? and how can It be achieved? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
RE: baking complete cakephp application
You have to set classpath for cake. Right Click my computer, chose advance tab, click Enviroment Variable's Button and edit PATH. Put this directory C:\xampp\htdocs\cakephp\cake\console From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of ambati kiran Sent: Friday, December 03, 2010 3:03 PM To: cake-php@googlegroups.com Subject: baking complete cakephp application Hi guys, Can some one guide me in baking a cake application. I read several articles saw videos but missing something failing to bake it properly. Through command line i am typing C:\xampp\htdocs\cakephp\cake\console typing Cake bake all error is 'cake' is not recognized as internal or external command I think i am missing something in adding environmental variable in system properties. Please help in getting through it. Thankyou, kiran. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
Like. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 09:52, designv...@gmail.com wrote: http://slash7.com/2006/12/22/vampires/ ;-) On Dec 3, 9:31 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I feel a little bad for being harsh with him now... Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 3 Dec 2010, at 09:30, keymaster wrote: Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create a Mailbox for clients
If this is all you want try zimbra http://www.zimbra.com/ On Fri, Dec 3, 2010 at 8:55 AM, Rez khaksarf...@gmail.com wrote: Hi I need to create a mailbox (a very simple version of Gmail for example with inbox, reply, delete, forward etc.) Is there any cakephp code which can help or I should write it from scratch? thanks Reza -- View this message in context: http://cakephp.1045679.n5.nabble.com/Create-a-Mailbox-for-clients-tp3290478p3290478.html Sent from the CakePHP mailing list archive at Nabble.com. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Regards, Zaky Katalan-Ezra QA Administrator www.IGeneriX.com Sites.IGeneriX.com 054-7762312 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Override or not
Hi all I'm developing a cakephp+dojo web app. Everything work fine. Really fine! I'm loving cakephp But, there is a but. Due to Dojo (or better I) require some non standard html tags, I had to rewrite partially the Form and Html helper, that now I call DojoHtml and DojoForm overriding the core classes This permit to call $DojoForm-input, still letting cake magic happens and add some Dojo related stuff (widget config, dojo.require) The big issue is that on each cake core upgrade, I need to diff by hand the code to find changes (eg Form::input() vs DojoForm::input() ) This is probably a problem due my bad php knowledge, but let me ask.. Is there a way to implement these core helper, without fork the files or override the whole methods I need? (In Drupal I would call them hooks) Any hints?? Thanks in advance. Luca Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Auth loginAction and multiple prefixes
Not sure I've seen a definitive answer for this... I'm on 1.3.6, and have multiple prefixes. I want to always redirect to /users/login when authentication is required. I was hoping this would work: 'loginAction' = array( 'controller' = 'users', 'action' = 'login', 'prefix' = false ) ...but it doesn't. I have also tried to daisy chain the various prefixes ('admin' = 'false, 'manager' = false' etc) but that doesn't work either. Any bright ideas? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: simple one-to-many question
You must set to the view the variable called authors like so $this-set('authors', $this-Book-Authors-find('list')); Cake FormHelper transforms key_id in to a select and he is looking for a variable called authors in your view to populate that select. On Fri, Dec 3, 2010 at 11:08 AM, Hans Wiriya Tsai hansw...@gmail.com wrote: i m trying to make a relation between 2 tables: Authors that hasMany Books. So I created those 2 tables and one additional field author_id in Books table as foreign key to Authors. Next I create Author model that hasMany = Book and Book model that belongsTo Author. And then on both controller I put scaffold. Now I can add Author without problem via http://localhost/authors/add. Then if I browse to http://localhost/books/add, the form shows but the dropdown list which is supposed to be a list of author won't show. The list is empty. Any clue? I thought scaffold should create the relation automatically... or perhaps i miss something? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Thanks, Bogdan Iulian Bursuc Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: use APC Memcached at the same tim
APC performs (byte code caching or intermediate code) which means that it caches the binary form of your PHP script and once this script is being called, the cached version of the script is the one that will be executed, this will save a lot of performance and server resources, on the other hand, memcached is being used to cache objects of several forms, like caching the results of a database query a model operation in CakePHP's case, an array, or someother forms of objects, you can use both of them for your application caching, each for its own task, take a look here to configure the desired cache engines that you would like to use in your CakePHP application http://book.cakephp.org/view/156/Caching On Fri, Dec 3, 2010 at 12:16 PM, pang y...@tagroup.se wrote: CakePHP offer both APC and Memcached cache engine for cache purpose, but each of them has different preferred usage, I am wondering is it possible to config Cake to work with both of them? and how can It be achieved? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Auth loginAction and multiple prefixes
On 12/3/2010 1:46 PM, Jeremy Burns wrote: Not sure I've seen a definitive answer for this... I'm on 1.3.6, and have multiple prefixes. I want to always redirect to /users/login when authentication is required. I was hoping this would work: Have you considered teknoid's method [1]? The downside is that you'll have to create actions for all your prefixes. [1] http://nuts-and-bolts-of-cakephp.com/2009/01/12/462/ Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Auth loginAction and multiple prefixes
I did consider that, but I'm looking for something fairly simple to both implement and administer (I don't want to have to make loads of changes/create new objects when I add a new prefix, for example). Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 12:17, Alex Ciobanu wrote: On 12/3/2010 1:46 PM, Jeremy Burns wrote: Not sure I've seen a definitive answer for this... I'm on 1.3.6, and have multiple prefixes. I want to always redirect to /users/login when authentication is required. I was hoping this would work: Have you considered teknoid's method [1]? The downside is that you'll have to create actions for all your prefixes. [1] http://nuts-and-bolts-of-cakephp.com/2009/01/12/462/ Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Auth loginAction and multiple prefixes
On 12/3/2010 2:18 PM, Jeremy Burns | Class Outfit wrote: I did consider that, but I'm looking for something fairly simple to both implement and administer (I don't want to have to make loads of changes/create new objects when I add a new prefix, for example). Example from manual seems to do the trick[1]. Setting admin to false redirects to action without prefix. [1] http://book.cakephp.org/view/391/loginAction Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Auth loginAction and multiple prefixes
Yup - I know, but I have multiple prefixes; so if I am diverted from, say, /managers/shops/edit I would need to have 'managers' = false (and therefore the 'admin' = false is irrelevant). Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 12:38, Alex Ciobanu wrote: On 12/3/2010 2:18 PM, Jeremy Burns | Class Outfit wrote: I did consider that, but I'm looking for something fairly simple to both implement and administer (I don't want to have to make loads of changes/create new objects when I add a new prefix, for example). Example from manual seems to do the trick[1]. Setting admin to false redirects to action without prefix. [1] http://book.cakephp.org/view/391/loginAction Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Auth loginAction and multiple prefixes
On 12/3/2010 2:41 PM, Jeremy Burns | Class Outfit wrote: Yup - I know, but I have multiple prefixes; so if I am diverted from, say, /managers/shops/edit I would need to have 'managers' = false (and therefore the 'admin' = false is irrelevant). In my core I have: Configure::write('Routing.prefixes', array('admin', 'user')); and in my beforeFilter: $this-Auth-loginAction = array('user' = false, 'admin' = false,'controller' = 'users','action' = 'login',); /user/articles/index properly redirects to /users/login if user is not logged in. I'm using 1.3.5 btw. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: use APC Memcached at the same tim
Thank you for your answer. I know that apc and memcache has different usage, I can make them working respectively in Cake. But I don't know how to configure to make them working together. Do you know how to do it? On Dec 3, 1:14 pm, Ma'moon phpir...@gmail.com wrote: APC performs (byte code caching or intermediate code) which means that it caches the binary form of your PHP script and once this script is being called, the cached version of the script is the one that will be executed, this will save a lot of performance and server resources, on the other hand, memcached is being used to cache objects of several forms, like caching the results of a database query a model operation in CakePHP's case, an array, or someother forms of objects, you can use both of them for your application caching, each for its own task, take a look here to configure the desired cache engines that you would like to use in your CakePHP applicationhttp://book.cakephp.org/view/156/Caching On Fri, Dec 3, 2010 at 12:16 PM, pang y...@tagroup.se wrote: CakePHP offer both APC and Memcached cache engine for cache purpose, but each of them has different preferred usage, I am wondering is it possible to config Cake to work with both of them? and how can It be achieved? Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: use APC Memcached at the same tim
All configuration items that you need to edit takes place in core.php, right there you will have the ability to enable, disable, and/or configure your caching engines/levels On Fri, Dec 3, 2010 at 3:07 PM, pang y...@tagroup.se wrote: Thank you for your answer. I know that apc and memcache has different usage, I can make them working respectively in Cake. But I don't know how to configure to make them working together. Do you know how to do it? On Dec 3, 1:14 pm, Ma'moon phpir...@gmail.com wrote: APC performs (byte code caching or intermediate code) which means that it caches the binary form of your PHP script and once this script is being called, the cached version of the script is the one that will be executed, this will save a lot of performance and server resources, on the other hand, memcached is being used to cache objects of several forms, like caching the results of a database query a model operation in CakePHP's case, an array, or someother forms of objects, you can use both of them for your application caching, each for its own task, take a look here to configure the desired cache engines that you would like to use in your CakePHP applicationhttp://book.cakephp.org/view/156/Caching On Fri, Dec 3, 2010 at 12:16 PM, pang y...@tagroup.se wrote: CakePHP offer both APC and Memcached cache engine for cache purpose, but each of them has different preferred usage, I am wondering is it possible to config Cake to work with both of them? and how can It be achieved? Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com cake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Override or not
What exactly do you need to add to this form inputs? Built-in Form(Html)Helper allows to define many parameters to inputs and all other form/html elements, so maybe there is no need to write own helpers. Anyway regardless of this things 'hacking' core of Cake is unacceptable and the key is inheriting, overriding and writing own helpers. On 3 Gru, 11:33, luca capra luca.ca...@gmail.com wrote: Hi all I'm developing a cakephp+dojo web app. Everything work fine. Really fine! I'm loving cakephp But, there is a but. Due to Dojo (or better I) require some non standard html tags, I had to rewrite partially the Form and Html helper, that now I call DojoHtml and DojoForm overriding the core classes This permit to call $DojoForm-input, still letting cake magic happens and add some Dojo related stuff (widget config, dojo.require) The big issue is that on each cake core upgrade, I need to diff by hand the code to find changes (eg Form::input() vs DojoForm::input() ) This is probably a problem due my bad php knowledge, but let me ask.. Is there a way to implement these core helper, without fork the files or override the whole methods I need? (In Drupal I would call them hooks) Any hints?? Thanks in advance. Luca Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Custom helper in PagesController
$html or $form is deprecated in 1.3 if you use cake1.3 $this-Fxpage is correct ($fxpage still works, though) you probably named your helper incorrectly On 3 Dez., 06:03, Amit Badkas amit.sanis...@gmail.com wrote: Hi, I think you should use $fxpage in view instead of $Fxpage, same like we use $html or $form for Html or Form helpers respectively. Amit Badkas PHP Applications for E-Biz:http://www.sanisoft.com On Fri, Dec 3, 2010 at 2:56 AM, qua...@gmail.com qua...@gmail.com wrote: I get this error in log: Undefined property: View::$Fxpage in [...] On Dec 2, 12:29 pm, qua...@gmail.com qua...@gmail.com wrote: Hi all, I have a custom helper and like to use it in Pages Controller. I copied pages_controller.php to my app and have this line in it: var $helpers = array('Html', 'Session', 'Fxpage'); However, the output of the pages stops at the call to any $this-Fxpage in the layout file. It just seems as if Pages can't see my helper. I have been stuck at this for hours now. Any advice is greatly appreciated. Thanks. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Creating XML for SOAP requests
Ok, I'm sure I'm just missing something remarkably obvious, so feel free to hit me over the head. I'll thank you. I need to send SOAP requests to UPS for shipping info. As such, I need to create an XML file that can be sent to them, the results of which being obviously the thing my audience cares about. The problem is that I would have thought there was some utility for generating XML, but that doesn't appear to be the case. There is a helper to output XML to the screen, but this isn't what I want to do. I need to generate the XML to be passed to the UPS servers inside the Controller's execution. I realize I could find some way to bounce a request to a view, somehow, and cache the results. But this seems like an inefficient way to go about it. I've looked through the Utility class and it only seems to handle parsing incoming XML, not creating outgoing stuff. Doesn't that seem like an oversight? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
yeah, i dont think it is that dangerous, either at least if you don't include it even the media view just passes the data without interpreting it - afaik allowing other extensions like file.gif.php would probably be the only possible danger and is usually handled by the uploader scripts On 3 Dez., 10:50, Stephen step...@ninjacodermonkey.co.uk wrote: My mistake, I forgot about GD. I'd use GD, it may save a bit of time. Good point Ma'moon On 3 December 2010 09:34, Ma'moon phpir...@gmail.com wrote: Am sorry, i mean to say From Users Side :) And no, am not using any plugins for that, i have my own implementation for file upload in CakePHP, basically you would do something like: exec('convert input_file_path output_file_path'); in order to convert an image, you can also use imagemagick driver if you have it compiled with your PHP installation http://php.net/manual/en/book.imagick.phpor you may also use GD functions to perform this task On Fri, Dec 3, 2010 at 11:26 AM, netusco ernestcon...@gmail.com wrote: On Dec 3, 8:48 am, Ma'moon phpir...@gmail.com wrote: You can easily remove the threat by using an image conversion, i use `convert` to convert my images to a standard image type, the conversion process changes the physical content of the uploaded file and destroys all the threat that it might contain while maintaining the valid images if they were valid from the first place!, its very important to `convert` the images specially the ones uploaded from your side! Why the ones uploaded from my side? And do you use a cakephp plugin for that? On Fri, Dec 3, 2010 at 6:15 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Dec 2, 2010 at 8:25 PM, euromark dereurom...@googlemail.com wrote: Did anyone try this? http://wafful.org/2007/08/04/php-code-in-gif-image-file/ I am wondering if miles uploader script or any other uploader plugin is aware of that risk yet. Or how dangerous this actually is for normal cake apps. Anyone happen to have such a bad image at hand? Drop me a line and I will report back with details. I think ?php phpinfo();? would be a good script to include I never did look into that further to see if there's something that can easily be done to catch those. But I've never been too concerned, either. Notice that the code embedded in the image is triggered because the file is included inside a PHP script. The only other way that I know of to use this exploit is to upload an image named something.gif.php. I always check both the extension and file type. If there's something I'm missing, though, I'd like to hear more. Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.c om cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegro ups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Logging in to the manual / book web site
As I am starting to learn CakePHP, I am spending a lot of time reading the manual at http://book.cakephp.org/ and am finding many errors that I would like to correct. I'm pleased to see there are Edit links which should let me make the corrections, but it says I need to log in with a bakery account. I've gone to the bakery and made an account there, and I can log in to the bakery with that account (using the URL http://bakery.cakephp.org/users/login). But I cannot log in to the manual with that same account (using the URL http://book.cakephp.org/users/login). The bakery web site asks for an email address and password. The manual web site asks for a username and a password. I've tried supplying both the username and the email address to the manual web site's login form, and neither works. The Forgot your password? link on the manual web site goes to the URL http://bakery.cakephp.org/users/reset which does not exist. Manually twiddling this URL to http://book.cakephp.org/users/reset gets me to a reset password facility, but entering my bakery account's email address into that form tells me the email I entered was not found. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
What is a__constructor
Srry about this small doubt, im starting on CakePHP, but i already know the language, i saw the api, but i dont found a good explanation about what is a constructor and how it works, somebody could explain to me... and giving a example too please? Like this or another one idk : function __construct($id = false, $table = null, $ds = null) { $this-primaryKey = 'COD_USUR'; $this-useTable = 'USUR'; parent::__construct($id, $table, $ds); } If somebody five me a good link with a tutorial i cant learn by myself too lol. Tks. -- *Joao Moura** * *Web Developer **+55 11 62114486* Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: What is a__constructor
On Dec 2, 2010, at 14:09, João Moura wrote: i dont found a good explanation about what is a constructor and how it works Have you tried: http://www.google.com/search?q=php+__construct The first link in the results is to the PHP documentation about constructors and destructors, which is a good place to start. This is not a cakephp-specific question. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: What is a__constructor
I would suggest learning the basics of PHP and OOP programming before jumping into something like this. http://php.net/manual/en/language.oop5.php On Dec 3, 9:38 am, Ryan Schmidt google-2...@ryandesign.com wrote: On Dec 2, 2010, at 14:09, João Moura wrote: i dont found a good explanation about what is a constructor and how it works Have you tried: http://www.google.com/search?q=php+__construct The first link in the results is to the PHP documentation about constructors and destructors, which is a good place to start. This is not a cakephp-specific question. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
No reason to be. People like this need to learn to do things themselves at some point. On Dec 3, 1:31 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I feel a little bad for being harsh with him now... Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 3 Dec 2010, at 09:30, keymaster wrote: Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
if you really want code completion and all those nice little web dev goodies you could consider using a different IDE PHPDesigner works really well, for example. I use it since many years and would be much slower without the code completion / function declaration stuff On 3 Dez., 19:11, Miles J mileswjohn...@gmail.com wrote: No reason to be. People like this need to learn to do things themselves at some point. On Dec 3, 1:31 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I feel a little bad for being harsh with him now... Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 3 Dec 2010, at 09:30, keymaster wrote: Seyed, No prob, dude. We'll fly a couple of the cakephp core developers to your apartment. They'll walk you through everything, step by step, just like you wanted. You'll be editing cakephp files in no time. Don't worry. Just a thought, would you like some Netbeans staff to be there too? You never know what questions might come up. Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: use APC Memcached at the same tim
Install APC and memcache. APC will run automatically and cache your opcode. Use memcache on the CakePHP side to cache query data. On Dec 3, 6:04 am, Ma'moon phpir...@gmail.com wrote: All configuration items that you need to edit takes place in core.php, right there you will have the ability to enable, disable, and/or configure your caching engines/levels On Fri, Dec 3, 2010 at 3:07 PM, pang y...@tagroup.se wrote: Thank you for your answer. I know that apc and memcache has different usage, I can make them working respectively in Cake. But I don't know how to configure to make them working together. Do you know how to do it? On Dec 3, 1:14 pm, Ma'moon phpir...@gmail.com wrote: APC performs (byte code caching or intermediate code) which means that it caches the binary form of your PHP script and once this script is being called, the cached version of the script is the one that will be executed, this will save a lot of performance and server resources, on the other hand, memcached is being used to cache objects of several forms, like caching the results of a database query a model operation in CakePHP's case, an array, or someother forms of objects, you can use both of them for your application caching, each for its own task, take a look here to configure the desired cache engines that you would like to use in your CakePHP applicationhttp://book.cakephp.org/view/156/Caching On Fri, Dec 3, 2010 at 12:16 PM, pang y...@tagroup.se wrote: CakePHP offer both APC and Memcached cache engine for cache purpose, but each of them has different preferred usage, I am wondering is it possible to config Cake to work with both of them? and how can It be achieved? Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com cake-php%2bunsubscr...@googlegroups.c omFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
CakePHP 1.3 - RequestHandler-respondAs(js) not working in beforeFilter
Hi all, I'm doing an ajax update to see if username exsist.. However when I use the standard RequestHandler markup in my AppController or Users Controller beforeFilter function beforeFilter(){ if ($this-RequestHandler-isAjax()) { Configure::write('debug', 0); $this-disableCache(); $this-RequestHandler-respondAs('js'); $this-viewPath = $this-params['controller']; $this-viewPath .= /js; } } -- My Content-Type come back as text/html in my headers when viewed in firebug.. And my hidden divs does not show giving me notice if username taken or exist. But when i put: $this-RequestHandler-respondAs('js'); --- in my available action: function available() { $this-RequestHandler-respondAs('js'); if (!empty($this-params['form']['slug'])) { if ($this-User-hasAny(array('slug' = $this-params['form'] ['slug']))) { $this-message('warning', Username '{$this-params['form']['slug']}' already in use. Please try another one.); } $this-message('success', Username '{$this-params['form']['slug']}' is available.); } else { $this-message('warning', 'Please enter a username.'); } } - then my Content-Type in my headers read text\javascript and everything works fine?? Can anyone suggest what could be causing this? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: simple one-to-many question
On Dec 3, 2010, at 03:08, Hans Wiriya Tsai wrote: i m trying to make a relation between 2 tables: Authors that hasMany Books. Don't some books have more than one author? :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Security Risks on gif image upload?
Would be interesting if the attacker presumed you would do this, and made it so the converted image contains the malicious code. On Dec 3, 1:48 am, Ma'moon phpir...@gmail.com wrote: You can easily remove the threat by using an image conversion, i use `convert` to convert my images to a standard image type, the conversion process changes the physical content of the uploaded file and destroys all the threat that it might contain while maintaining the valid images if they were valid from the first place!, its very important to `convert` the images specially the ones uploaded from your side! On Fri, Dec 3, 2010 at 6:15 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Dec 2, 2010 at 8:25 PM, euromark dereurom...@googlemail.com wrote: Did anyone try this? http://wafful.org/2007/08/04/php-code-in-gif-image-file/ I am wondering if miles uploader script or any other uploader plugin is aware of that risk yet. Or how dangerous this actually is for normal cake apps. Anyone happen to have such a bad image at hand? Drop me a line and I will report back with details. I think ?php phpinfo();? would be a good script to include I never did look into that further to see if there's something that can easily be done to catch those. But I've never been too concerned, either. Notice that the code embedded in the image is triggered because the file is included inside a PHP script. The only other way that I know of to use this exploit is to upload an image named something.gif.php. I always check both the extension and file type. If there's something I'm missing, though, I'd like to hear more. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Creating XML for SOAP requests
PHP has several ways to generate XML already SimpleXML for example. Wouldn't using one of those methods be sufficient? On Dec 3, 9:34 am, DragonFlyEye dragonflyey...@gmail.com wrote: I need to send SOAP requests to UPS for shipping info. As such, I need to create an XML file that can be sent to them, the results of which being obviously the thing my audience cares about. The problem is that I would have thought there was some utility for generating XML, but that doesn't appear to be the case. There is a helper to output XML to Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: dynamically changing the type in form helper
The debug message showed the correct value for the variable $type...it was set to 'text' (no quotes :-)). I downloaded 1.3.5 to double check what I was seeing and here is the same section: case 'text': case 'password': case 'file': $input = $this-{$type}($fieldName, $options); break; I also double checked 1.3.6 and nothing appears in the case of 'text'. However, by updating the core file (I know this is not a good idea) to: case 'text': $input = $this-text($fieldName, $options); break; case 'password': case 'file': $input = $this-{$type}($fieldName, $options); break; Everything works fine. As I am a newbie, I am definitely open to other workarounds rather than mucking with the core file. Is something wrong with .zip version from git? Please let me know if you have any other suggestions. Thanks again. Erik On Dec 2, 3:52 am, John Andersen j.andersen...@gmail.com wrote: You should never change the core code (my earlier message used code from 1.3.5)! Instead you should debug your own code, to ensure that what you pass on to the core code is correct, that you haven´t shown us yet! Please show the debug messages for the values that you pass on to the core code? Enjoy, John On Dec 1, 10:17 pm, mochaman mochama...@gmail.com wrote: Correction...I shouldn't need to change it to {$type} so I will leave it as is. Please let me know how else I can get this corrected. Thanks again. Erik [snip] Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Creating XML for SOAP requests
Of course. I just find it odd that there isn't a direct answer in CakePHP. After all, everything CakePHP does is something there is already a solution for in PHP. Especially since they've gone to the trouble of creating two major pieces of the puzzle. When working within a framework, I try not to go outside that framework too much to bring other stuff in. On Dec 3, 11:39 am, ryandesign google-2...@ryandesign.com wrote: PHP has several ways to generate XML already SimpleXML for example. Wouldn't using one of those methods be sufficient? On Dec 3, 9:34 am, DragonFlyEye dragonflyey...@gmail.com wrote: I need to send SOAP requests to UPS for shipping info. As such, I need to create an XML file that can be sent to them, the results of which being obviously the thing my audience cares about. The problem is that I would have thought there was some utility for generating XML, but that doesn't appear to be the case. There is a helper to output XML to Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Creating XML for SOAP requests
For those who find this thread looking for a way to handle this type of situation, I have found a solution: public function renderXml() { $this-layout= 'ajax'; $this-autoLayout= false; $this-autoRender= false; $access = array('AccessRequest' = array('AccessLicenseNumber' = $this-license, 'UserId' = $this-username, 'Password' = $this- password)); $rating = array('RatingServiceSelectionRequest' = array('Request')); $this-set(compact('license', 'rating')); $xml = $this-render(null, 'blank', '/xml/ups'); $this-output = ''; return $xml; } The gist here is that we render the output of a template file into a variable and then pass it back to wherever its needed. On Dec 3, 2:10 pm, DragonFlyEye dragonflyey...@gmail.com wrote: Of course. I just find it odd that there isn't a direct answer in CakePHP. After all, everything CakePHP does is something there is already a solution for in PHP. Especially since they've gone to the trouble of creating two major pieces of the puzzle. When working within a framework, I try not to go outside that framework too much to bring other stuff in. On Dec 3, 11:39 am, ryandesign google-2...@ryandesign.com wrote: PHP has several ways to generate XML already SimpleXML for example. Wouldn't using one of those methods be sufficient? On Dec 3, 9:34 am, DragonFlyEye dragonflyey...@gmail.com wrote: I need to send SOAP requests to UPS for shipping info. As such, I need to create an XML file that can be sent to them, the results of which being obviously the thing my audience cares about. The problem is that I would have thought there was some utility for generating XML, but that doesn't appear to be the case. There is a helper to output XML to Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Reading External Data and Saving it to database
Hi, I'm new here, I ve done everything in this tutorial http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/ , Im able to read RSS Feeds from external site, Can I save each feed in my local database? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
CakePHP not load views
My layout is divided into 3 parts, Header, Content, Footer. Sometimes when I load a page the cake just returns the Content, or does not load CSS, JavaScript, and the like. Has anyone had any similar problem? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Create an internal message system for clients
Thanks for the reply but I am sorry I did not correctly explain it. I am actually looking for an internal message system where users have an inbox and can simply send each other messages, reply, forward etc. -- View this message in context: http://cakephp.1045679.n5.nabble.com/Create-an-internal-message-system-for-clients-tp3290478p3291575.html Sent from the CakePHP mailing list archive at Nabble.com. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Override or not
Never hack the core, I know, or better, I've learned by my self. I'm adapting primarly the html helper extending it in a custom DojoHtml and rewrite really small pieces of templated html code (mainly due to buggy behaviors of some widget in some browser [ which one? :) ]) What I would skip is to extend the Form helper too, only to substitute occurrence of Html helper with my DojoHtml For example Dojo require non standard tags as dojoType='dijit.form.xxx' to define a widget in a declarative way. FormHelper lowercase all the attributes so widget doesn't get recognized (correct me if I'm wrong). So before every return in overridden form methods, I add custom pieces of html as required by the case. Another problem is with html ID, that cannot be duplicated (eg two dialog win opened in same time), so I added automatic unique prefixes for each page rendered inside form helper. Last, as of dojo use a function called dojo.require to load js file on demand, I force the form helper to print the require by it self on a magic field type basis. I've tried with not so good results to play with some call_user_func to add custom callbacks and limit the hack to original code taken from core, just for maintenance sake. This to keep simpler as possible view .tpl and let some colleagues work on the js work-flow and bake files that need minimal editing to get functional. Thank you, bye. Luca On 03/12/2010 15:27, red wrote: What exactly do you need to add to this form inputs? Built-in Form(Html)Helper allows to define many parameters to inputs and all other form/html elements, so maybe there is no need to write own helpers. Anyway regardless of this things 'hacking' core of Cake is unacceptable and the key is inheriting, overriding and writing own helpers. On 3 Gru, 11:33, luca capraluca.ca...@gmail.com wrote: Hi all I'm developing a cakephp+dojo web app. Everything work fine. Really fine! I'm loving cakephp But, there is a but. Due to Dojo (or better I) require some non standard html tags, I had to rewrite partially the Form and Html helper, that now I call DojoHtml and DojoForm overriding the core classes This permit to call $DojoForm-input, still letting cake magic happens and add some Dojo related stuff (widget config, dojo.require) The big issue is that on each cake core upgrade, I need to diff by hand the code to find changes (eg Form::input() vs DojoForm::input() ) This is probably a problem due my bad php knowledge, but let me ask.. Is there a way to implement these core helper, without fork the files or override the whole methods I need? (In Drupal I would call them hooks) Any hints?? Thanks in advance. Luca Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Reading External Data and Saving it to database
On Dec 3, 2010, at 14:19, NB wrote: I'm new here, I ve done everything in this tutorial http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/ , Im able to read RSS Feeds from external site, Can I save each feed in my local database? I would imagine so. (It's your database; you can save whatever you want in it.) What methods for doing so have you tried so far, and why didn't they work? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: look feel/ user interface with cakephp
Thanks On Dec 3, 1:56 pm, Stephen step...@ninjacodermonkey.co.uk wrote: More on layouts:http://book.cakephp.org/view/1080/Layouts On 3 December 2010 07:40, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Yes. The folders /app/webroot/css contains a generic Cake stylesheet, but obviously you don't have to use it. Create your own CSS files in this folder. The you include them in your layout using this code within the head tag: echo $this-Html-css(array('stylesheet1', 'stylesheet2', ...etc...)); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Dec 2010, at 07:34, Raj wrote: I am in confusion whether it is possible to customize the look and feel of my web application or rather say I would like to develop the look and feel myself using HTML/ CSS, while working with cakephp, is that possible? Thanks in advance.. Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Kind Regards Stephen www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Using or not using PHP framework
hmmThanks so much for the great advice! On Dec 3, 1:59 pm, Joshua Muheim psybea...@gmail.com wrote: Funny, I first learned Ruby On Rails, too, and then dove into CakePHP (because at my current job they don't know anything about a programming language called Ruby... sadly). I first had quite some struggles because I was used to the comfort of RoR and really missed some stuff in CakePHP, but now I have acclimated quite well and I have to say that CakePHP is quite cool for the PHP language. :-) On Fri, Dec 3, 2010 at 9:45 AM, Stephen step...@ninjacodermonkey.co.uk wrote: I have stopped working without a framework in the background years ago, and I only can recommend it. There's SO much stuff you don't even know about that's handled by a good framework in the background (all sorts of hacking-attempts is taken care of, for example), and with a good plugin system your application can probably use great blocks of code you've developed before or somebody else has already developed. I only know CakePHP in the PHP world, so I'm not up to date what else is on the market there, but CakePHP really seems to be a good framework to start with. And what can't hurt, too, is to check out a framework in another language from time to time... I can only suggest you check out Ruby on Rails (Ruby), Django (Python) or Seaside (Smalltalk). You can learn A LOT from such other worlds. You will be quite embarassed and feel like you have been naive before after having done it. It's clearly an enlighting... Somehow it can be compared to taking a virtual drug that opens your consciousness. LSD for programmers! ;-) Likewise, and I completely agree. I did dive into CakePHP some years ago and ended up being baffled and confused because I didn't know anything about objects never mind MVC. I got roped into doing a RoR project in a previous job, then I tackled CakePHP again and I never code without a framework anymore Kind Regards Stephen Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Use CakePHP in NetBeans IDE 6.8
With Cake, it's just like any other object-oriented Netbeans project. If you're baking, bake and then add the app dir as your project. If not (which I wouldn't if you're new to it; learn to cake before you learn to bake), just create a new project, create an app dir and go from there. Then make sure you add the cake directory in your include path, so you can use autocompletion. It's better to put it in your include path rather than within your project because it makes it easier to remember NEVER to edit those files, but you'll still have easy access to the methods for your own understanding. Before Netbeans 6.9, though, I'd have stuck with Eclipse, but that's a different question. On Dec 1, 10:07 pm, Seyed Mahmood Hosseini web@gmail.com wrote: Hello Please Help Me To Use CakePHP Famework In NetBeans IDE 6.8 Please Help Me Step-By-Step ( Training with images ) Thanks. Bye. Web Site : Http://WwW.NewAge.Ir Mail : i...@newage.ir web@gmail.com Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: send email with attach
thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Memcache Set up Help
I have setup memcached on the server. Check php info and its there memcache support enabled Active persistent connections 1 Version 2.2.5 Revision $Revision: 1.111 $ so on.. So I changed the setting in core.php to memcache and end up with Notice (8): Memcache::get() [memcache.get]: Server 127.0.0.1 (tcp 11211) failed with: Connection refused (111) [CORE/cake/libs/cache/memcache.php, line 144] Does anyone have any tips or insight? Ideas? Thanks, Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en