[jifty-devel] 2 questions : Login & mysql2jifty

Jesse Vincent jesse at bestpractical.com
Wed Jan 23 10:03:03 EST 2008




> 
> I try to do a special blog and i read the plugin "login" doesn't work.
> >http://jifty.org/view/GettingStarted
> It's alawys true ? (because i saw this message one year ago)
> Do you use another plugin for jifty.org ?

I'd recommend using the ::User and ::Authentication::Password plugins
instead




> I try also to use a existing mysql database.
> Is it possible to have directly model from the description of my database ?

That's what jifty does.

run "jifty schema --print" after setting up your models.


> By sample I have this table
> >CREATE TABLE  `jdb2`.`evenements` (
> >  `id` int(10) unsigned NOT NULL auto_increment,
> >  `formateur` text,
> >  `evenement` text,
> >  `stagiaire` text,
> >  `formation` varchar(45) default NULL,
> >  `date` date NOT NULL default '0000-00-00',
> >  `sujet` varchar(45) NOT NULL default '',
> >  PRIMARY KEY  (`id`)
> >) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Liste des événements';
> 
> and i write "jifty model --name evenement --mysql2jifty
> 
> to have a evenement.pm with
> 
> > column formateur =>
> >      type is 'varchar(45)';
> > [...]
> 
> thank.
> 
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> 

-- 


More information about the jifty-devel mailing list