From: ferite C. H. <fer...@li...> - 2005-09-26 18:08:34
|
Ferite CVS committal Author : boris Project : webframework Dir : webframework/Tools Modified Files: CreateBasicApplication.fe NewApplicationBaseSchema.mysql Added Files: AlterTables.fe BaseWebframework.schema Log Message: Move from fwf: to wf: this is a good change, just say it several times ;) =================================================================== RCS file: /cvsroot/ferite/webframework/Tools/CreateBasicApplication.fe,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- CreateBasicApplication.fe 22 Sep 2005 16:41:12 -0000 1.1 +++ CreateBasicApplication.fe 26 Sep 2005 18:07:49 -0000 1.2 @@ -41,9 +41,9 @@ File.create( "$appDirectory/Pages/Main.page" ) using ( file ) { string pageContents = Regexp.replaceAll( 'APPNAME', ' <!-- Automatically created by CreateBasicApplication.fe for APPNAME --> -<fwf:Label ID="DocumentTitle" FontSize="24px" TextValue="Welcome to APPNAME" /> <br /> -<fwf:Button ID="ClickButton" TextValue="Click Me!" /> -<fwf:TextField ID="ClickField" /> +<wf:Label ID="DocumentTitle" FontSize="24px" TextValue="Welcome to APPNAME" /> <br /> +<wf:Button ID="ClickButton" TextValue="Click Me!" /> +<wf:TextField ID="ClickField" /> ', appName ); file.write( pageContents ); }; =================================================================== RCS file: /cvsroot/ferite/webframework/Tools/NewApplicationBaseSchema.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- NewApplicationBaseSchema.mysql 22 Sep 2005 16:41:12 -0000 1.1 +++ NewApplicationBaseSchema.mysql 26 Sep 2005 18:07:49 -0000 1.2 @@ -1,29 +1,29 @@ -DROP TABLE IF EXISTS `APPNAME_FWFCacheDependencies`; -CREATE TABLE `APPNAME_FWFCacheDependencies` ( +DROP TABLE IF EXISTS `APPNAME_WFCacheDependencies`; +CREATE TABLE `APPNAME_WFCacheDependencies` ( `ID` int(11) NOT NULL auto_increment, `OriginName` varchar(255) NOT NULL default '', `DependenceName` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFCacheTriggers`; -CREATE TABLE `APPNAME_FWFCacheTriggers` ( +DROP TABLE IF EXISTS `APPNAME_WFCacheTriggers`; +CREATE TABLE `APPNAME_WFCacheTriggers` ( `ID` int(11) NOT NULL auto_increment, `ObjectName` varchar(255) NOT NULL default '', `LastTrigger` int(11) NOT NULL default '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFConfiguration`; -CREATE TABLE `APPNAME_FWFConfiguration` ( +DROP TABLE IF EXISTS `APPNAME_WFConfiguration`; +CREATE TABLE `APPNAME_WFConfiguration` ( `ID` int(11) NOT NULL auto_increment, `Name` varchar(255) NOT NULL default '', `Value` text NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFDocumentBranches`; -CREATE TABLE `APPNAME_FWFDocumentBranches` ( +DROP TABLE IF EXISTS `APPNAME_WFDocumentBranches`; +CREATE TABLE `APPNAME_WFDocumentBranches` ( `ID` int(11) NOT NULL auto_increment, `DocumentID` int(11) NOT NULL default '0', `Tag` varchar(255) NOT NULL default '', @@ -31,17 +31,17 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFDocumentLanguages`; -CREATE TABLE `APPNAME_FWFDocumentLanguages` ( +DROP TABLE IF EXISTS `APPNAME_WFDocumentLanguages`; +CREATE TABLE `APPNAME_WFDocumentLanguages` ( `ID` int(11) NOT NULL auto_increment, `ShortDesc` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFDocumentLanguages` VALUES (1,'EN'),(2,'DE'); +INSERT INTO `APPNAME_WFDocumentLanguages` VALUES (1,'EN'),(2,'DE'); -DROP TABLE IF EXISTS `APPNAME_FWFDocumentRevisions`; -CREATE TABLE `APPNAME_FWFDocumentRevisions` ( +DROP TABLE IF EXISTS `APPNAME_WFDocumentRevisions`; +CREATE TABLE `APPNAME_WFDocumentRevisions` ( `ID` int(11) NOT NULL auto_increment, `BranchID` int(11) NOT NULL default '0', `UserID` int(11) NOT NULL default '0', @@ -54,17 +54,17 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFDocumentTypes`; -CREATE TABLE `APPNAME_FWFDocumentTypes` ( +DROP TABLE IF EXISTS `APPNAME_WFDocumentTypes`; +CREATE TABLE `APPNAME_WFDocumentTypes` ( `ID` int(11) NOT NULL auto_increment, `TypeDesc` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFDocumentTypes` VALUES (1,'DOC'),(2,'WIKI'),(3,'HTML'),(4,'PDF'); +INSERT INTO `APPNAME_WFDocumentTypes` VALUES (1,'DOC'),(2,'WIKI'),(3,'HTML'),(4,'PDF'); -DROP TABLE IF EXISTS `APPNAME_FWFDocuments`; -CREATE TABLE `APPNAME_FWFDocuments` ( +DROP TABLE IF EXISTS `APPNAME_WFDocuments`; +CREATE TABLE `APPNAME_WFDocuments` ( `ID` int(11) NOT NULL auto_increment, `CreatorID` int(11) NOT NULL default '0', `Tag` varchar(255) NOT NULL default '', @@ -72,18 +72,18 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -DROP TABLE IF EXISTS `APPNAME_FWFPermissionZones`; -CREATE TABLE `APPNAME_FWFPermissionZones` ( +DROP TABLE IF EXISTS `APPNAME_WFPermissionZones`; +CREATE TABLE `APPNAME_WFPermissionZones` ( `ID` int(11) NOT NULL auto_increment, `Name` varchar(255) NOT NULL default '', `Description` text NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFPermissionZones` VALUES (1,'Main',''),(2,'Admin',''); +INSERT INTO `APPNAME_WFPermissionZones` VALUES (1,'Main',''),(2,'Admin',''); -DROP TABLE IF EXISTS `APPNAME_FWFResourcePermissions`; -CREATE TABLE `APPNAME_FWFResourcePermissions` ( +DROP TABLE IF EXISTS `APPNAME_WFResourcePermissions`; +CREATE TABLE `APPNAME_WFResourcePermissions` ( `ID` int(11) NOT NULL auto_increment, `Resource` varchar(255) NOT NULL default '', `ZoneID` int(11) NOT NULL default '0', @@ -91,10 +91,10 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFResourcePermissions` VALUES (1,'Main',1,0),(13,'ApplicationAdmin',7,0),(15,'ApplicationAdmin',2,0),(16,'Admin',2,0); +INSERT INTO `APPNAME_WFResourcePermissions` VALUES (1,'Main',1,0),(13,'ApplicationAdmin',7,0),(15,'ApplicationAdmin',2,0),(16,'Admin',2,0); -DROP TABLE IF EXISTS `APPNAME_FWFUserPermissions`; -CREATE TABLE `APPNAME_FWFUserPermissions` ( +DROP TABLE IF EXISTS `APPNAME_WFUserPermissions`; +CREATE TABLE `APPNAME_WFUserPermissions` ( `ID` int(11) NOT NULL auto_increment, `UserID` int(11) NOT NULL default '0', `ZoneID` int(11) NOT NULL default '0', @@ -102,10 +102,10 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFUserPermissions` VALUES (1,1,1,0),(2,3,1,10),(3,3,2,10); +INSERT INTO `APPNAME_WFUserPermissions` VALUES (1,1,1,0),(2,3,1,10),(3,3,2,10); -DROP TABLE IF EXISTS `APPNAME_FWFUsers`; -CREATE TABLE `APPNAME_FWFUsers` ( +DROP TABLE IF EXISTS `APPNAME_WFUsers`; +CREATE TABLE `APPNAME_WFUsers` ( `ID` int(11) NOT NULL auto_increment, `FirstName` varchar(255) NOT NULL default '', `LastName` varchar(255) NOT NULL default '', @@ -121,4 +121,4 @@ PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -INSERT INTO `APPNAME_FWFUsers` VALUES (1,'','','','','','guest','','','','',''); \ No newline at end of file +INSERT INTO `APPNAME_WFUsers` VALUES (1,'','','','','','guest','','','','',''); \ No newline at end of file |