Re: Cakephp 1.3 not logging when debug set to 1 or 2

2011-11-03 Thread Florian Krämer
Can please everyone here who has the problem check if he is using debug kit? Yes you do so - disable it - and let me know if logging works again. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org a

Re: Cakephp 1.3 not logging when debug set to 1 or 2

2011-11-03 Thread Florian Krämer
Ok, I've just tried something and updated debug kit. If you have this problem try it. On Nov 3, 11:59 am, Florian Krämer wrote: > Can please everyone here who has the problem check if he is using > debug kit? Yes you do so - disable it - and let me know if logging > works again.

Re: How to use tinymce plugin?

2011-11-11 Thread Florian Krämer
Is one of your inputs a textarea? If not no editor will appear. Go and read TinyMCE's documentation. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related qu

Re: any example project

2011-06-29 Thread Florian Krämer
Can you please tell us what exactly you think is not consistant? If there is something wrong report a bug? On Jun 29, 1:36 am, Ryan Snowden wrote: > Also check out the CakeDC plugins (although some parts are inconsistent) > they do put on a good show -- Our newest site for the community: CakeP

Re: Image upload with Cake 2.x

2012-06-26 Thread Florian Krämer
https://github.com/burzum/FileStorage Reading the readme.md is highly recommended. On Monday, June 25, 2012 3:06:49 PM UTC+2, Stefanie wrote: > > Hey guys, > > I was looking for a working version for simply uploading user images > shown as thumbnail on their profile page. > I already found th

Re: Is there a lighter weight alternative to requestAction?

2012-06-28 Thread Florian Krämer
Change the way your app is designed. When a page gets called you have some ways to identify that page through the url controller class + action that was called. If your blocks know on what page they should render you could have a single method in a model that you can call in AppController::befo

Re: Looking for work?

2012-08-24 Thread Florian Krämer
You might consider to hire the Cake Development Corporation? http://cakedc.com/ We have the CakePHP knowledge and also some Magento experience. Send us the specification and we send you an estimate back. On Thursday, August 23, 2012 1:08:07 PM UTC+2, Jeremy Burns wrote: > > A good friend of min

Re: File/Image upload

2012-09-18 Thread Florian Krämer
https://github.com/burzum/FileStorage It supports a lot of storage backends (local file system, s3, dropbox, memory, zip, other cloud services...) and automatic image resizing and versioning after upload. Read the documentation. The image manipulation is easy to extend and also object oriented

Re: Urgent, we need a CakePHP developer.

2012-09-27 Thread Florian Krämer
Contact http://www.cakedc.com/ if you're interested in professional services. On Thursday, August 23, 2012 6:49:15 PM UTC+2, Saiful Siddique wrote: > > We are a Tel Co based software development firm. We need a php coder who > understand CakePHP. > > Thanks > Shimul > Mark Tech. > Bangla Motor,

What do I need to do to get my plugins accepted on http://plugins.cakephp.org?

2013-02-03 Thread Florian Krämer
I've requested my Cart and FileStorageplugin now twice with weeks between the requests. Is there any particular reason why they do not get added to the site? By searching the site I find a ton of packages and plugins of a r

Re: Cake 3.0

2013-05-11 Thread Florian Krämer
Write clean code, follow the CakePHP coding standards and use the API correcty and upgrading will be easy as it ever was in the past. CakePHP was always easy to upgrade, if not it's your code that sucks and needs a refactor anyways. On Saturday, May 11, 2013 5:37:02 AM UTC+2, advantage+ wrote:

Re: Cake 3.0

2013-05-14 Thread Florian Krämer
On Saturday, May 11, 2013 9:29:05 PM UTC+2, advantage+ wrote: > > From 1.x to 2.x you had to go in and recode say for example > Requesthandler-> became $this->request so you have to manually go thru each > controller and change all that. > > $this->date became $this->request->data > The migratio

Re: CakePHP Events

2013-06-27 Thread Florian Krämer
http://book.cakephp.org/2.0/en/core-libraries/events.html#events-system On Wednesday, June 26, 2013 6:32:41 PM UTC+2, John Sposato wrote: > > Anyone know of any good tutorials/examples on how to use the event system? > > > -- This email may contain material that is confidential, privileged and/or

