1 answer
0 votes
Is it better to run a product import (1000's of products) directly via a cron_dispatcher.php or through the shell?
For periodically updating records, which one is the better way to go, or does it even matter?
1 answer
0 votes
Fat model/skinny controller, but I need a component
Hello,
I'm a newbie to CakePHP, and in fact to oop PHP, so please forgive me if this is a silly question.
I've read a lot about fat model/skinny controller as a best practise, and it makes sense to me, so I'd like to move some things from my...
0 answers
0 votes
adding css via @import
I know I can add css links with $html-css(), but how do I @import css files when I use a layout?
I have a number of css files in my default layout, to which I want to add page specific css files. The order of the css files is important, so I want...
1 answer
0 votes
how to object-oriented programming ?
Hello.
I have a class Trees.
class TreesController extends AppController {
function index(){}
function add(){}
function edit{}
function moveup(){}
function movedown(){}
function delete(){}
}
I would like to use it many times in other controllers.
How can I...