Re: Overkill for a starter project?

2008-12-18 Thread Olivier Percebois-Garve
If your target is really simple blog, then cake is the perfect tool. if you are intermediate php, you should not have troubles getting it done. IMO its better to learn cake on a simple project, with no border-the-line use of the framework. That will avoid you to make structural errors on your

API documentation tool

2008-12-05 Thread Olivier Percebois-Garve
Hi What is used to generate the API doc of cakephp ? thanks Olivier --~--~-~--~~~---~--~~ 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

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 Percebois

Re: API documentation tool

2008-12-05 Thread Olivier Percebois-Garve
).. 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, 2008 at 1:47 PM, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: I'm not sure on this, but I believe it could

Re: Mambo on CakePHP brainstorm

2008-11-19 Thread Olivier Percebois-Garve
Hi Since the announcement of the rewrite (a year ago ?), I tried a few times to check the progress, but I could not find anything. So personally, the first thing I would expect, is to have a publicly readable repository from which i could download the last dev version. After that, I would love

Re: Why does this shitty Ggroups need 10 mins to post?

2007-09-15 Thread Olivier Percebois-Garve
then the best for you is to use an email client such as Thunderbird and use threaded view Mech7 wrote: I have to say that i prefer a decent forum over this group, this is all so unorganized very hard to track your messages. --~--~-~--~~~---~--~~ You

Re: OceanCMS configuration error

2007-09-12 Thread Olivier Percebois-Garve
Hi You will not get it running OceanCMS is meant for Cake 0.6 or so, not updated since then. -Olivier lalit kumar wrote: Hi, Any one help me out. i am configuring OceanCMS.from two week i got an error *Query:* getPageImage *Warning*: *SQL Error:* 1064: You have an error in your SQL

Re: Mambo 5 to be Cakephp Killer App

2007-07-26 Thread Olivier Percebois-Garve
errr sorry ignore this, I haven't sseen the thread just before... On 7/26/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Very interesting, getting the best of both, framework and CMS. Have you a link to some area where Mambo folks are discussing this ? where is the news coming from

Re: Mambo 5 to be Cakephp Killer App

2007-07-26 Thread Olivier Percebois-Garve
Very interesting, getting the best of both, framework and CMS. Have you a link to some area where Mambo folks are discussing this ? where is the news coming from ? On 7/26/07, Penfold [EMAIL PROTECTED] wrote: Hi All, This is great news mambo will be using cake. I have only been using cake a

Re: Lumad CMS / (Cupcake)

2007-04-11 Thread Olivier Percebois-Garve
did you also notice http://sourceforge.net/projects/igocms/ svn shows recent activity and good code... keymaster wrote: Came across the Cupcake CMS built on cakePHP. I read somewhere that it is conceptually based off Radiant CMS, which in turn is built off Ruby on Rails, so would be a

Re: Lumad CMS / (Cupcake)

2007-04-11 Thread Olivier Percebois-Garve
last time I saw Ocean showing up was for 9 month or so. Ocean CMS is a neat piece of software, but it is finished at 90%... I think it was compatible to cake until rc4 that all... keymaster wrote: No, Olivier, I didn't notice it. Thanks for pointing it out, though. What most appealed to me

Re: Proposal for killer app

2007-03-28 Thread Olivier Percebois-Garve
Hi As a free-time coder I'd love the idea to contribute to a cakephp cms project. I'd love to this project aggregate the work of a lot of peoples. Presently I see cakephp as having a great core team, some very good coders around in the community, but much less cohesion in the 3rd line where

Re: Proposal for killer app

2007-03-28 Thread Olivier Percebois-Garve
@Chris I was thinking about having the cms you can code anything upon it. This should of course not compete with the framework's own reputation, but increase it. @Mariano Sorry but I do not share your elitist vision. Cakephp is making its best to reach new markets and to be used by the

Re: Proposal for killer app

2007-03-28 Thread Olivier Percebois-Garve
: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Olivier Percebois-Garve Enviado el: Miércoles, 28 de Marzo de 2007 08:24 p.m. Para: cake-php@googlegroups.com Asunto: Re: Proposal for killer app @Mariano Sorry but I do not share your elitist vision. Cakephp is making its