Re: RFC: New http://ask.cakephp.org

2013-07-10 Thread Florian Krämer
I think the CakePHP tag is good enough. It is not like there is not already enough to maintain and care about, so if a dedicated stack exchange site takes more resources of any kind don't do it and stay with the tag. On Friday, July 5, 2013 4:21:29 AM UTC+2, mark_story wrote: > > A dedicated sta

Re: Is make desktop application in cakephp

2013-08-22 Thread Florian Krämer
It's still the wrong tool for the wrong task IMHO. On Wednesday, August 21, 2013 7:59:34 PM UTC+2, Marcelo F Andrade wrote: > > On Tue, Aug 20, 2013 at 3:23 PM, Ankur Chauhan > > wrote: > > Is make desktop application in cakephp? > > Years ago, I tried that using a tiny embedded webserver, Sqli

Re: Image Merging in CakePHP

2013-09-29 Thread Florian Krämer
I would recommend using Imagine or the Imagine plugin for CakePHP I've written that acts as a wrapper around the lib to make it useable in the a CakePHPish way. Imagine is a very good image processing lib that abstracts the different APIs very well. https://github.com/burzum/Imagine On Friday,

Re: Some talk about complex Applications with CakePHP

2013-11-11 Thread Florian Krämer
The issue is your code not the framework. ;) No matter what framework you're going to use, if you put all your code into controllers this won't work out very well in Zend or Symphony as well. Also Cake does not force you to do anything in a completely strict way, everything can be changed but y

Re: Missing Behavior File

2013-11-11 Thread Florian Krämer
Try another plugin? https://github.com/burzum/FileStorage On Sunday, November 10, 2013 10:34:15 AM UTC+1, sanjog dangol wrote: > > hello i am having same problem and cannot solve it .plz help me. > > On Wednesday, February 2, 2011 6:28:53 PM UTC+5:45, milotimbol wrote: >> >> Hi, >> >> I'm new to

Re: Security Component Question

2013-12-29 Thread Florian Krämer
Check the Code http://api.cakephp.org/2.4/source-class-SecurityComponent.html#322-338 Blackholing is nothing more than throwing a BadRequestException or triggering a callback. I would not use an exception in that place. On Friday, December 27, 2013 7:37:24 PM UTC+1, advantage+ wrote: > > Is th

Re: Security Component is Ruining my Life

2014-09-12 Thread Florian Krämer
Mark wouldn't it be possible to keep track of these changes somehow via debug kit? Save the original keys to session and then do the same comparison with the data that the security component does but without the hashing but an array diff instead? On Friday, September 12, 2014 4:32:32 AM UTC+2,

UserTools plugin for CakePHP 3.0

2014-09-13 Thread Florian Krämer
I've written a plugin for 3.0 that allows you to set up users pretty easy and quick for your application. The plugin was written in a way so that it allows you to configure virtually everything. If there is something missing from being configurable please let me know. https://github.com/burzum/

The (bad) perception and image of CakePHP in the public

2014-09-29 Thread Florian Krämer
In the official CakePHP Facebook group Yanuar Nurcahyo asked about opinions on that link http://www.quora.com/Why-isnt-Cakephp-popular-despite-being-one-of-the-earliest-php-framework-to-be-written I'll quote my own comment I've added to that posting: I'm a little shocked about the wrong inform

Re: Security Component is Ruining my Life

2014-10-27 Thread Florian Krämer
I've turned the idea into an implementation. Proof of concept goes here: https://github.com/burzum/cakephp/commit/9d8f6b4cb7653dd14130af68dbc632e9055d8d76 This will output the dirty fields as a list below the error message. I hope this is going to make it into the core. :) On Sunday, October 1

Re: cake3 validation in controller

2014-11-14 Thread Florian Krämer
Create a table / model object with a schema but no table and use it as usual. The controller should be tiny and models fat. On Thursday, November 13, 2014 1:58:42 PM UTC+1, cesar calvo wrote: > > It is possible show in a form the error messages with no model

Re: blog tutorial errors

