Hello all,
I've download fresh CakePHP 2.1 and try to make multiple database
connections. Here are my configuration :
Config/default.php :
?php
class DATABASE_CONFIG {
public $default = array(
'datasource' = 'Database/Mysql',
'persistent' = false,
with horizontal :D
Sorry for that.
Well, after the smoke cleared, i must say: Sounds interesting :)
On Sep 22, 9:42 pm, Yodi Aditya [EMAIL PROTECTED] wrote:
Can you give some reason why vertical database is bad and horrible?
This is one of many ebook i have read before (in attachment
on you. You will lose many of the
features that make Cake an attractive choice for development (ie. Auth
component, ACL, etc.), but implementing an EAV DB design is
nonetheless possible.
Just don't ask me to do it.
-J.
On Sep 22, 3:42 pm, Yodi Aditya [EMAIL PROTECTED] wrote:
Can you give
say
this
in the documentation.
On Sep 20, 11:42 am, Yodi Aditya [EMAIL PROTECTED] wrote:
Try using :
function beforeFilter() {
$this-Cookie-time = '5 Days';
$this-Cookie-path = '/';
}
On 9/20/08, Kenchu [EMAIL PROTECTED] wrote
I have reading about vertical database (column-store) on google last night.
it seem interesting method.
Is anybody using vertical database with CakePHP?
Is vertical database good for designing some application using cakePHP?
if someone has vertical database using cakePHP, please let me know..
Try using :
function beforeFilter() {
$this-Cookie-time = '5 Days';
$this-Cookie-path = '/';
}
On 9/20/08, Kenchu [EMAIL PROTECTED] wrote:
I've managed to get cookies working for the session, but if I restart
my browser, the cookies seem to be gone, and $cookieTime doesn't seem
to do
',
'78bc27f1b49f17f5c3392e728f789bad78dbeb77');
Okto.Silaban.Net
On Wed, Sep 10, 2008 at 12:31 AM, Yodi Aditya [EMAIL PROTECTED] wrote:
I have some users table with 2 value , email and password (hash with
sha1).
Then i using auth component to make login form.
To make sure, that auth
On 11 Sep 2008, at 15:36, Yodi Aditya wrote:
Hey, dude.
Thanks, that's right sha1 is default hashing in auth component.
i just convience that using correct hashing sha1 in my controller
using
beforeFilter().
But,
I say before, security.salt needed not only for Auth but hashing
I have some users table with 2 value , email and password (hash with sha1).
Then i using auth component to make login form.
To make sure, that auth will using sha1 when hashing password, i'm using :
Security::setHash('sha1'); in beforeFilter().
Problem happen when Auth hashing password from
Try using :
$this-Auth-loginRedirect = array('controller'='users',
'action'='profile');
on beforeFilter()
then
function login() {
$this-redirect($this-Auth-redirect());
}
Yodiaditya - http://re.web.id
On 9/9/08, Tony Thomas [EMAIL PROTECTED] wrote:
If someone is familiar with a post to this
I'm try using netbeans 6.5 beta before. But, know back again to eclipse.
if netbeans 6.5 have good feature like eclipse, maybe i'll try again :D
On 9/7/08, Okto Silaban [EMAIL PROTECTED] wrote:
I've been using Netbeans PHP from the first time playing with CakePHP..
Of course i'll vote..
use date function. in controller.
for example, date('Y-m-d H:i:s')
On 9/8/08, shabba [EMAIL PROTECTED] wrote:
How do you set the default formatting for date. Its set to m-d-y as
default, this is great, but when you need user interaction and the
standard is d-m-Y. Its really not practical to
('Tag.name','Vendor.name'),
'fields'=array('name')));
Yodi Aditya wrote:
Hello,
I have some problem with containable Behavior. I have 3 model Item,
Tag and Vendor.
This is the models :
class Item extends AppModel {
var $name = 'item';
var $belongsTo = array('Vendor
I'm newbie. I'm using cake bake console . Then the problem is when using
command *cake bake controller Types*
then the output :
?php
class TypesController extends AppController {
var $name = 'Types';
var $scaffold;
}
?
but if using command *cake bake controller Types scaffold* then the
14 matches
Mail list logo