Re: cacheQueries and memory usage
@Jose - That worked! Thanks very much... Now I can set the PHP memory limit back to something sane : ) -- 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 questions. 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
Re: Private Messaging system (PMS)
If i'm not busy sleeping tonight i'll smash out a quick and dirty plugin to do this... can't imagine it'll take me very long =) On Fri, Jul 15, 2011 at 6:24 AM, euromark wrote: > i guess he wanted to save him the trouble :) > unfortunetaly there are not plugins for all purposes yet > > and i cannot give you my messaging or conversation plugin as it is > highly customized to my social network app > and would not run out of the box. > > > On 14 Jul., 15:49, Greg Skerman wrote: > > surely its just a table with a to field, a from field, a subject field, a > > message field, a read field. > > > > inbox is just where to id = current logged on user id > > sent box is where from id is current logged on user id > > > > pretty sure you could do this with only 1 table and not a great deal of > > effort.. > > > > though I am functioning on nearly zero sleep in the last 48 hours, and I > may > > be missing the point about how this is monumentally hard to implement? > > > > > > > > > > > > > > > > On Thu, Jul 14, 2011 at 10:24 PM, taqman filler > wrote: > > > the result come back to here > > > > > 2011/7/14 Phang Mulianto : > > > > maybe you should try to query in google for the PMS in cake php...the > > > result > > > > will be better :) > > > > > > On Thu, Jul 14, 2011 at 1:07 PM, JPM wrote: > > > > > >> HI, > > > > > >> Can I get any component for PMS in cakephp? > > > > > >> Thanks & Regards > > > >> Jay > > > > > >> -- > > > >> Our newest site for the community: CakePHP Video Tutorials > > > >>http://tv.cakephp.org > > > >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd > > > help > > > >> others with their CakePHP related questions. > > > > > >> 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 > > > > > > -- > > > > Our newest site for the community: CakePHP Video Tutorials > > > >http://tv.cakephp.org > > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd > help > > > > others with their CakePHP related questions. > > > > > > 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 > > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > > others with their CakePHP related questions. > > > > > 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 > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: Private Messaging system (PMS)
i guess he wanted to save him the trouble :) unfortunetaly there are not plugins for all purposes yet and i cannot give you my messaging or conversation plugin as it is highly customized to my social network app and would not run out of the box. On 14 Jul., 15:49, Greg Skerman wrote: > surely its just a table with a to field, a from field, a subject field, a > message field, a read field. > > inbox is just where to id = current logged on user id > sent box is where from id is current logged on user id > > pretty sure you could do this with only 1 table and not a great deal of > effort.. > > though I am functioning on nearly zero sleep in the last 48 hours, and I may > be missing the point about how this is monumentally hard to implement? > > > > > > > > On Thu, Jul 14, 2011 at 10:24 PM, taqman filler wrote: > > the result come back to here > > > 2011/7/14 Phang Mulianto : > > > maybe you should try to query in google for the PMS in cake php...the > > result > > > will be better :) > > > > On Thu, Jul 14, 2011 at 1:07 PM, JPM wrote: > > > >> HI, > > > >> Can I get any component for PMS in cakephp? > > > >> Thanks & Regards > > >> Jay > > > >> -- > > >> Our newest site for the community: CakePHP Video Tutorials > > >>http://tv.cakephp.org > > >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd > > help > > >> others with their CakePHP related questions. > > > >> 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 > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > > others with their CakePHP related questions. > > > > 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 > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > 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 -- 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 questions. 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
Re: cake2 and configure load
i thought the PhpReader is attached by default as it used to be thx! On 14 Jul., 20:13, majna wrote: > btw. it's all in docs > > https://github.com/cakephp/docs/blob/master/en/development/configurat... -- 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 questions. 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
Re: Debug why cake decides to clear a cache file
These are view cache files ... and this is in debug=0. And it creates the cache file in caches/views like it's supposed to and it's stays there for a little while but gets deleted while browsing the site. /thomas Den torsdag den 14. juli 2011 05.08.24 UTC+2 skrev mark_story: > > Cake clears the core cache files after 10 seconds in development. And > 999 years in debug = 0. There is no magic decisions to be found :) > > -Mark > > On Jul 12, 4:44 am, Thomas von Hassel wrote: > > Hello good people > > > > I have a somewhat complex CakePHP site where various views are cached. > > This works great, except for one view (that is fetched via Ajax) who's > > cache file is quickly deleted when loading _other_ actions/views. > > > > Is there a way to log/debug why cake decides to delete a cache file ? > > > > /thomas -- 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 questions. 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
Re: Is there a time out for shells?
On Jul 14, 2011, at 11:40, Phang Mulianto wrote: > if run a php, which is i assume,in php.ini there is default time limit to run > a php script.. You're talking about max_execution_time. However when running as a command-line script, it's apparently unlimited. From the default php.ini that ships with PHP 5.3.6: > ; Maximum execution time of each script, in seconds > ; http://php.net/max-execution-time > ; Note: This directive is hardcoded to 0 for the CLI SAPI > max_execution_time = 30 -- 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 questions. 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
Re: cake2 and configure load
btw. it's all in docs https://github.com/cakephp/docs/blob/master/en/development/configuration.rst -- 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 questions. 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
Re: cake2 and configure load
Cake does not configure any config reader by default. In some cases Multibyte configures '_cake_core_' and HtmlHelper::loadConfig() creates configuration "manually" on demand. So tehere's no configured readers by default and you have to configure one: add to bootstrap: App::uses('PhpReader', 'Configure'); Configure::config('default', new PhpReader()); -- 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 questions. 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
Re: Is there a time out for shells?
if run a php, which is i assume,in php.ini there is default time limit to run a php script.. try check it out.. On Jul 14, 2011 6:29 PM, "24z" wrote: > I've written a shell that does db maintenance. It's supposed to run > through some 5.000 records. However, I've noticed, that it stops after > some 200 records. No errors. No warnings. It just stops. Any idea? > > -- > 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 questions. > > > 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 -- 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 questions. 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
Re: Authorization missing autoMagic?
Thanks, Jens. Yes, I understand that straight sha256 hashes differ from salted ones, and that cake salts by prepending the core salt to the password. I had mentioned above that I included 'hashPasswords()' function in the model, which has been 'automagically' replacing the hash with the proprietary 'salt' logic and a sha256 hash. So that part is fine. I've debugged the $_SESSION variable there and verified the success of the hash. I had almost given up and switched to 'Authsome,' because my frustration levels were high. I happened to restore my source code to an earlier state, after which I ran the page to document the $_SESSION array, AND THE LOGIN WORKED AND REDIRECTED!!! There may be a couple of issues affecting this behavior, however I believe one part of the solution requires use of [autoRedirect = true] as a component setting. For me, I'm finding that this value HAS TO BE EXPLICITLY SET even though it defaults to true. For me, setting it to true when the component is initially configured made a difference. I'm also suspecting my difficulties identifying the problem arose as a result of [1] a non-standard implementation (using hashPasswords() function in the model as set forth by { $this->Auth->authenticate statement) = ClassRegistry::init('User') } and [2] the misinterpretation of what was actually happening as a result. I believe that what may have looked like a failure to redirect may have actually been a successful redirect but to the wrong location (meaning a redirect back to '/users/login' !!!). This redirect would be internally stored as part of the auth component. I've noticed that changes to the auth component are not reflected unless I clear the browser history. If the redirect wasn't working (before autoRedirect = true), this might explain what looked to be failed login attempts in addition to masking effects of beneficial changes to the auth component configuration. The essence is this: A workable configuration (requiring explicit "autoRedirect = true") appeared to fail, but because I had spent the latter part of a day setting up 'Authsome,' I was able to discover that it was indeed workable once the session had expired. This also revealed the importance of clearing browser caches when configuring this component. On Jul 12, 6:40 am, Jens Dittrich wrote: > You inherited a table with usernames and passwords where the passwords where > hashed with sha256 right? Was that a custom sha256 implementation? Was it > salted? CakePHP salts the passwords when hashing so the salt value is very > important for the output. sha256 hashed passwords are not the same as salted > sha256 passwords, the hash value differs. -- 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 questions. 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
Re: cacheQueries and memory usage
Try setting DboSource::$cacheMethods to false. Like this $this->MasterIssue->getDataSource()->cacheMethods = false; Do it at the beginning of your script On Jul 14, 9:18 am, majna wrote: > you can fix this by unseting model after each (or every n iterations): > > $Sample = ClassRegistry::init('Sample'); > $Sample->save(); > unset($Sample); -- 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 questions. 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
Re: Private Messaging system (PMS)
surely its just a table with a to field, a from field, a subject field, a message field, a read field. inbox is just where to id = current logged on user id sent box is where from id is current logged on user id pretty sure you could do this with only 1 table and not a great deal of effort.. though I am functioning on nearly zero sleep in the last 48 hours, and I may be missing the point about how this is monumentally hard to implement? On Thu, Jul 14, 2011 at 10:24 PM, taqman filler wrote: > the result come back to here > > 2011/7/14 Phang Mulianto : > > maybe you should try to query in google for the PMS in cake php...the > result > > will be better :) > > > > On Thu, Jul 14, 2011 at 1:07 PM, JPM wrote: > >> > >> HI, > >> > >> Can I get any component for PMS in cakephp? > >> > >> Thanks & Regards > >> Jay > >> > >> -- > >> 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 questions. > >> > >> > >> 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 > > > > -- > > 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 questions. > > > > > > 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 > > > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: cacheQueries and memory usage
you can fix this by unseting model after each (or every n iterations): $Sample = ClassRegistry::init('Sample'); $Sample->save(); unset($Sample); -- 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 questions. 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
Re: Private Messaging system (PMS)
the result come back to here 2011/7/14 Phang Mulianto : > maybe you should try to query in google for the PMS in cake php...the result > will be better :) > > On Thu, Jul 14, 2011 at 1:07 PM, JPM wrote: >> >> HI, >> >> Can I get any component for PMS in cakephp? >> >> Thanks & Regards >> Jay >> >> -- >> 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 questions. >> >> >> 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 > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: Private Messaging system (PMS)
maybe you should try to query in google for the PMS in cake php...the result will be better :) On Thu, Jul 14, 2011 at 1:07 PM, JPM wrote: > HI, > > Can I get any component for PMS in cakephp? > > Thanks & Regards > Jay > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: How to config ajax to work
OK I try this 2011/7/14 Phang Mulianto : > Cake use with ajax is simplify your code writing.. > > you just spit it up with $html->ajax(url, response, anything) > > You don't need to write the ajax command all the way...to many typing for > doing ajax manually.. and if you need to learn it, just use php code > alone..don't make things complicated... > > > On Thu, Jul 14, 2011 at 7:29 PM, taqman filler wrote: >> >> in code I use variable to receive data from ajax file correct or not >> I made a mistake here >> >> 2011/7/14 Jens Dittrich >> > >> > The concept is easy. Create a request Object fill it with data and send >> > it to the server, then wait. Maybe you get an answer maybe you won't. Write >> > handlers for all possible outcomes like success, failure, server messages >> > and no answer at all and handle the eventually received information. >> > If you want to see what is going on then use Firebug for Firefox or >> > Chrome developer tools in chrome. There is also some tooling available in >> > IE9. >> > However, the concept of AJAX has nothing to do with CakePHP, it is >> > always the same. >> > >> > -- >> > 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 questions. >> > >> > >> > 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 >> >> -- >> 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 questions. >> >> >> 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 > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: How to config ajax to work
Cake use with ajax is simplify your code writing.. you just spit it up with $html->ajax(url, response, anything) You don't need to write the ajax command all the way...to many typing for doing ajax manually.. and if you need to learn it, just use php code alone..don't make things complicated... On Thu, Jul 14, 2011 at 7:29 PM, taqman filler wrote: > in code I use variable to receive data from ajax file correct or not > I made a mistake here > > 2011/7/14 Jens Dittrich > > > > The concept is easy. Create a request Object fill it with data and send > it to the server, then wait. Maybe you get an answer maybe you won't. Write > handlers for all possible outcomes like success, failure, server messages > and no answer at all and handle the eventually received information. > > If you want to see what is going on then use Firebug for Firefox or > Chrome developer tools in chrome. There is also some tooling available in > IE9. > > However, the concept of AJAX has nothing to do with CakePHP, it is always > the same. > > > > -- > > 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 questions. > > > > > > 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 > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: How to config ajax to work
in code I use variable to receive data from ajax file correct or not I made a mistake here 2011/7/14 Jens Dittrich > > The concept is easy. Create a request Object fill it with data and send it to > the server, then wait. Maybe you get an answer maybe you won't. Write > handlers for all possible outcomes like success, failure, server messages and > no answer at all and handle the eventually received information. > If you want to see what is going on then use Firebug for Firefox or Chrome > developer tools in chrome. There is also some tooling available in IE9. > However, the concept of AJAX has nothing to do with CakePHP, it is always the > same. > > -- > 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 questions. > > > 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 -- 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 questions. 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
Re: How to config ajax to work
The concept is easy. Create a request Object fill it with data and send it to the server, then wait. Maybe you get an answer maybe you won't. Write handlers for all possible outcomes like success, failure, server messages and no answer at all and handle the eventually received information. If you want to see what is going on then use Firebug for Firefox or Chrome developer tools in chrome. There is also some tooling available in IE9. However, the concept of AJAX has nothing to do with CakePHP, it is always the same. -- 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 questions. 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
Re: How to config ajax to work
I try to understand concept of ajax before use helper or libraly if use it when got problem or modified it's can't be done 2011/7/14 Jens Dittrich > Why are you trying to reinvent the wheel? Is there any real reason for you > to write AJAX code yourself? Why are you not using reliable and tested > libraries like jQuery or Mootools in the first place? > > -- > 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 questions. > > > 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 > -- 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 questions. 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
Re: How to config ajax to work
I try to understand concept of ajax before use helper or libraly if use it when got problem or modified helper it's can't be done 2011/7/14 Jens Dittrich > Why are you trying to reinvent the wheel? Is there any real reason for you > to write AJAX code yourself? Why are you not using reliable and tested > libraries like jQuery or Mootools in the first place? > > -- > 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 questions. > > > 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 > -- 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 questions. 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
How to Create API's user CakePHP
I believe I have set up CakePHP properly but for some reason I do not know how to start user CakePHP to start developing my api. I know I want to use REST for my api calls. What would be a quick way to get my api up and running with CakePHP. It is important to get this going with little downtime with code building. Any help would be nice. Thank you. -- 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 questions. 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
Is there a time out for shells?
I've written a shell that does db maintenance. It's supposed to run through some 5.000 records. However, I've noticed, that it stops after some 200 records. No errors. No warnings. It just stops. Any idea? -- 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 questions. 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
Re: cacheQueries and memory usage
*bump* - Can any of the CakePHP devs chime in here? -- 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 questions. 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
Re: CakeFest 2011 schedule announced (and discount tickets are ending soon!)
Graham, Don't get me wrong, I don't think the prices are too costly! The schedule looks amazing and you've done very well to get the deal on accommodation ... it know it would be money well spent, but it's money I simply don't have to spend :( Also, I won't get much joy out of asking my employer to share the cost seeings as I am my employer! I know I'm going to regret not coming, but unfortunately I think I'm going to have to live with that regret. However, Sam Sherlock does bring up a good point. Am I going to be able to virtually attend? On Jul 13, 3:06 pm, Graham Weldon wrote: > Hey Paul, > > This years event is cheaper than last years. > We've made sure that our sponsors are aware of our costs and concerns, > and that the venue is co-operating so we can deliver a more cost > effective solution. > > If you're only able to attend one of the portions, then you need to > decide if you want training or if you want to catch up on new and > interesting talks and mingle with people more. > The training schedule is somewhat hard to lay down in a concrete > fashion. There is two streams for the workshops, one aimed at > beginners to intermediate and the other for the more advanced users. > To begin, we start off both groups with a startup application build so > that the more advanced and intermediate topics have a common codebase > to work from. The workshops are a great way to get low cost training > while being able to mingle and network with some CakePHP users. > > The big names in the CakePHP community generally make it for the > conference portion, if anything, and this is a good opportunity to > meet some interesting and influential people within the community. > > I'd recommend going to both. Perhaps share the cost of the ticket with > your employer if it comes to that. > We hope to see you at CakeFest 2011! > > Cheers, > Graham > > On Jul 13, 6:45 pm, WebbedIT wrote: > > > > > > > > > Wow, only just realised CakeFest is in UK this year! Would really > > love to come to whole thing, but I have not got £1k floating around to > > fund 3-4 days in Manchester :o( > > > Considering just going to workshops or conference as would only have > > to fund one night, but can't make my mind up what would be best? > > Workshops on face of it seem basic, but would be gr8 to see how the > > CakeDC team code a project from scratch and I know I should be > > practicing some of the topics covered on day two more. Conference > > should attract more seasoned developers and has some juicy topics too, > > plus it's the cheaper part of the 4 days. > > > What are others doing? Would like to meet anyone coding with CakePHP, > > but would ideally like to meetup with some UK developers who I could > > continue to keep in touch with after CakeFest and previous attempts to > > find other peeps in the North East (I'm from Boldon Colliery - between > > Newcastle and Sunderland) have drawn a blank. > > > Exciting times, Paul. -- 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 questions. 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
Re: Proper use of JsHelper::object() OR JsHelper::value()
a quick look in the code tells me that $this->Js->object() checks if there is native support for json_encode() function and uses that when available. It is also able to add $prefix and $postifx to the JSON result. Internally it uses the Js->value() function if there is no native support for json_encode(). Js->value() calls Js->object() when the variable provided is either array or object, so whatever you do unless you are coding float, int, bool or null you are using both methods anyway ;-) I personally use json_encode() since I have native support on my dev and prod machines and I do not need $prefix or $postfix. However, I would probably use Js->object() rather than Js->value(). -- 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 questions. 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
Re: How to config ajax to work
Why are you trying to reinvent the wheel? Is there any real reason for you to write AJAX code yourself? Why are you not using reliable and tested libraries like jQuery or Mootools in the first place? -- 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 questions. 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