Re: Proposal for killer app

2007-03-28 Thread Olivier Percebois-Garve
I've been helping debugging on ocean CMS. I created my own project on cakeforge when I started with cake. Even if it was flawed by design (recursive requestActions ...) it helped me get my job by demonstrating it. At that time I received zero feedback from the community, positive or negative.

Re: Cake Recipes cancelled

2007-03-13 Thread Olivier Percebois-Garve
By the way Michal how are your projects coming along ? Fase ? jQuery stuffs ? You have removed the links but the files are still accessible... Any update to expect ? or a new project ? Olivier On 3/13/07, Michal Tatarynowicz [EMAIL PROTECTED] wrote: It's because I wanted to avoid all this

Re: New Cake FAQ

2007-03-12 Thread Olivier Percebois-Garve
Hi Q: I have made the blog tutorial, now how can I build a website ? That kind of question appears sometimes on the list and gets little feedback. Web developers are used to a vocabulary that is different to cake's one. Having made the blog tutorial helps to understand cake but does not show

Re: Jquery and Cake

2007-02-26 Thread Olivier Percebois-Garve
From their homepage: License : MIT or GPL ( what ever you wish to use ) This should be compatible with cake's license, isn't it ? On 2/26/07, nate [EMAIL PROTECTED] wrote: The jQuery interface is already being implemented, however, we don't take code from other projects for licensing

Re: CakePHP and LiveGrid (Rico)

2007-02-20 Thread Olivier Percebois-Garve
Scaffold is not meant for production, but it has been suggested that it is ok for production. The manual is rather unclear on that point : So cool that you'll want to use it in production apps. Now, we think its cool, too, but please realize that scaffolding is... well... just scaffolding. It's

Re: Kindly Hep Me !!

2007-01-15 Thread Olivier Percebois-Garve
The blog tutorial is a good way to grasp what cakephp is. On 1/15/07, Eric C Blount [EMAIL PROTECTED] wrote: Cake PHP is a Framework that will help you build PHP applications faster. It does much of the dirty work (the repetitive stuff you do for every project) for you, leaving you to handle

Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Olivier Percebois-Garve
Would it make sense to go after rails's documentation to get an idea of how these new things in 1.2 are functioning ? olivvv Felix Geisendörfer wrote: I'm thinking of doing a project in cake and would like to know if there is a model convention similar to 'acts_as_tree' in rails. CakePHP 1.2

Re: I Just Installed Cake and then . . .

