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

Re: API Help / Component / Vendor / Plugin?

2013-01-14 Thread John Hardy
Just think, how many ways are there to cook steak? Broil, Fry, Smoke, BBQ etc. and they all taste equally as good. For example, I have the Facebook Graph API packaged as a vendor file, and the actual interaction with the object is handled as a Singleton. ( Tight Deadline on that ) Another

Re: API

2009-01-04 Thread Jon Bennett
I usually open the files myself instead of using the API online. I usually have to go through the methods themselves to find out the options. I tend to use the API to find a particular method, then click on the line number link of that method and browse the source, most things can be

Re: API

2009-01-04 Thread jason m
Also, the first line of the find method description says that it returns a single row as a resultset array. That might have been true for cake 1.1 but for 1.2 I generally use the find method for basically any kind of read from the model, and this method if probably the one I use most and

Re: API

2009-01-04 Thread jason m
One of the most confusing areas of the API when pre-release versions of cake 1.2 came out was probably the Model::find method. I think the cookbook covers it very well, but just by looking at the api, you wouldn't really know how to use it. A simple link to the cookbook in the commend will

RE: API

2009-01-03 Thread Steven Wright
difficult for a new user to get past. Thanks for replying. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Webweave Sent: Friday, January 02, 2009 11:43 PM To: CakePHP Subject: Re: API My experience is that you are much better off looking

Re: API

2009-01-03 Thread mark_story
-...@googlegroups.com] On Behalf Of Webweave Sent: Friday, January 02, 2009 11:43 PM To: CakePHP Subject: Re: API My experience is that you are much better off looking at the cookbook for that sort of information. In a few cases the API docs are very clear as to what the options

Re: API

2009-01-03 Thread rhythmicde...@gmail.com
given time I will figure this out, its just difficult for a new user to get past. Thanks for replying. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Webweave Sent: Friday, January 02, 2009 11:43 PM To: CakePHP Subject: Re

Re: API

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 3:18 PM, rhythmicde...@gmail.com rhythmicde...@gmail.com wrote: Ahh I dont want to be all whiny about it :) Essentially if there are options the options should be listed. Agreed. The API docs are a misery to wade through at times. Especially for figuring out things

RE: API

2009-01-03 Thread Steven Wright
, 2009 3:43 PM To: cake-php@googlegroups.com Subject: Re: API On Sat, Jan 3, 2009 at 3:18 PM, rhythmicde...@gmail.com rhythmicde...@gmail.com wrote: Ahh I dont want to be all whiny about it :) Essentially if there are options the options should be listed. Agreed. The API docs are a misery

Re: API

2009-01-03 Thread mark_story
bitch too much about what is essentially a free framework. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of brian Sent: Saturday, January 03, 2009 3:43 PM To: cake-php@googlegroups.com Subject: Re: API On Sat, Jan 3, 2009 at 3:18 PM

Re: API

2009-01-03 Thread gearvOsh
I usually open the files myself instead of using the API online. I usually have to go through the methods themselves to find out the options. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to

Re: API

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 6:58 PM, mark_story mark.st...@gmail.com wrote: Its not bitching if you are willing to point out where the problems are and perhaps offer some solutions to those problems. That's called contributing in my books. As for the API it is automatically generated via

Re: API

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 7:36 PM, gearvOsh mileswjohn...@gmail.com wrote: I usually open the files myself instead of using the API online. I usually have to go through the methods themselves to find out the options. You can get to the source of any method by following the link, Definition at

RE: API

2009-01-03 Thread Steven Wright
://us.php.net/manual/en/function.mysql-affected-rows.php -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of mark_story Sent: Saturday, January 03, 2009 6:59 PM To: CakePHP Subject: Re: API Its not bitching if you are willing to point

Re: API

2009-01-02 Thread Webweave
My experience is that you are much better off looking at the cookbook for that sort of information. In a few cases the API docs are very clear as to what the options are and how to use them, but often it requires a lot of digging to understand them. What part of the API are you having trouble

Re: API Documentation Question

2008-12-17 Thread Rob
Yeah, and I forgot to mention that the API docs do let you drill into the source, so you can wade through the code if the docs aren't self- explanatory. The problem with the API docs, is that they are typical code generated documentation, so it's helpful once you have an understanding of the

Re: API Documentation Question

2008-12-15 Thread mark_story
If you click on a class you should get a list of its methods and their parameters. For example, http://api.cakephp.org/class_controller.html#903188d3de83bd65c78bb676f61b3039 should take you to Controller::redirect(). And the API is generated off of the source code, so it would be very similar

