Friday, January 1, 2010

Creating a REST API w/ CakePHP

I am creating an API for my CakePHP site and I am wondering how I
should go about authentication? I will be mainly using my API for my
iPhone app but would also like to eventually open it up to anyone that
would be interested in using it. Any recommendations, or approaches
you would suggest would be appreciated.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Any Cake experts have the weekend free and want to make some quick money? I need help!

Hi. I've been teaming up with a Cake developer on a shopping cart site
but we're currently stuck - he has some issues that he's unsure how to
resolve. I wouldn't even really know how to explain what he's stuck
on, since backend work isn't my forte, but I know it involves some of
the finer points of the checkout process.

Basically what I need is for someone to work with him this weekend and
help him wrap his head around the issues that are giving him trouble.
It would involve a lot of IM/phone time with him and hands-on work on
the Cake files. This is a major launch for a national brand, and the
due date is Monday. I would estimate that 90% of the work is done, but
he just told me today that he can't get any further on his own.

I need the help badly, but it must come from someone who truly
understands Cake and shopping cart solutions. I obviously don't any
time to waste at this point - I need a sniper to come in and save the
day. It would probably take the bulk of the weekend, and you'd of
course be paid handsomely for your time.

If you have the time and expertise and want the money, please contact
me ASAP so I can put you in touch with the developer that's been
working on the job up to this point.

Thanks much,
Marcus
marcus@pixelluxe.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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Hi

The SQL debug table is removed when debug is set to 0. This is done in
config/core.php

On 01/01/2010, at 6:28 PM, Saran <d.t.saravanaa@gmail.com> wrote:

> I raise my question first:
>
> How to remove the query table that is below of all my page, it shows
> some query and " Nr Query Error Affected Num. rows
> Took (ms)" like
> that.
> I built my first blog application and i was wondering how to remove
> the below table,
>
> I am very new to cakePHP, but I know my question is very easy.
> I didn't know the correct name of it, i searched for "default remove
> table query" and similars but no help.
>
> can you help me?
>
> Saran
>
> 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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Hi

In config/core.php reduce the level of debug to 1 for development or 0
for production servers which will remove debug messages and the query
table

Mike Karthauser
Brightstorm limited
Tel: 07939252144

On 1 Jan 2010, at 07:28, Saran <d.t.saravanaa@gmail.com> wrote:

> I raise my question first:
>
> How to remove the query table that is below of all my page, it shows
> some query and " Nr Query Error Affected Num. rows
> Took (ms)" like
> that.
> I built my first blog application and i was wondering how to remove
> the below table,
>
> I am very new to cakePHP, but I know my question is very easy.
> I didn't know the correct name of it, i searched for "default remove
> table query" and similars but no help.
>
> can you help me?
>
> Saran
>
> 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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Save MySQL petition

http://www.helpmysql.org/

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Secret URLs

Hi @all,

I have a (almost) simple question! Is it possible to make all cake php
REST URLs unreadable? What I mean is, that a given REST URL like ".../
user/delete/10" is very simple to read for a human and it is very
simple to guess that I can call this URL with any ID i want. So it
would be very helpful, to generate URLs like ".../
aasdf080234ljasdflk234" or something like that so no human can modify
the URL within the browser and to avoid anoying side effects within
the system.


Thanks and best regards,
Andreas

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: anybody tried the 1.3 console yet

awesome
and can this "custom" template be selected for the whole bake process?

like with "cake bake -custom" etc?

for baking one mvc structure you usually dont need to skip between
layouts
this way you dont need the additional "which template?" selection at
the end of each bake process

PS: 1.3 still rocks - many improvements and new features :)

greetz
mark


On 31 Dez. 2009, 22:14, mark_story <mark.st...@gmail.com> wrote:
> To add in new bake templates use a non 'default' directory for your
> templates.  They would go in vendors/shells/templates/<yourtemplate>
> and use the same directories as the core default templates do.  If you
> don't supply all the templates the core templates will be used as a
> fallback.
>
> -Mark
>
> On Dec 30, 7:38 pm, euromark <dereurom...@googlemail.com> wrote:
>
> > this now seems to be fixed in the current HEAD version
>
> > but:
> > in 1.3 the templates have a different folder structure
>
> > \cake\console\templates\default
> > - actions
> > - classes
> > - views
>
> > instead of just
> > - default
> > (<= 1.2)
>
> > does anyone know how to override the core template files from the app
> > or even the global vendors folder?
> > is it:
> >     \app\vendors\shells\templates\default
> > and for several apps:
> >     \vendors\shells\templates\default
> > with the corresponding subfolders? does not seem to work anyway.
>
> > i thought cake first looks in \app\vendors\shells
> > then in \vendors\shells and finally in the default folder in \cake
>
> > but right now neither "app" nor "vendors" would override the default
> > templates
> > only modifying the core files directly does
>
> > thx in advance
> > mark
>
> > On 21 Dez., 20:44, euromark <dereurom...@googlemail.com> wrote:
>
> > > after switching the core folder from 1.2 to 1.3 the console of course
> > > is now 1.3 as well
>
> > > but where does 1.3 "cake bake" save/get the lists of database tables
> > > now?
> > > it does not seem to cake them out of the tmp/cache/models folder -
> > > therefore my new tables cannot be found in the console - although i
> > > cleared the cache folder completely
> > > in 1.2 this was enough to regenerate the array of all available
> > > tables...
>
> > > after switching back to 1.2 the new tables appeared again in the
> > > console
>
> > > thx

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en