Re: Schema migrations like RoR

2011-11-12 Thread Sathia S
http://lquery.com/blog/cakephp-migration-plugin---part-1 -- Regards sathia http://www.sathia27.wordpress.com -- 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

Re: CakePHP in GCI2011

2011-11-12 Thread Graham Weldon
Looks like its past the project submission date for this. :-( -- 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 gro

Re: Amazon simpledb

2011-11-12 Thread Graham Weldon
If you want to look at some awesome MongoDB datasource implementations, I recommend the following: - https://github.com/ichikaway/cakephp-mongodb - https://github.com/lorenzo/MongoCake Both from highly reputable CakePHP developers. -- Our newest site for the community: CakePHP Video Tutorials

Re: CakePHP and Sqlite

2011-11-12 Thread Graham Weldon
You just need to setup your Config/database.php to use Sqlite: For a file based database: public $default = array( 'datasource' => 'Database/Sqlite', 'database' => '/path/to/database_file' ); Or an in-memory database: public $default = array( 'datasource' =>

Re: CakePHP and YQL (Yahoo Query Language)

2011-11-12 Thread Graham Weldon
You most certainly can use YQL with CakePHP. It can be done ad-hoc, through calls using cURL, or the CakePHP HttpSocket class in your models/controllers. Alternatively, if you are providing a concrete datasource implementation for a data table on YQL, you could build a plugin that provided the

Re: Schema migrations like RoR

2011-11-12 Thread Andras Kende
Here is an excellent plugin : https://github.com/CakeDC/migrations/ Andras Kende On Nov 11, 2011, at 4:08 PM, Myth Rush wrote: > Hello. > > I am new in cakephp, but I work with Ruby on Rails. So I am finding > tool like migrations which are implemented in RoR "rake db:migrate"... > In cakephp i

Re: onClick in button

2011-11-12 Thread CrotchFrog
Just to eliminate the obvious ... have you included the .js using $this->Html->script() or some other method? Have you checked the script for errors using Firebug or something similar? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new Cake

CakePHP and YQL (Yahoo Query Language)

2011-11-12 Thread Marcus Clarke
Can the two work together and you provide examples of incorporate YQL within CakePHP project? thanks -- 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 q

Re: CakePhp related domain

2011-11-12 Thread Sam Sherlock
So transfer the ownership of the domain and use the hosting you have purchased for another enterprise of your own. Why should your outlay for the hosting be covered by the sale of this domain? Consider the benefit you have gained from using cake. - S On 12 November 2011 00:51, Sandy wrote

Schema migrations like RoR

2011-11-12 Thread Myth Rush
Hello. I am new in cakephp, but I work with Ruby on Rails. So I am finding tool like migrations which are implemented in RoR "rake db:migrate"... In cakephp is "cake schema updage"... But I think that this is not the same feature. For example: Threre are 10 programmers which work on the same proj

Re: CakePhp related domain

2011-11-12 Thread Phil Dobbin
On 11/11/11 18:33, "mike karthauser" wrote: > If this is the case then why not offer the domain at a nominal price - ie 20 > dollars rather than 200? If your intention is to keep it away from the domain > squatters then passing it on to someone to use it is worth that. Otherwise let > it expire a

Making a real mess of Auth Component

2011-11-12 Thread CrotchFrog
I could use a bit of help straightening out my Auth, Autth->login. In the process of trying to get it to work I made a nice enough mess that I just need to start over. I'm not using Form based Authentication (first time I've attempted this) and I'm also using a Model other than User (first tim

Re: CakePhp related domain

2011-11-12 Thread Larry E. Masters
The trademark owner can contact the ICANN and ask for the domain* > suspension, right? > > * Wich contains the trademarked name > > Thiago, Yes that is what we have done before. -- Larry E. Masters -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out t

CakePHP and Sqlite

2011-11-12 Thread zer0_gravity
Having trouble setting up CakePHP to work with Sqlite? could you explain or point me to where I can get info in rewards to this. thanks -- 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 o

Re: Multilingual Projects and Jquery

2011-11-12 Thread Miles J
Meant "designers". It was built for people who are mainly designers are not developers. On Nov 10, 1:22 pm, Thiago Belem wrote: > I've nothing against MooTools, but why jQuery is a design framework? > > -- > ***Thiago Belem* > Desenvolvedor > Rio de Janeiro - RJ - Brasil > > +55 (21) 8865.9250 >

Re: CakePhp related domain

2011-11-12 Thread Sandy
Hi Sam, Its hosted on Hostdime and not Godaddy. Actually, this having become more of a big deal than I thought, I might just keep it and place ads if nothing better comes up. Thanks for the idea. On Nov 12, 11:18 am, Sam Sherlock wrote: > Ironic that hosting is on godaddy as cake fan proble

onClick in button

2011-11-12 Thread Dominik Gajewski
Hi I have problem with cake and javascript i have code in cakephp like that echo $this->Form->create('Order', array('action'=>'save')); echo $this->Form->input('User.name', array('label'=>'Imię')); echo $this->Form->input('User.surname', array('label'=>'Nazwisko' /*'value' => $res

Re: Validation rules question

2011-11-12 Thread euromark
you should always use the full array syntax and also add last=>true to every rule. example: 'email' => array( 'email' => array( 'rule' => array('email', true), 'message' => 'valErrInvalidEmail',

How to paginate "subtable" in a view?

2011-11-12 Thread Daniel
Following my post: https://groups.google.com/group/cake-php/browse_thread/thread/21c8e24fdb4f4b34/f8fa633f9296867d?hl=en&q=related+users&lnk=ol&; ...I have a query in the categories controller that uses "contain" and fetches a category and all its associated posts: $this->set( 'category',

Re: Containable Memory Usage

2011-11-12 Thread euromark
well, I doubt that, too. Especially with a lot of model relations you are usually better off using recursive=-1 globally and defining contain everywhere. What troubles me more is the fact that containable is not optimized. Or in other words: It creates up to 50x more queries than necessary depend

Re: CakePhp related domain

2011-11-12 Thread Sam Sherlock
Ironic that hosting is on godaddy as cake fan problematic on those servers. The domain is of little value really, the hosting is of no value. As cake foundation could host it on existing servers. As for someone taking the package from you you should rethink perhaps partner with some other develop

Re: CakePhp related domain

2011-11-12 Thread Sandy
Hi phpMagpie, The $200 is not for the domain registration, but because I have paid the hosting in advance, which is valid until 2013 and can be kept by anyone interested in the domain. I cannot get a refund for this so I at least would like to get this part back. The auction is because I got int

Re: Having layout breaking because of a whitespace?

2011-11-12 Thread mike karthauser
You've got a blank line in your view because you've set it in your element requestAction('objekt/ getCategories'); $cities = $this->requestAction('objekt/getCities');?> Tbh whitespace in your HTML shouldn't be an issue. If you are objecting due to distance between ul and the top of your td then

Re: CakePhp related domain

2011-11-12 Thread Thiago Belem
The trademark owner can contact the ICANN and ask for the domain* suspension, right? * Wich contains the trademarked name -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net cont...@thiagobelem.net *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»*

Re: Validation rules question

2011-11-12 Thread heohni
What do you mean? 'ben_email' => array( 'required' => array('rule' => 'notEmpty', 'message' => 'EmptyEmail','required'=> true), 'email' => array('rule' => array('email', true), 'message' => 'SyntaxEmail'), 'unique' => array('rule' => 'isUnique', 'message' => 'E

Re: Containable Memory Usage

2011-11-12 Thread Jeremy Burns | Class Outfit
It'd be an interesting test, but from the outset I (unscientifically) doubt it. Without the contain behaviour and relying on recursive = whatever you are often pulling back way too much data, so some sort of model binding adjustment has to save horsepower. The containable behaviour simply manage

Containable Memory Usage

2011-11-12 Thread zuha
I saw this comment on another thread, and instead of taking over that thread with a containable discussion, I'm starting a new one. Can anyone confirm or deny this claim that "containable" uses a lot of memory? (as say compared to bind/unbind) On Sat, Nov 12, 2011 at 5:47 PM, phpMagpie wrote

Having layout breaking because of a whitespace?

2011-11-12 Thread heohni
Hi, in default.ctp: element('navigation',array('cache'=>array('time'=>'+1 year','key'=>'nav')));?> The element start in line 1 with: requestAction('objekt/ getCategories'); $cities = $this->requestAction('objekt/getCities');?> . I controlled both actions, but there are

Re: Ignoring 'belongsTo' inside model

2011-11-12 Thread Jeremy Burns | Class Outfit
Interesting. Prove it (when compared with binding and unbinding). Jeremy Burns Class Outfit http://www.classoutfit.com On 12 Nov 2011, at 12:47, thom wrote: > > > On Sat, Nov 12, 2011 at 5:47 PM, phpMagpie wrote: > I would advise you to learn how to use containable ... only takes a > couple

Re: How to "cache" certain data from being loaded everytime a request is made

2011-11-12 Thread heohni
element('navigation',array('cache'=>array('time'=>'+1 year','key'=>'nav')));?> -- 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 unsubscr

Re: Ignoring 'belongsTo' inside model

2011-11-12 Thread thom
On Sat, Nov 12, 2011 at 5:47 PM, phpMagpie wrote: > I would advise you to learn how to use containable ... only takes a > couple of lines of code makes life a whole lot easier than having to > bind and unbind for every paginate. > > I'd like to avoid it. I think it consumes a lot of memory. CMIIW

Re: SEO friedly URLs

2011-11-12 Thread daf182
Hi, You can use the static slug() method of the Inflactor class to create the slug of a string. Read this part of the documentation: http://book.cakephp.org/2.0/en/core-utility-libraries/inflector.html?highlight=slug#Inflector::slug And you can use it like: Inflector::slug($word, $replacement = '_

Amazon simpledb

2011-11-12 Thread dtemes
I am looking into Amazon SimpleDB as a DB solution to migrate a project to the cloud, and have not found any serious post about the topic but a thread from 2008. Most probably we will have to write a new datasource and are already doing some research. Some of the questions we already have are how

Re: Ignoring 'belongsTo' inside model

2011-11-12 Thread phpMagpie
I would advise you to learn how to use containable ... only takes a couple of lines of code makes life a whole lot easier than having to bind and unbind for every paginate. HTH, Paul On Nov 11, 8:02 am, thom wrote: > On Fri, Nov 11, 2011 at 2:23 PM, Andras Kende wrote: > > There are multiple wa

Re: CakePhp related domain

2011-11-12 Thread phpMagpie
> Sandy: Yes, this domain is mine Just wanted to know if it was you trying to make a profit from a CakePHP related domain, or if you were informing us of someone else who was selling this domain? > In my opinion its better for a CakePHP programmer to use it and not > some > domain squatter, which