2007-01-06 Thread Olivier Percebois-Garve
use the formTag() like ?php echo $html-formTag('/notes/edit/' . $html-tagValue('Note/id')? http://manual.cakephp.org/chapter/helpers HTH olivvv PHPBABY3 wrote: I know PHP and am learning CakePHP. I have installed CakePHP and obtained some files to add to it to produce a search button

Re: I Just Installed Cake and then . . .

2007-01-06 Thread Olivier Percebois-Garve
So what you want to know is that URLs are formated : controller/action/params ? PHPBABY3 wrote: Olivier Percebois-Garve wrote: use the formTag() like ?php echo $html-formTag('/notes/edit/' . $html-tagValue('Note/id')? http://manual.cakephp.org/chapter/helpers 1. Aren't you missing

Re: Help - How do I Use CakePHP?

2006-12-29 Thread Olivier Percebois-Garve
http://www.cakefoundation.org/pages/services PHPBABY3 wrote: I have been using PHP for a few years part-time. Now I have to use CakePHP. Where is is the best documentation? Could someone walk me through it or something? We can make this a business relationship if you are a business. Reply

Vocabulary question : What's the name of a MVC object

2006-12-26 Thread Olivier Percebois-Garve
Hi We know what a Model is, or a Controller, or a View. For the three together however, I'm not sure. I'm saying Object or MVC Object but its quite vague and not really correct. What do you use fore that ? olivvv --~--~-~--~~~---~--~~ You received this

Re: Vocabulary question : What's the name of a MVC object

2006-12-26 Thread Olivier Percebois-Garve
is a software pattern. On 12/26/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: We know what a Model is, or a Controller, or a View. For the three together however, I'm not sure. I'm saying Object or MVC Object but its quite vague and not really correct

Re: Vocabulary question : What's the name of a MVC object

2006-12-26 Thread Olivier Percebois-Garve
And those three tiers are a MVC element, that's right ? gwoo wrote: I like to call them tiers. The Model tier handles data, Controller tier handles business logic, and the View tier displays the data to the user. Refer to the Cake logo, it has three tiers.

Re: Update on translations.

2006-12-24 Thread Olivier Percebois-Garve
You'll receive the french version pretty soon I think, we are debating some points and then Bruno Baudry should send you the file. Larry E. Masters aka PhpNut wrote: Below is a list of the files we currently have and need translated still. core.po files need to be translated: Danish

Re: how would you scale a cake app?

2006-12-24 Thread Olivier Percebois-Garve
A simple way to let a webapp scale is to moved session's and db's data to cookies as much as possible. olivvv Nimrod A. Abing wrote: On 12/24/06, keymaster [EMAIL PROTECTED] wrote: .. just dreaming, but.. If one wanted to use cake to build an app which is scalable to the extreme, ie.

Re: Slightly naughty but is it an acceptable way of doing things?

2006-11-14 Thread Olivier Percebois-Garve
By using phpThumb you could simplify your application logic and abstract image size to the views. olivvv TWIOF wrote: HI Everyone, I've been making an images system for my site. There are various types of image (e.g. thumb nails and illustrations). As far as the models go an article might

Re: Why so slow???

2006-11-09 Thread Olivier Percebois-Garve
Hi. I also use gmail and never experienced such trouble. Keep in mind that are not receiving the email that you are sending, but the answers. Olivvv [EMAIL PROTECTED] wrote: Why does it sometimes take 12+ hours for a post to show up in a discussion? And other times (rarely) it shows up

Re: CakePHP 1.1.9.3815 Frozen Cake

2006-11-03 Thread Olivier Percebois-Garve
And Fabio Cevasco's book on cakephp is also out !Did I missed the announcement ? Is there a pitch on what is inside ?On 11/3/06, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote:We're excited to see so many people enjoying Cake. To show our appreciation, we are releasing CakePHP 1.1.9.3815[1]

Re: Nested categories controller and routing

2006-10-31 Thread Olivier Percebois-Garve
hi -routes are like Controller/Action/Param/Param -the 'index' is the default action Take your 'Categories' structure and name it articles, so that the route will be domain.ext/ then use the index() method. feed it with you article name's and convert them to id to do your article management.

Re: jQuery users

2006-10-03 Thread Olivier Percebois-Garve
Yeah Jquery is good. Powerful and really easy to use. To use it in cake , the head helper is perfect. Troy Schmidt wrote: Okay. I am eating my big old bowl of crow right now. I believe I may be a jQuery convert. I am doing a project right now where I will be working with BakeSale which

Re: jQuery users

2006-10-03 Thread Olivier Percebois-Garve
also search for resig on this page : http://irc.cakephp.org/cakephp/viewlog/2006-08-25 Troy Schmidt wrote: Okay. I am eating my big old bowl of crow right now. I believe I may be a jQuery convert. I am doing a project right now where I will be working with BakeSale which use jQuery.

Re: Image Processing

2006-09-22 Thread Olivier Percebois-Garve
What kind of processing do you want to do ?There is a script on sourceforge that I like a lot, it is named phpThumb, you may give it a tryOn 9/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I wanted to get some advice on the best logic to process images via awebsite.Various hosts and their

Re: Bakehouse anybody ??

2006-09-20 Thread Olivier Percebois-Garve
Hi. I'd love to heard about the future of bake. Not when but what, having an idea of the direction. I loved rdbakery, which was quite web developer-friendly rather than sysadmin-friendly like bake. One thing I hope on, is to have the possibility to add our own code templates to the default

Re: Multiple File upload Flash

2006-09-18 Thread Olivier Percebois-Garve
I use the following code to upload images. I madethe images file mandatory, so save() is invalidated if there is no images. I choose to store them in a directory named after the object's id. I dunno on what to extend the explanation, please tell. You'll find the file in

Re: Problem with FCKEditor

2006-09-09 Thread Olivier Percebois-Garve
This is probably not directly cake related, but raher some param must be wrong. What method r u using ? Did you see my post on fck ?: http://groups.google.com/group/cake-php/browse_thread/thread/de6ecd314cb7597/22aa22e717f6e456?lnk=gstq=fckrnum=3#22aa22e717f6e456 [EMAIL PROTECTED] wrote: Hi,

Re: multiple controllers on 1 page

2006-09-07 Thread Olivier Percebois-Garve
Hi I think requestAction is made for that. To avoid a method to be accessed, just use _ as prefix e.g : function _blabla(){ //blabla } Are u american ? Isn't your lastname difficult to live with there? Brian French wrote: Im still in the process of wrapping my head around the MVC. I

Re: multiple controllers on 1 page

2006-09-07 Thread Olivier Percebois-Garve
Olivier Percebois-Garve wrote: Hi I think requestAction is made for that. To avoid a method to be accessed, just use "_" as prefix e.g : function _blabla(){ //blabla } Are u american ? Isn't your lastname difficult to live with there? Brian French wrote:

Re: Cake Errors I'm getting with

2006-09-06 Thread Olivier Percebois-Garve
sounds like cake cannot write in the tmp folder. try to chmod it. olivvv Tony wrote: Hey guys, I'm using CakePHP and I'm getting a few errors. I'm going through the blog tutorial and this is what is happening: Warning:

Re: Image uploading in FCKeditor?

2006-09-02 Thread Olivier Percebois-Garve
did you looked at that ? http://groups.google.fr/group/cake-php/browse_thread/thread/de6ecd314cb7597/22aa22e717f6e456?lnk=gstq=fckrnum=2#22aa22e717f6e456 [EMAIL PROTECTED] wrote: Does anyone have image uploading working with FCKeditor 2.3.1 and CakePHP 1.1.7.3363? I followed the tutorial

Re: NON-CAKE files within cakephp framework.

2006-09-02 Thread Olivier Percebois-Garve
1. use the page controller. 2.use elements or in the layout file. 3.use the page controller. 4. Dunno what NON-CAKE files are but again, just use the page controller. olivvv globalnomad wrote: please help me with these newbie questions: 1) do I have to have a default.thtml for my entire

Re: Image uploading in FCKeditor?

2006-09-02 Thread Olivier Percebois-Garve
Glad that you got it working. but I cant tell anything about your question... sorry [EMAIL PROTECTED] wrote: Hi Olivier - I followed your instructions in your other post and I did get it to work. Do you know why it works if you use app/webroot/files/fck as the upload directory, but it

Re: Video file Uploading

2006-08-28 Thread Olivier Percebois-Garve
http://www.raditha.com/php/progress.php poorna wrote: hi all, Can any body guide me please how to upload video files using php and how to maintain it? Is there any thing diffrent way to upload a video files? Regards, poorna

Re: UML Design to Cake PHP

2006-08-26 Thread Olivier Percebois-Garve
k. look at your diagramm. Start with the relations between your objects. For each object a model. Then translate each relation into cake's hasOne, hasMany, BelongsTo, HABTM. Then take the methods in your diagramm and translate them into controller's methods, and give them the appropriate

In-build way for validation of files ?

2006-08-26 Thread Olivier Percebois-Garve
Hi Is there an in-build way (in the model) to get validation to work on files (they do not correspond to a db field)? olivvv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: RdBaker Works with Latest Cake Release?

2006-08-24 Thread Olivier Percebois-Garve
Well bake is not that horrible to use ;)Harald has written an article explaining how to use it on his blog.Basically go thru the DOS to your directory where php.exe is.Then do php.exe ..\..\path\to\the\bake\script\bake.php If you are still going for #4, you may help yourself by looking at the

Re: Not following the conventions

2006-08-24 Thread Olivier Percebois-Garve
If your only concern is the links, you may attack your problem with the routes. olivvv eDevil wrote: Hi, I'm trying something different here by not following the conventions because of my very complex requirements. Here's how I want it to work: app/controllers/publisher_controller.php

Re: Signup form probem...URGENT

2006-08-23 Thread Olivier Percebois-Garve
Search cake world for HABTM (it is the name of the relation you are willing to build : Has And Belong To Many) milicic.marko wrote: Hi Bakers, I'm trying to put together simple Signup page. I have member model with userinfo fields like Firstname, lastname, username, password, email etc.

Re: selected items in HABTM multiple select

2006-08-07 Thread Olivier Percebois-Garve
You're definitely right. thanks a lot. I should think about it every time I see something recurrent in my code. Jon Bennett wrote: Any thoughts ?? how about adding this function to your app_controller.php function getSelectedItems ($data) { $return = array(); foreach

selected items in HABTM multiple select

2006-07-31 Thread Olivier Percebois-Garve
Is there an elegant way to build the list of selected items to feed the $html-selectTag() in a HABTM relation ??I ended with for instance: $materials_selected_designations = array(); for($i=0; $i sizeof($this-params['data']['Material']); $i++){

Re: Running HTML files through index.php

2006-07-28 Thread Olivier Percebois-Garve
I think you don't need to mess with .htaccess I'm also integrating html files on the fly in my little engine and the method is just big like that : function view($id = "") { $filecontent = ""; if ($id != ""){ $uploaddir = APP . WEBROOT_DIR . DS . 'files' . DS . 'categories'. DS .

Re: FCK eventually sorted out - For AD7Six (and those interested)

2006-07-25 Thread Olivier Percebois-Garve
Hi langdon it should work. Maybe you are being tricked by the iframe ? Langdon Stevenson wrote: Hi Nate Even if you don't use Cake conventions for the textarea field, the data will still show up in $this-params['form'] in the controller. Sorry, I wasn't clear. The

Re: How do Models work in Cake

2006-07-11 Thread Olivier Percebois-Garve
To me "Hierarchical Model View Controler pattern." makes sense. I understand (some) database logic (so objects, ORM etc...) but when I think of a website I think with page-logic (so hierarchy, tree, etc). That's the reason why I made Chameleon, and I guess Ocean had similar motivations for

Re: Query on a Tree table (id+parent_id)

2006-07-09 Thread Olivier Percebois-Garve
Hi, I have written a little tree handling code on cake (without findAllThreaded). https://cakeforge.org/plugins/scmsvn/viewcvs.php/trunk/cameleon/?root=cameleon In the model there is a function get_childnodes($id = ) that does what you need.

Re: multiple views in one page?

2006-07-02 Thread Olivier Percebois-Garve
Use RequestAction(). for instance let's say you have controller Registration with method edit($step) and you want the output of controller User method listening($cat_id) you use to call the adress registration/edit/1 transform edit($step) in edit($step, cat_id) inside the method use

Re: Implemented OthAuth

2006-07-01 Thread Olivier Percebois-Garve
Hi crazylegs, you don't have to worry, I think it's kinda normal at this step to have some little glitches. >From what I saw from the code, othAuth is cool piece of software. >From month to month I see the cake members and the cake-based code making giant steps, so I'm confident we will

Re: Are there performance overheads to RequestAction?

2006-06-30 Thread Olivier Percebois-Garve
I'm also dreaming of a $this-isCalledByRequestAction I made a ticket for this https://trac.cakephp.org/ticket/1013 olivvv Gonçalo Marrafa wrote: Hi. This thread is being very enlightening. I have a question though: doesn't an action always render a view (unless $autoRender is set to

Re: Implemented OthAuth

2006-06-30 Thread Olivier Percebois-Garve
Wow. I see that there is more and more othAuth users. I've two issues I'm not sure how to tackle. Just wanna to know if some peoples are sharing the same concerns (and if crazylegs thought about that for the new version) 1.Sometimes I hit the login page while its seems that I am already

Re: AJAX Form builder

2006-06-30 Thread Olivier Percebois-Garve
maybe this will interest you: http://partridge.wordpress.com/ perhaps you would gain at working together. sicapitan wrote: Who wants to develop an AJAX form builder in Cake? :) --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Implemented OthAuth

2006-06-30 Thread Olivier Percebois-Garve
. On 6/30/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Wow. I see that there is more and more othAuth users. I've two issues I'm not sure how to tackle. Just wanna to know if some peoples are sharing the same concerns (and if crazylegs thought about that for the new version

Re: Implemented OthAuth

2006-06-30 Thread Olivier Percebois-Garve
('auth_msg', $this-othAuth-getMsg($auth_num)); } } function logout() { $this-othAuth-logout(); $this-flash('You are not logged in!','/users/login'); } } ? On 6/30/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: can you paste your code ? (in cakebin for instance) Ry

Re: Implemented OthAuth

2006-06-30 Thread Olivier Percebois-Garve
redirected back to the login page again after Iogin. the pathe before login looks like: http://localhost/users/login when redirected back to the login page it is: http://localhost/users/login/login Any ideas? On 6/30/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote

Re: homepage controller = info from other controllers

2006-06-29 Thread Olivier Percebois-Garve
It seems that often such question remains quite unanswered, I guess because there are several ways. To me the magic is in requestAction(). If you have things you want to have on every page, then you can use it in the layout file. Sergei wrote: Hello, I just started to learn Cake and I have

Re: Are there performance overheads to RequestAction?

2006-06-29 Thread Olivier Percebois-Garve
Hi felix " My advice to people who are concerned about performance, is to think about what they are using requestAction for right now, and to try to figure out if some of it should be moved to the AppController. This will always be the better and faster solution if you have something like a

Re: Are there performance overheads to RequestAction?

2006-06-29 Thread Olivier Percebois-Garve
very useful explanations felix and gwoo. Thanks a lot, I'll sleep less stupid tonight. gwoo wrote: There are a couple of things to keep in mind in this discussion. First, if you use full page caching putting a requestAction in and element that called a menu controller would be better.

Re: Design an hirearchy?

2006-06-28 Thread Olivier Percebois-Garve
Using prototype or the stripped down version in moo.fx, you could do : document.getElementsByClassName('objective').each( function(element){ element.onclick = function() { //you code } } }

Re: Setting rdBloggery

2006-06-23 Thread Olivier Percebois-Garve
Hi rdbloggery is developed by gwoo (and others) so you may ask them first on the project mailing list http://cakeforge.org/mail/?group_id=13 or on IRC where they often are. olivvv [EMAIL PROTECTED] wrote: No reply ?? :( --~--~-~--~~~---~--~~

Re: Spam Security component

2006-06-21 Thread Olivier Percebois-Garve
ne out of it ; ). Best Regards, Felix Geisendörfer -- http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb: I'm not specialist of this but the usual "brutal" anti-bot approach is the captcha. If there is

Re: Selling CakePHP apps - license changes?

2006-06-21 Thread Olivier Percebois-Garve
Westen" enough? Since we're freelancers, a lawyer is way outside of our budget. Olivier Percebois-Garve wrote: Better sell expertise, set up, adaptation, customization of code, rather than code itself. Your first point sounds as if we're selling the code for code's sake :) We

Re: Understanding

2006-06-20 Thread Olivier Percebois-Garve
Usually in your view file corresponding to the form you'll have something like: ?php echo $html-hidden('Post/id'); ? So the method knows what is the right id. If you wanna to change it u can use $this-Model-id = $someintegervalue; Does this answer your question ? olivvv [EMAIL PROTECTED]

Re: Never used a framework - interested in cake

2006-06-20 Thread Olivier Percebois-Garve
Ohh Luke, this is the kind of thread we do like :-) IMHO, cake is much much more mature than zend framework. Most of what is in Zend framework (components) you can get it in cake. With cake you get an implementation of ActiveRecords which is I think now bug-free. You get the database

Re: FCK eventually sorted out - For AD7Six (and those interested)

2006-06-20 Thread Olivier Percebois-Garve
Did you got file upload running in xinha ? Another one very promising is solometra. jeko wrote: I haven't used FCKeditor, but a great trick for preventing js/css files from caching is to throw a query string on the end of it. ex: script language=javascript

Re: Problems upgrading form 1.0 to 1.1

2006-06-19 Thread Olivier Percebois-Garve
Not sure but myabe you've to replace the old dispatcher with the new one. Víctor Berga wrote: Hi to all, I've upgraded my cake app from cake's version 1.0 to 1.1 and returns the next error message: Notice: Undefined index: action in /Applications/MAMP/htdocs/cake/cake/dispatcher.php

Re: Problems upgrading form 1.0 to 1.1

2006-06-19 Thread Olivier Percebois-Garve
Sorry typo. I meant bootstrap. Víctor Berga wrote: Hi to all, I've upgraded my cake app from cake's version 1.0 to 1.1 and returns the next error message: Notice: Undefined index: action in /Applications/MAMP/htdocs/cake/cake/dispatcher.php on line 142 Please help me! Thanks,

Re: Problems upgrading form 1.0 to 1.1

2006-06-19 Thread Olivier Percebois-Garve
Yeah. To conclude, a file should be replaced. :-) RosSoft wrote: if not works, try replacing /index.php, /app/index.php , /app/webroot/index.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Moo.fx problems

2006-06-18 Thread Olivier Percebois-Garve
Put var $helpers = array('Javascript'); in your app_controller.php Also make sure the moo.fx files are at the right place. Moo.fx is cool. Have fun. martin wrote: I'm just getting started with JavaScript and I really like the moo.fx accordion effect, but I'm having some problems getting moo.fx

Re: Moo.fx problems

2006-06-18 Thread Olivier Percebois-Garve
to see it included in a future release of CakePHP ? Olivier Percebois-Garve wrote: May I advice you the excellent Head Helper made by rossoft ? http://rossoft.wordpress.com/2006/03/28/register-head-tags-from-helpers-2/ By using it, you'll be able to call your _javascript_ files in your views

Re: {Seeking} Overview for Dummies

2006-06-17 Thread Olivier Percebois-Garve
I think it would be good to have such representation. It took me a long time to see the big picture of how cake is functioning, and there is still a lot of unclear thing. The link of Nate is cool but I'm not sure how it help newbies: Look at the step 3 where the controller is. honestly you've

Re: {Seeking} Overview for Dummies

2006-06-17 Thread Olivier Percebois-Garve
/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: I think it would be good to have such representation. It took me a long time to see the big picture of how cake is functioning, and there is still a lot of unclear thing. The link of Nate is cool but I'm not sure how it help

Re: Cake Tutorial: Books Title Example (With hasOne)

2006-06-17 Thread Olivier Percebois-Garve
If you have "errors" that are disappearing by switching debug from 2 to 0, then its not errors it is notices or warnings. AD7six wrote: jeannie109 wrote: The tutorial seems to work ok even with the error message. I did find out that if I change the debug to 0 instead of 2, it

Re: Use another view

2006-06-17 Thread Olivier Percebois-Garve
Hi See http://manual.cakephp.org/chapter/7 for Interacting with your Views - render() if you want to request in another controller use requestAction(). You might be confusing the MVC structure: There is function in the model and controller files, but not in the views (normally). Olivvv

Cakebased bot ?

2006-06-16 Thread Olivier Percebois-Garve
Hi I got a proposal for a job and I'm trying to figure out how difficult it is and how long it would take. The job is to make a bot that connects to an external url, logs in, catch somewhere on the page the number in front of the string treffer, save it and then start again with another url.

Re: Cakebased bot ?

2006-06-16 Thread Olivier Percebois-Garve
Both links very interesting. :-) 100rk wrote: Just some links for You (if You didn't see them before): - bot for cake IRC log : http://irc.cakephp.org/pages/source - Http Client Class from ros-soft: http://rossoft.wordpress.com/2006/06/09/http-client-class/

Re: With a new release of Cake, comes new release notes - lets make them more useful - with Greasemonkey

2006-06-15 Thread Olivier Percebois-Garve
convenient. thanks. Alister Bulman wrote: Hi, Lots of things annoy me - it's too hot and I don't have AirCon in my office, I'm not paid enough for all this s***, and there so much more that I can't control. One thing that used to mildly peeve me was CakePHP release notes, like the latest

Could the RequestHandler recognized the requestAction ?

2006-06-15 Thread Olivier Percebois-Garve
Hi I'm an heavy user of requestAction. When I'm in the requested method, I'd like to know that this is being run by a requestAction and also the method where it is originating from. I thought about an extension of the Requesthandler but there is maybe already a way. Somebody has a idea on this

Application design : How do you tie your objects in your GUI ?

2006-06-15 Thread Olivier Percebois-Garve
Hi Yeah its a noob question. How do you tie your objects in your GUI ? How to you get on the same page for instance a menu, an article, and user-specific information ? Maybe I missed something in Cake but my only way to do this is to use requestAction. I'm not sure how to scale if I have more

Re: Could the RequestHandler recognized the requestAction ?

2006-06-15 Thread Olivier Percebois-Garve
Done. thank for confirming its not-too-bad idea. RosSoft wrote: With little modification in object class, and dispatcher class, a new variable ($this-requested_by ? ) can be set at the requested controller. If you really want this, post a ticket at trac

Re: Application design : How do you tie your objects in your GUI ?

2006-06-15 Thread Olivier Percebois-Garve
doh ! Didn't knew that something like that was possible. great ! gwoo wrote: Sounds like you should use elements. Put the requestAction calls in the elements. Add the elements in the places you need them. --~--~-~--~~~---~--~~ You received this

Re: Self Joining Model

2006-06-15 Thread Olivier Percebois-Garve
How do you use the array returned by $this-Model-findAllThreaded() ? DJ Spark wrote: I use this in my Gallery Model: var $hasMany = array( 'Galleries' = array( 'className' = 'Gallery', 'order' = 'Galleries.ord ASC', 'foreignKey' = 'parent_id')); var $belongsTo = array(

Re: Self Joining Model

2006-06-15 Thread Olivier Percebois-Garve
, you make the function call itself with the children array as a parameter, if not, you put in your code to display/modify/do stuff with the items themselfs ... -- http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb

Re: form on one page submits to another model - validation to show on original page?

2006-06-14 Thread Olivier Percebois-Garve
I use $this-set('editorcontent', $this-requestAction('/bare/editorcontents/showedit/'.$id, array('return' = true))); to get in a form of the edit of CategoriesController the 'display' part of the edit in the EditorContents controller. (So in the case if(empty($this-params['data'])) in the

Cameleon preview

2006-06-10 Thread Olivier Percebois-Garve
For those who are bored, I've released a alpha preview package of Cameleon - the tiny tree-based CMS. http://cakeforge.org/projects/cameleon/ The application seems to have reached some stability, even if a lot of things are missing or need to be completed. It is not-at-all-production-ready.

Re: Cameleon preview

2006-06-10 Thread Olivier Percebois-Garve
Yep I really like it. I spotted a few glitches in Cameleon I'll put up some bug fixes this night or tomorrow morning. If you've some comment on general design of the code, feel free... RosSoft wrote: Cool, you're using HeadHelper :)

Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
Hi I've that little annoying issue: usually the url is : 1)controller/action/params but can be: 2)controller/action in my javascript I play with images url(../../img/myfolder/myimage.png); no problem in cas 1) but in case 2) it will be broken. How do you handle such things ? thanks olivvv

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
? Yes, it would. I renamed it and I get a "Missing Controller" ?? -- http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb: Hi Felix  my img path is my js code not html... " You could also r

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
rls will be "/absolute/path/index.php/relative/url/pic.gif", which won't work... any thoughts about it ? On 6/9/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Hi Felix my img path is my js code not html... " You could also rename your js file to php to execu

Re: ACL and AUTH

2006-06-06 Thread Olivier Percebois-Garve
As usual on such thread I put my 50 cent for othAuth which is really easy to use. Olivvv HW wrote: Hi, I was curious why there is no AUTH setup or easy method of implementing it in CakePHP. CakePHP seems to be based loosley upon Ruby on Rails and they have the ability to easily

  1   2   >