From: Alex B. <en...@tu...> - 2001-08-22 21:23:28
|
hi all, This is the source tree I expect we'll have when r2/final is out... I'm sure some of you will have questions re: this list of classes, etc. Please feel free. best, _alex Base --------------------- init Init core Auth Perm Page Debug Lang Request Sess Err -> PEAR_Error mgr EntityManager QueryManager TemplateManager MessageManager EventManager PolicyManager JSRequestManager CSSRequestManager validators/ NoTagsValidator NoLineBreaksProcessor NoEntitiesValidator OnlyCharsValidator OnlyTagListValidator CharsetValidator DateValidator CurrencyValidator DecimalValidator IntegerValidator TimeValidator ZipCodeValidator PhoneNumberValidator EmailAddressValidator PasswordValidator CountryValidator StateValidator FASTASequenceValidator .... suggestions here? processors/ CharsetProcessor RegexProcessor RemoveEntitiesProcessor EncodeEntitiesProcessor RemoveTagsProcessor AllowOnlyTagListProcessor TrimProcessor RemoveLineBreaksProcessor AddLineBreaksProcessor AllowOnlyCharListProcessor FormatDateProcessor FormatCurrencyProcessor FormatPhoneNumberProcessor FormatCountryProcessor FormatStateProcessor .... suggestions here? bldr FormBuilder ListBuilder WizardBuilder TreeBuilder CalendarBuilder EmailBuilder FaxBuilder PDFBuilder PageDefBuilder .... suggestions here? UIControlBuilder uicontrols/ TextBoxControl WindowStatusControl PasswordControl TextareaControl MultiTextBoxControl PulldownControl SelectBoxControl RadioButtonControl CheckBoxControl HrefControl ImageControl DateControl CurrencyControl ButtonControl TextHeaderControl OrderedTextHeaderControl ImageHeaderControl RowControl PaginationControl SimpleListControl .... suggestions here? lib ClientSniffer HTMLMimeMail SMTP Timer XMLUtils Webalizer Htdig LangKeyer ... utils xml2php php2xml pk2dir processprepend installcode langkey2string User --------------------- conf Configuration Datasources Languages Operations roles/ GodRole AdminRole etc htdocs resources images js css edit lib user-specific proprietary libs mod example_module ExampleModule AnotherExampleModule tmpl/ lang/ qry/ ent/ evt/ msg/ js/ css/ images/ tmpl html email pdf ps xml wml etc.. What we don't need in the source tree: user/cache user/db user/lang user/roles The build tree: --------------------- lang_code binarycloud core init lib mgr bldr ext pear metabase vagrant etc htdocs resources ... user cache conf roles db schema before dump qry mod tmpl ent evt msg *Note how the build tree contains many more directories, like ent, msg, etc. This is because make will use the naming conventions below to move files from module and other directories into a single location. That means files must not have naming conflicts, etc - but it keeps the source tree, and the installation process simple. Naming 'special' files for processing by make: --------------------- -Something.ent.xml = entity xml definition -Something.qry.xml = query xml definition -Something.form.xml = form xml definition -Something.list.xml = list xml definition -Something.wizard.xml = wizard xml definition -Something.calendar.xml = calendar xml definition -Something.email.xml = email xml definition -Something.fax.xml = fax xml definition -Something.pdf.xml = pdf xml definition -Something.role.xml = role xml definition -SomeValidator.php = 'Validator' means this file will be placed in binarycloud/mgr/validators from a module directory. -SomeProcessor = 'Processor' means this file will be placed in binarycloud/mgr/processors from a module directory -Something.xml.php = this file will be processed from xml to php using default xml2php rules and written out in the same location in the build tree with the extension .php. -Something.lang.xml will be used by LangKeyer at make-time to key in nagive-language strings into source files. -Something.lang_code.php (i.e. Something.de.php or Something.en.php) means the file will replace Something.php in same directory when the language code is the same as lang_code. Useful for writing the same module that does different things based on the location/language. |