Hello Michael, All it's clear for Code completion now and I will search the better method to get this completion in Eclipse PDT, whitout surcharging files.
Otherwise my question about "Helpers/Components" loading is not about the Code completion but about Cake himself! Because of sentence in your post at 16 november: "Now here we have the problem that the stuff in these arrays is actually loaded." But it does not matter, I will baking again and again to understand very well, how to make a good cooking ;o)) Thank's again for your sympathy! Aurélien On 21 nov, 18:16, schneimi <[EMAIL PROTECTED]> wrote: > Hi Aurélien, > > > Hi Michael and thank you very much for your baking advice! > > You're very welcome! > > > For a small application like yours, obviously it's nice to write all > > PHPDoc comments for Models in AppController and more nice if nothing > > is loading! > > But in my case, the application is big and we are 4 developpers to > > code... so I think it's not good to surcharge the AppController file > > with many PHPDocs comments. > > Because the file will become unreadable and because we don't know all > > the models we are using or we will use along the application's life. > > (Sorry, I'm not sure this sentence is clear?!) > > I agree, it's not nice to have that code in the AppController, but > it's at least one central place where you can put it, update it and if > you want, remove it before delivering. You can also put it in the root > Controller-Class so it will not appear directly in your application, > but you will always have to update that code along the development. > > > Otherwise, why Helpers/Components are loaded and Models are not? > > Helpers aren't loaded either (Components are treated like Models), in > this case it's code that is even never executed (because of the > exit()). So both times it's pretty much nothing but useless code to > get eclipse doing thecompletion. > > The difference is that one time you want thecompletionon certain > class-variables ($this->...), the other time you want to have thecompletionin > your views on basically undefined variables. > > Happy baking, > > Michael > > avairet schrieb: > > > Hi Michael and thank you very much for your baking advice! > > > For a small application like yours, obviously it's nice to write all > > PHPDoc comments for Models in AppController and more nice if nothing > > is loading! > > But in my case, the application is big and we are 4 developpers to > > code... so I think it's not good to surcharge the AppController file > > with many PHPDocs comments. > > Because the file will become unreadable and because we don't know all > > the models we are using or we will use along the application's life. > > (Sorry, I'm not sure this sentence is clear?!) > > > Otherwise, why Helpers/Components are loaded and Models are not? > > > Bye, > > > Aur�lien --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---