2014-12-01 Thread Florian Krämer
I highly recommend you to become familiar with basic php http://php.net/manual/en/tutorial.php, http://php.net/manual/en/ and object oriented programming (OOP) in php http://php.net/manual/en/language.oop5.php first. Sure you can learn php and OOP using CakePHP but this will be a very *hard* wa

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-21 Thread Florian Krämer
And how else do you want to communicate with the Node.js server? ;) I assume you suggest him to use Websockets but they'll work with php as well, see the Ratchet lib for php. On Tuesday, January 20, 2015 at 10:31:18 AM UTC+1, Leandro Machado Pereira wrote: > > I think node.js is more better for

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

2015-07-09 Thread Florian Krämer
Not directly an answer to your problem but I would appreciate if we could make more parts of the framework completely self-contained if possible. Other frameworks, especially Symfony, does a very good job in doing so and on top of that they use their libs as a marketing tool. To me it looks like

Re: upload images cake 3.0

2015-07-14 Thread Florian Krämer
Try https://github.com/burzum/cakephp-file-storage maybe not the most beginner friendly plugin but IMHO the most powerful. You can already try the 3.0-event-overhaul branch, the event listeners are completely rewritten and now as good as I wanted them to be for a long time. -- Like Us on FaceB

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Florian Krämer
Simple OOP? MySpecialHelper extends MyBaseHelper {...} MyOtherSpecialHelper extends MyBaseHelper {...} And MyBaseHelper implementds addClass(). On Friday, July 24, 2015 at 10:23:43 AM UTC+2, Mikaël Capelle wrote: > > Hi everyone, > > I am writing a CakePHP 3.0 plugins, and I have multiple help

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Florian Krämer
my helpers does > not inherit a standard CakePHP helpers, for instance I have: > > class MyHTMLHelper extends HTMLHelper { ... } > class MyFormHelper extends FormHelper { ... } > class MyPagiHelper extends PaginatorHelper { ... } > > On Monday, July 27, 2015 at 11:28:00 AM UTC+2, Fl

Re: Domain Layer of the Domain Drive Design and CakePHP

2015-09-26 Thread Florian Krämer
Read the first two answers here: http://programmers.stackexchange.com/questions/140999/application-layer-vs-domain-layer I wouldn't call it lib, if you go for Cake3 just create a new namespace "App\Domain" and put your classes into that folder, maybe following a convention like other things as

Re: Domain Layer of the Domain Drive Design and CakePHP

2015-09-29 Thread Florian Krämer
: > > Thank's Florian, it seems to make sense. As I am still not using cake3, I > thought of using "libs" because the App class allows loading of these. > > Em sábado, 26 de setembro de 2015 10:25:05 UTC-3, Florian Krämer escreveu: >> >> Read

Re: New CakePHP ORM to CakePHP 2.x

2015-10-26 Thread Florian Krämer
I don't get your problem guys. :) Add the new ORM via composer. Just create the folders inside your 2.x app: - app/Model/Table - app/Model/Entity Make sure your autoloader is finding the classes based on their namespace and put your tables and entities in there just as you would do it

Re: How To / Example of OO Inheritance for CakePHP 3

2016-01-26 Thread Florian Krämer
Do the official Tutorials, they'll teach you how to work with CakePHP. http://book.cakephp.org/3.0/en/tutorials-and-examples.html The level of abstraction in CakePHP is higher than what you describe, you don't implement these methods on model or table objects, entities

Re: Amazon AWS S3

2016-01-31 Thread Florian Krämer
https://github.com/burzum/cakephp-file-storage Works with S3 and a ton of other storage backends. On Saturday, January 30, 2016 at 5:32:01 AM UTC+1, fga...@medianet.com.ve wrote: > > Hi, I am developing a cakephp 3 in AWS, I want to integratewith amazon aws > s3, but I cannot find the plugin as

Re: CakePHP 3.2.0 Released

2016-02-02 Thread Florian Krämer
Just try it? It's a one minute thing. On Monday, February 1, 2016 at 12:18:20 PM UTC+1, rafaelmsantos.com wrote: > > Is the intl php extension still required? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message b

Re: API Design using CakePHP 3

2016-03-10 Thread Florian Krämer
1) I would *not *avoid that. We use the protection and have no problem at all with it. 2) Create a filter and use it in beforeSave()? Create data objects like the entities in Cake and filter the date there before sending? 3) No idea what you're talking about, you basically say "It's not working