Re: API documentation tool

2008-12-07 Thread Everton Yoshitani
It's doxygen :) 2008/12/5 Olivier Percebois-Garve [EMAIL PROTECTED]: yeah after some research it seems to be doxygen. thx. Dont forgot to have a nice weekend. Olivier On Fri, Dec 5, 2008 at 2:29 PM, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Good point... probably Doxygen

Re: API documentation tool

2008-12-05 Thread dr. Hannibal Lecter
I'm not sure on this, but I believe it could be phpDocumentor (http:// phpdoc.org/)? On Dec 5, 1:03 pm, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Hi What is used to generate the API doc of cakephp ? thanks Olivier --~--~-~--~~~---~--~~ You received

Re: API documentation tool

2008-12-05 Thread Olivier Percebois-Garve
But it looks visually so different to what I know from phpDocumentor. No left column, etc... On Fri, Dec 5, 2008 at 1:47 PM, dr. Hannibal Lecter [EMAIL PROTECTED]wrote: I'm not sure on this, but I believe it could be phpDocumentor (http:// phpdoc.org/)? On Dec 5, 1:03 pm, Olivier

Re: API documentation tool

2008-12-05 Thread dr. Hannibal Lecter
Good point... probably Doxygen then..seems like it (look at the examples on Doxygen site, especially the tabs).. On Dec 5, 2:14 pm, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: But it looks visually so different to what I know from phpDocumentor. No left column, etc... On Fri, Dec 5,

Re: API documentation tool

2008-12-05 Thread Olivier Percebois-Garve
yeah after some research it seems to be doxygen. thx. Dont forgot to have a nice weekend. Olivier On Fri, Dec 5, 2008 at 2:29 PM, dr. Hannibal Lecter [EMAIL PROTECTED]wrote: Good point... probably Doxygen then..seems like it (look at the examples on Doxygen site, especially the tabs).. On

Re: API 1.2 chm or pdf

2008-07-17 Thread Sudhir Porwal
Hi, This one is in html format, with tree navigation bar.Hope it would help http://sudhir.wordpress.com/2008/07/17/cakephp-1207296-rc2-api-refrence-html/ Regards, Sudhir Wisnu Manupraba wrote: dear, where can I get api 1.2 documentation di chm or pdf format? because i'm not online 24

Re: API 1.2 chm or pdf

2008-07-15 Thread Duncan
Try searching in this group, as there used to be one, but I think it's outdated, whereas the online API provides code coverage for the recent RC2 release. On Jul 14, 10:43 pm, Wisnu Manupraba [EMAIL PROTECTED] wrote: dear, where can I get api 1.2 documentation di chm or pdf format? because

Re: API 1.2 chm or pdf

2008-07-15 Thread Wisnu Manupraba
On Tue, Jul 15, 2008 at 1:23 PM, Duncan [EMAIL PROTECTED] wrote: Try searching in this group, as there used to be one, but I think it's outdated, whereas the online API provides code coverage for the recent RC2 release. yup, i need the latest release one On Jul 14, 10:43 pm, Wisnu

Re: API 1.2 chm or pdf

2008-07-15 Thread aranworld
I'm sure the developers will release it as soon as Day 2.0 is released. You know, the one with 26 hours instead of 24. I agree that this would be a good thing to have, but instead of just demanding it, why don't you offer to put in some of the work needed to create it? On Jul 14, 11:29 pm,

Re: API 1.2 chm or pdf

2008-07-15 Thread DanielMedia
If you have Adobe Acrobat or something similar installed you can just go to book.cakephp.org and hit File - Print - Adobe PDF... Instead of sending it to your default printer. But make sure you select the all on one page option in the manual first. Usually ends up being a 6 or 7 MB pdf from what

Re: API Google Maps

2008-02-22 Thread Josenivaldo Benito Junior
Olá turma, Resolvi o problema! Primeiro eu peguei uma página de exemplo do Google e colei no lugar do layout (substituindo assim tudo que eu e o cake fizemos). Funcionou perfeitamente. Então fui substituindo gradualmente o código estático pelo código gerado pelo cake e eu até que cheguei a

Re: API Google Maps

