Voici le topic qui va servir à définir le futur modèle de données de Moteurprog. Inutile de faire de longs discours pour rien alors je vais commencer par lister les classes nécessaires :
membres
niveaux d'administration
membres connectés
news
arborescence du forum
posts du forum
Et puis... Vu que je sens que j'écrit n'importe quoi, je m'arrête là. Faîtes vos propositions et je complèterais au fur et à mesure ce topic.
__________________________ Mon Portfolio :http://www.fabienrenaud.com Vacances Scolaires :http://fr.dates-vacances-scolaires.com
C'est plus une liste des fonctionnalités ça non ? :)
Chose qu'il faut faire avant de faire le modèle...
On liste nos besoin et fonctionnalités souhaitées.
Ensuite on les regroupes, ça nous donnera à peu près nos classes.
Là on pourra établir le modèle.
__________________________ Support Web-5 Conference !
CREATE TABLE IF NOT EXISTS `annuaire` (
`id` int(4) NOT NULL auto_increment,
`titre` varchar(40) default NULL,
`url` varchar(100) default NULL,
`description` varchar(200) default NULL,
`mots` varchar(150) default NULL,
`categorie_1` int(3) NOT NULL,
`categorie_2` int(3) NOT NULL,
`categorie_3` int(3) NOT NULL,
`tag_1` int(3) NOT NULL,
`tag_2` int(3) NOT NULL,
`tag_3` int(3) NOT NULL,
`click` mediumint(5) NOT NULL default '0',
`langue` tinyint(2) NOT NULL default '0',
`pertinence` int(2) NOT NULL default '10',
`vote` int(4) NOT NULL default '0',
`IP` varchar(50) NOT NULL default '',
`valid` varchar(5) NOT NULL default '1',
`ID_Membre` int(6) NOT NULL,
`Point` int(5) NOT NULL default '0',
`Inscription` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1577 ;
-- --------------------------------------------------------
--
-- Structure de la table `articles`
--
CREATE TABLE IF NOT EXISTS `articles` (
`ID` int(11) NOT NULL auto_increment,
`Titre` varchar(40) NOT NULL default '',
`Description` varchar(200) NOT NULL,
`categorie_1` int(8) NOT NULL,
`categorie_2` int(8) NOT NULL,
`Tag_1` int(8) NOT NULL,
`Tag_2` int(8) NOT NULL,
`icone` varchar(100) NOT NULL default '',
`Date` date default NULL,
`ID_membre` int(8) NOT NULL,
`valid` int(1) NOT NULL default '0',
`click` mediumint(6) NOT NULL default '0',
`nb_page` int(4) NOT NULL default '1',
`Pertinence` int(2) NOT NULL default '10',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=56 ;
-- --------------------------------------------------------
--
-- Structure de la table `articles_com`
--
CREATE TABLE IF NOT EXISTS `articles_com` (
`ID` bigint(20) NOT NULL auto_increment,
`ID_article` bigint(20) NOT NULL default '0',
`date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`ID_membre` int(8) NOT NULL,
`texte` longtext NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=33 ;
-- --------------------------------------------------------
--
-- Structure de la table `categorie`
--
CREATE TABLE IF NOT EXISTS `categorie` (
`ID` int(5) NOT NULL auto_increment,
`Libelle` varchar(50) NOT NULL,
`id_parent` int(4) NOT NULL default '0',
`Nb_Clicks` int(5) NOT NULL default '0',
`Definition` mediumtext NOT NULL,
`droit` mediumint(1) NOT NULL default '0',
`Position` int(11) NOT NULL default '0',
`Icone` varchar(50) NOT NULL default '',
`NEWS` int(1) NOT NULL default '1',
`ANNUAIRE` int(1) NOT NULL default '1',
`PROJET` int(1) NOT NULL default '1',
`ARTICLES` int(1) NOT NULL default '1',
`FORUM` int(1) NOT NULL default '1',
`TUTORIAUX` int(1) NOT NULL default '1',
PRIMARY KEY (`ID`,`Libelle`),
KEY `id_parent` (`id_parent`),
KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=196 ;
-- --------------------------------------------------------
--
-- Structure de la table `categorie_faq`
--
CREATE TABLE IF NOT EXISTS `categorie_faq` (
`ID` int(11) NOT NULL auto_increment,
`Libelle` varchar(80) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=48 ;
-- --------------------------------------------------------
--
-- Structure de la table `categorie_ss`
--
CREATE TABLE IF NOT EXISTS `categorie_ss` (
`ID` int(5) NOT NULL auto_increment,
`Libelle` varchar(12) NOT NULL default '',
PRIMARY KEY (`Libelle`),
KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=285 ;
-- --------------------------------------------------------
--
-- Structure de la table `categorie_use_ss`
--
CREATE TABLE IF NOT EXISTS `categorie_use_ss` (
`ID` int(5) NOT NULL auto_increment,
`ID_categorie_ss` int(6) NOT NULL default '0',
`ID_categorie` int(6) NOT NULL default '0',
PRIMARY KEY (`ID_categorie_ss`,`ID_categorie`),
KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=323 ;
-- --------------------------------------------------------
--
-- Structure de la table `forum_faq`
--
CREATE TABLE IF NOT EXISTS `forum_faq` (
`ID` int(5) NOT NULL auto_increment,
`Titre` varchar(90) NOT NULL,
`ID_sujet` int(10) NOT NULL default '0',
`ID_categorie` int(10) NOT NULL default '0',
`ID_ss_categorie` int(10) NOT NULL default '0',
`ID_cat_faq` int(10) NOT NULL default '0',
`ID_membre` int(10) NOT NULL default '0',
`Date` date NOT NULL default '0000-00-00',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=588 ;
-- --------------------------------------------------------
--
-- Structure de la table `forum_msg`
--
CREATE TABLE IF NOT EXISTS `forum_msg` (
`ID` int(8) NOT NULL auto_increment,
`ID_sujet` int(11) NOT NULL default '0',
`Titre` varchar(100) NOT NULL default '',
`Message` longtext NOT NULL,
`Date` datetime default NULL,
`Membre` varchar(80) NOT NULL default '',
`ID_membre` int(11) NOT NULL default '0',
`IP` varchar(20) NOT NULL,
PRIMARY KEY (`ID`),
KEY `ID_sujet` (`ID_sujet`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=155254 ;
-- --------------------------------------------------------
--
-- Structure de la table `forum_sondage`
--
CREATE TABLE IF NOT EXISTS `forum_sondage` (
`ID` int(8) unsigned NOT NULL auto_increment,
`question` varchar(255) NOT NULL,
`choix` text NOT NULL,
`topicId` int(8) unsigned NOT NULL,
`timeStart` int(13) NOT NULL,
`timeDuree` int(13) NOT NULL,
UNIQUE KEY `sondageId` (`ID`,`topicId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='les choix d''un sondage sont séparées par des <br />' AUTO_INCREMENT=68 ;
-- --------------------------------------------------------
--
-- Structure de la table `forum_sondage_votes`
--
CREATE TABLE IF NOT EXISTS `forum_sondage_votes` (
`ID` int(8) NOT NULL auto_increment,
`sondageId` int(8) NOT NULL,
`choixId` tinyint(3) NOT NULL,
`userId` int(8) NOT NULL,
UNIQUE KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=133 ;
-- --------------------------------------------------------
--
-- Structure de la table `forum_suivi_mail`
--
CREATE TABLE IF NOT EXISTS `forum_suivi_mail` (
`ID_membre` int(8) NOT NULL,
`ID_sujet` int(8) NOT NULL default '0',
`type` int(1) NOT NULL,
`date` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`ID_membre`,`ID_sujet`,`type`),
KEY `ID_topic` (`ID_sujet`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `forum_sujet`
--
CREATE TABLE IF NOT EXISTS `forum_sujet` (
`ID` int(8) NOT NULL auto_increment,
`ID_forum` int(3) NOT NULL default '0',
`Referant` int(1) NOT NULL default '0',
`Titre` varchar(100) NOT NULL default '',
`Type` int(11) NOT NULL default '0',
`Clicks` int(5) NOT NULL default '0',
`ID_ss_cat` int(8) NOT NULL,
`Membre` varchar(80) NOT NULL default '',
`Dernier_Date` datetime default NULL,
`Dernier_pseudo` varchar(80) NOT NULL default '',
`Vue` int(1) NOT NULL default '0',
`nb_msg` int(4) NOT NULL default '0',
`Date_crea` datetime NOT NULL default '0000-00-00 00:00:00',
`resolu` int(1) NOT NULL default '0',
`ID_membre` int(11) NOT NULL default '0',
`Bloquer` int(1) NOT NULL default '0',
`FAQ` int(1) NOT NULL default '0',
`valid_news` int(1) NOT NULL default '1',
`Delestage_date` date NOT NULL,
`sondage` int(1) NOT NULL default '0',
PRIMARY KEY (`ID`),
KEY `ID_forum` (`ID_forum`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=33035 ;
-- --------------------------------------------------------
--
-- Structure de la table `mail`
--
CREATE TABLE IF NOT EXISTS `mail` (
`id` int(4) NOT NULL auto_increment,
`mail` char(50) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=909 ;
-- --------------------------------------------------------
--
-- Structure de la table `membres`
--
CREATE TABLE IF NOT EXISTS `membres` (
`ID` int(8) NOT NULL auto_increment,
`pseudo` varchar(40) NOT NULL default '',
`password` varchar(20) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`AIM` varchar(50) NOT NULL default '',
`ICQ` varchar(50) NOT NULL default '',
`MSN` varchar(50) NOT NULL default '',
`YAHOO` varchar(50) NOT NULL default '',
`age` date NOT NULL,
`sexe` int(1) NOT NULL default '0',
`langage` varchar(150) NOT NULL default '',
`experience` text NOT NULL,
`dep_connect` int(1) NOT NULL default '0',
`date` date NOT NULL default '0000-00-00',
`Mail` int(1) NOT NULL default '0',
`Nb_acces` int(5) NOT NULL default '0',
`Signature` mediumtext NOT NULL,
`Avatar` varchar(50) NOT NULL default '',
`Modo_projet` int(1) NOT NULL default '0',
`WALL` int(1) NOT NULL default '1',
`Reponse_auto` int(1) NOT NULL default '1',
PRIMARY KEY (`ID`,`pseudo`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=29385 ;
-- --------------------------------------------------------
--
-- Structure de la table `messagerie`
--
CREATE TABLE IF NOT EXISTS `messagerie` (
`id` int(45) NOT NULL auto_increment,
`envoi` int(5) NOT NULL,
`reception` int(5) NOT NULL,
`suivi` int(25) NOT NULL default '0',
`sujet` varchar(255) NOT NULL default '',
`contenu` longtext NOT NULL,
`delete` tinyint(5) NOT NULL default '0',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`lu` tinyint(5) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8196 ;
-- --------------------------------------------------------
--
-- Structure de la table `moderateur`
--
CREATE TABLE IF NOT EXISTS `moderateur` (
`ID` int(11) NOT NULL auto_increment,
`ID_categorie` int(11) NOT NULL default '0',
`Num_Droit` int(11) NOT NULL default '0',
`ID_membres` int(11) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=260 ;
-- --------------------------------------------------------
--
-- Structure de la table `news`
--
CREATE TABLE IF NOT EXISTS `news` (
`ID` bigint(20) NOT NULL auto_increment,
`date` datetime default NULL,
`ID_membre` int(8) NOT NULL,
`Sujet` varchar(90) NOT NULL,
`Description` longtext NOT NULL,
`categorie_1` varchar(50) NOT NULL,
`Tag_1` int(5) NOT NULL,
`ID_sujet` int(8) NOT NULL,
`ID_message` int(8) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=399 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet`
--
CREATE TABLE IF NOT EXISTS `projet` (
`ID` int(4) NOT NULL auto_increment,
`projet` varchar(50) NOT NULL default '',
`description` varchar(255) NOT NULL default '',
`desc_forum` mediumtext NOT NULL,
`status` int(2) NOT NULL default '0',
`licence` int(2) NOT NULL default '0',
`categorie` int(4) NOT NULL default '0',
`tag` int(4) NOT NULL,
`pc` int(2) NOT NULL default '0',
`type_projet` int(4) NOT NULL,
`web` varchar(100) NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`ID_Membre` int(6) NOT NULL,
`affichage` int(5) NOT NULL default '0',
`affichage_now` int(5) NOT NULL default '0',
`valid` int(1) NOT NULL default '0',
`IndiceActivite` int(5) NOT NULL default '20',
`Niveau_upload` int(1) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=411 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_environnement`
--
CREATE TABLE IF NOT EXISTS `projet_environnement` (
`ID` int(2) NOT NULL auto_increment,
`environnement` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_etat`
--
CREATE TABLE IF NOT EXISTS `projet_etat` (
`ID` int(2) NOT NULL auto_increment,
`etat` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_fonction`
--
CREATE TABLE IF NOT EXISTS `projet_fonction` (
`ID` int(2) NOT NULL auto_increment,
`fonction` varchar(150) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_licence`
--
CREATE TABLE IF NOT EXISTS `projet_licence` (
`ID` int(2) NOT NULL auto_increment,
`licence` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_os`
--
CREATE TABLE IF NOT EXISTS `projet_os` (
`ID` int(2) NOT NULL auto_increment,
`os` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_type`
--
CREATE TABLE IF NOT EXISTS `projet_type` (
`ID` int(4) NOT NULL auto_increment,
`type` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_use_environnement`
--
CREATE TABLE IF NOT EXISTS `projet_use_environnement` (
`ID` int(4) NOT NULL auto_increment,
`ID_projet` int(4) NOT NULL default '0',
`ID_environnement` int(2) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1759 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_use_fonction`
--
CREATE TABLE IF NOT EXISTS `projet_use_fonction` (
`ID` int(2) NOT NULL auto_increment,
`fonction` int(5) NOT NULL,
`ID_Membre` int(5) NOT NULL,
`ID_projet` int(5) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=508 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_use_os`
--
CREATE TABLE IF NOT EXISTS `projet_use_os` (
`ID` int(4) NOT NULL auto_increment,
`ID_projet` int(4) NOT NULL default '0',
`ID_os` int(2) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3295 ;
-- --------------------------------------------------------
--
-- Structure de la table `projet_use_upload`
--
CREATE TABLE IF NOT EXISTS `projet_use_upload` (
`ID` int(4) NOT NULL auto_increment,
`projet` varchar(100) NOT NULL default '',
`ID_projet` int(5) NOT NULL,
`version` varchar(10) NOT NULL default '',
`infos` mediumtext NOT NULL,
`fichier` varchar(100) NOT NULL default '',
`taille` bigint(20) NOT NULL default '0',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`droit` int(1) NOT NULL default '0',
`click` int(5) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=365 ;
-- --------------------------------------------------------
--
-- Structure de la table `stats_affichage_journalier`
--
CREATE TABLE IF NOT EXISTS `stats_affichage_journalier` (
`ID` int(11) NOT NULL auto_increment,
`ID_tag` int(11) NOT NULL default '0',
`Date` date NOT NULL default '0000-00-00',
`affichage` bigint(20) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=18625 ;
-- --------------------------------------------------------
--
-- Structure de la table `stats_affichage_tag`
--
CREATE TABLE IF NOT EXISTS `stats_affichage_tag` (
`ID_tag` int(11) NOT NULL default '0',
`Lib` varchar(80) NOT NULL default '',
PRIMARY KEY (`ID_tag`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `stats_connectes`
--
CREATE TABLE IF NOT EXISTS `stats_connectes` (
`IP` varchar(50) NOT NULL,
`ID_membre` int(8) default NULL,
`dernier_tps` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `stats_journalier`
--
CREATE TABLE IF NOT EXISTS `stats_journalier` (
`date` date NOT NULL default '0000-00-00',
`compteur` int(5) NOT NULL default '0',
`Membre` int(5) NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `stats_mots_cles`
--
CREATE TABLE IF NOT EXISTS `stats_mots_cles` (
`ID` int(11) NOT NULL auto_increment,
`Recherche` varchar(120) NOT NULL,
`Date` date NOT NULL,
`Reponse` int(11) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=50310 ;
-- --------------------------------------------------------
--
-- Structure de la table `stats_statique`
--
CREATE TABLE IF NOT EXISTS `stats_statique` (
`ID` int(1) NOT NULL auto_increment,
`Visites` bigint(20) NOT NULL,
`Visites_j` int(7) NOT NULL,
`Dernier_tps` datetime NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
--
-- Structure de la table `stats_visite_heure`
--
CREATE TABLE IF NOT EXISTS `stats_visite_heure` (
`ID` int(5) NOT NULL auto_increment,
`Date_jour` date NOT NULL default '0000-00-00',
`H00` int(11) NOT NULL default '0',
`H01` int(11) NOT NULL default '0',
`H02` int(11) NOT NULL default '0',
`H03` int(11) NOT NULL default '0',
`H04` int(11) NOT NULL default '0',
`H05` int(11) NOT NULL default '0',
`H06` int(11) NOT NULL default '0',
`H07` int(11) NOT NULL default '0',
`H08` int(11) NOT NULL default '0',
`H09` int(11) NOT NULL default '0',
`H10` int(11) NOT NULL default '0',
`H11` int(11) NOT NULL default '0',
`H12` int(11) NOT NULL default '0',
`H13` int(11) NOT NULL default '0',
`H14` int(11) NOT NULL default '0',
`H15` int(11) NOT NULL default '0',
`H16` int(11) NOT NULL default '0',
`H17` int(11) NOT NULL default '0',
`H18` int(11) NOT NULL default '0',
`H19` int(11) NOT NULL default '0',
`H20` int(11) NOT NULL default '0',
`H21` int(11) NOT NULL default '0',
`H22` int(11) NOT NULL default '0',
`H23` int(11) NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2054 ;
-- --------------------------------------------------------
--
-- Structure de la table `tutoriaux`
--
CREATE TABLE IF NOT EXISTS `tutoriaux` (
`id` int(4) NOT NULL auto_increment,
`titre` varchar(60) default NULL,
`UrlWeb` varchar(250) default NULL,
`UrlServeur` varchar(100) NOT NULL,
`description` varchar(200) default NULL,
`categorie_1` int(3) NOT NULL,
`categorie_2` int(3) NOT NULL,
`tag_1` int(3) NOT NULL,
`tag_2` int(3) NOT NULL,
`click` mediumint(5) NOT NULL default '0',
`langue` tinyint(2) NOT NULL default '0',
`pertinence` int(2) NOT NULL default '10',
`taille` varchar(40) NOT NULL default '',
`format` varchar(40) NOT NULL default '',
`vote` mediumint(4) NOT NULL default '0',
`valid` int(1) NOT NULL default '0',
`IP` varchar(50) NOT NULL default '',
`ID_membre` int(8) NOT NULL,
`Date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=173 ;
-- --------------------------------------------------------
--
-- Structure de la table `tutoriaux_com`
--
CREATE TABLE IF NOT EXISTS `tutoriaux_com` (
`ID` bigint(20) NOT NULL auto_increment,
`ID_tuto` bigint(20) NOT NULL default '0',
`date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`texte` longtext NOT NULL,
`ID_membre` int(8) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1278 ;
__________________________
Admin retraité du site MoteurProg.Com" la meilleur façon de remercier est de pouvoir aider les autres à son tour !! "http://www.moteurprog.com
Oui mais le wiki rajoute des tables, et fait en plus du versioning :D
Donc c'est pas certain qu'au niveau charge de base de données ce soit plus light :)
Dans tous les cas la raison pour laquelle on utiliserait du wiki serait justement pour la maîtrise du versioning non ? Sinon quel intérêt ?
__________________________ Support Web-5 Conference !
Ben non... le wiki, c'est surtout des fichiers textes traités par des fichiers php pour les afficher correctement... Il faut juste une ou deux tables pour lister les modifications.
Stou.
__________________________ Mon Portfolio :http://www.fabienrenaud.com Vacances Scolaires :http://fr.dates-vacances-scolaires.com
oui oui oui on est d'accords ^^ ce que je voulais dire c'était au niveau remplissage de bases de données, si il y a beaucoup de modifications, ça va vite remplir tout ça :D x articles x faq x tutos
Mais je trouve l'idée très bonne ! Je suis complètement pour !
Sinon pour en revenir au vrai sujet, il faudrait d'abord lister toutes les fonctionnalités qu'on veut dans MP5, et ensuite les classer/regrouper, ensuite on fera le modèle, sinon on y arrivera pas, ce sera le bordel et on aura jamais quelque chose de propre !
__________________________ Support Web-5 Conference !
Forum /
-> Inscription sans validation
-> Modération, supervision selon les catégories
-> FAQ
-> Rechercher
-> News
-> ...
__________________________
Admin retraité du site MoteurProg.Com" la meilleur façon de remercier est de pouvoir aider les autres à son tour !! "http://www.moteurprog.com
pour info : si wiki veux dire participatif et gestion de version, c'est pas forcement utile de mettre en place un wiki ... Dans le principe le forum a déjà ce genre de fonctionnalité donc implémente le contenu (en base) et une gestion d'utilisateur donc mettre un wiki a côté c'est faire de gros doublons sans parler du fait que ce 'bricolage assemblé' casse les possibilités de recherche en base et bien d'autres choses.
__________________________ Le patrimoine et les monuments historiques de France