2008-02-14 Thread Josenivaldo Benito Junior
Olá pessoal, Bom, deixa eu atualizar as informações que tenho, assim vocês vão poder me ajudar melhor e, no futuro protegerem-se desse problema. Como havia comentado, o problema ocorre em operas anteriores ou iguais ao 9.25 (acho que é a maioria da base instalada -- incluindo o Opera do Nintendo

Re: API Google Maps

2008-02-13 Thread Juan Basso
Olha, olhando rapidamente no Google, parece que o pessoal não tem problemas com o GoogleMaps com Opera, ou seja, deve ser na parte que você fez. :) Portanto, acho que sem ver o código fica meio difícil de ajudar. Juan Basso On 13 fev, 14:06, Josenivaldo Benito Junior [EMAIL PROTECTED] wrote:

Re: API Google Maps

2008-02-13 Thread Josenivaldo Benito Junior
Oi Juan, Que foi na parte que eu fiz ou que é alguma incompatibilidade com scripts do cake (acho difícil) não há dúvidas. Eu pedi uns browser shots ( http://www.brownsershots.org - fantástico) do meu site e do http://maps.google.com para ver como ficava. Com isso descobri que o Google Maps

Re: API Documentation Generator

2007-09-10 Thread [EMAIL PROTECTED]
I looked all over for there doxyfile. I would love to see it as they somehow (my guess though alieses) support several phpdoc only style comments.. David On Sep 7, 6:52 am, MarkH [EMAIL PROTECTED] wrote: On Sep 6, 4:53 pm, djiize [EMAIL PROTECTED] wrote: Where did you see it was parsed

Re: API Documentation Generator

2007-09-07 Thread MarkH
On Sep 6, 4:53 pm, djiize [EMAIL PROTECTED] wrote: Where did you see it was parsed by Doxygen? I still use PHPDocumentor, and I remember a post from phpNut saying it was parsed by this tool...http://www.phpdoc.org/ Because the HTML contains... !-- Generated by Doxygen 1.5.2 -- and

Re: API Documentation Generator

2007-09-06 Thread djiize
Where did you see it was parsed by Doxygen? I still use PHPDocumentor, and I remember a post from phpNut saying it was parsed by this tool... http://www.phpdoc.org/ On 6 sep, 16:00, MarkH [EMAIL PROTECTED] wrote: I'm investigating the use of Doxygen / PHPDocumentor with Cake programs.

Re: API documentation needs stylesheet change

2006-08-16 Thread [EMAIL PROTECTED]
Wow! Fast work, gwoo and John. That is most helpful. You guys rock. Thank you. Best regards, Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: API documentation needs stylesheet change

2006-08-16 Thread purepear
Much better now ! Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: API documentation needs stylesheet change

2006-08-16 Thread John Zimmerman [gmail]
All I did was file the ticket.I don't do any actual work :-)Thanks gwoo/nate.On 8/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Wow! Fast work, gwoo and John. That is most helpful. You guys rock.Thank you.Best regards,Ralph --~--~-~--~~~---~--~~ You received

Re: API documentation needs stylesheet change

2006-08-16 Thread gwoo
Ralph thanks for sparking the fire and submitting some styles. John the ticket was needed, thanks for adding it. The time needed to fix it was trivial, the reason to fix it was not. Bake on. --~--~-~--~~~---~--~~ You received this message because you are

Re: API documentation needs stylesheet change

2006-08-15 Thread [EMAIL PROTECTED]
In the prior message, I meant to write, with no visible separation between methods above and below the desired method. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: API documentation needs stylesheet change

2006-08-15 Thread nate
We don't respond to requests or bugs posted here. You can open a ticket at https://trac.cakephp.org/ Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: API documentation needs stylesheet change

2006-08-15 Thread John Zimmerman [gmail]
Donehttps://trac.cakephp.org/ticket/1321On 8/15/06, nate [EMAIL PROTECTED] wrote:We don't respond to requests or bugs posted here.You can open a ticket at https://trac.cakephp.org/Thanks. --~--~-~--~~~---~--~~ You received this message because you are

Re: API documentation needs stylesheet change

2006-08-15 Thread [EMAIL PROTECTED]
Thank you for entering that ticket, John. I meant to write that you can see a sample of the improved appearance at http://jengels.maxsoft.com/test/ versus the existing page at http://api.cakephp.org/class_controller.html (The top of my sample page is not rendered correctly. I didn't bother

Re: API documentation needs stylesheet change

2006-08-15 Thread John Zimmerman [gmail]
Gwoo updated the stylesheet already.http://api.cakephp.org/class_controller.htmlRefresh your the page if it doesn't show up.I marked it as trivial because it did not present a security concern or logical error in a code example that could lead to unworkable code (which can be very frustrating