Index: openacs-4/packages/acs-core-docs/www/eng-standards-plsql.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/eng-standards-plsql.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/eng-standards-plsql.adp 8 Nov 2017 09:42:10 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/eng-standards-plsql.adp 18 Apr 2018 08:07:33 -0000 1.4 @@ -32,7 +32,7 @@

Code

    -
  1. Encapsulation of related fuctionality is key to maintainability +

  2. Encapsulation of related functionality is key to maintainability and upgradeability of our software. Try to bundle your code into packages whenever possible. This will make upgrading, bug fixing, and customizing, among other things, a @@ -150,4 +150,4 @@ rightLink="variables" rightLabel="Next" rightTitle="Variables" homeLink="index" homeLabel="Home" upLink="eng-standards" upLabel="Up"> - \ No newline at end of file + Index: openacs-4/packages/acs-core-docs/www/eng-standards-plsql.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/eng-standards-plsql.html,v diff -u -r1.51 -r1.52 --- openacs-4/packages/acs-core-docs/www/eng-standards-plsql.html 8 Nov 2017 09:42:10 -0000 1.51 +++ openacs-4/packages/acs-core-docs/www/eng-standards-plsql.html 18 Apr 2018 08:07:33 -0000 1.52 @@ -41,7 +41,7 @@

    1. - Encapsulation of related fuctionality is key to maintainability + Encapsulation of related functionality is key to maintainability and upgradeability of our software. Try to bundle your code into packages whenever possible. This will make upgrading, bug fixing, and Index: openacs-4/packages/acs-core-docs/www/packages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/packages.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-core-docs/www/packages.adp 4 Apr 2018 18:51:56 -0000 1.5 +++ openacs-4/packages/acs-core-docs/www/packages.adp 18 Apr 2018 08:07:33 -0000 1.6 @@ -283,7 +283,7 @@ example, we will use the name "Notes".

      Package Plural

      If your package name is a nice singular noun, this should be the plural form of it. I assume the plural form is used when multiple instances of the package are used by a single service. We'll -talk more about package instances later. Our example apllication +talk more about package instances later. Our example application doesn't really have a good plural name. So just make it also be "Notes".

      Package Type

      Generally we think of packages as either being applications, meaning that the package is meant primarily for use by end-users, or services meaning that the package is Index: openacs-4/packages/acs-core-docs/www/packages.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/packages.html,v diff -u -r1.55 -r1.56 --- openacs-4/packages/acs-core-docs/www/packages.html 4 Apr 2018 18:51:56 -0000 1.55 +++ openacs-4/packages/acs-core-docs/www/packages.html 18 Apr 2018 08:07:33 -0000 1.56 @@ -347,7 +347,7 @@ If your package name is a nice singular noun, this should be the plural form of it. I assume the plural form is used when multiple instances of the package are used by a single service. We'll talk more - about package instances later. Our example apllication doesn't really + about package instances later. Our example application doesn't really have a good plural name. So just make it also be "Notes".

      Package Type

      Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/packages.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/packages.xml,v diff -u -r1.11 -r1.12 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/packages.xml 24 Dec 2017 13:15:07 -0000 1.11 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/packages.xml 18 Apr 2018 08:07:33 -0000 1.12 @@ -487,7 +487,7 @@ If your package name is a nice singular noun, this should be the plural form of it. I assume the plural form is used when multiple instances of the package are used by a single service. We'll talk more - about package instances later. Our example apllication doesn't really + about package instances later. Our example application doesn't really have a good plural name. So just make it also be "Notes". Index: openacs-4/packages/acs-lang/www/doc/i18n-design.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-lang/www/doc/i18n-design.adp 11 Apr 2018 21:35:07 -0000 1.5 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.adp 18 Apr 2018 08:07:33 -0000 1.6 @@ -504,7 +504,7 @@ translation is made. If omitted, type is user which means that the translation is provided in the user's preferred language.

    2. static specifies that this tag should be -translated once at templat compile time, rather than dynamically +translated once at template compile time, rather than dynamically every time the page is run. This will be unneccessaru and will be deprecated once we have implemented effective locale based cacheing for templates.
    3. Index: openacs-4/packages/acs-lang/www/doc/i18n-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.html,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-lang/www/doc/i18n-design.html 11 Apr 2018 21:35:07 -0000 1.7 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.html 18 Apr 2018 08:07:33 -0000 1.8 @@ -648,7 +648,7 @@ flags. If it is omitted value defaults to English.
    4. type specifies the context in which the translation is made. If omitted, type is user which means that the translation is provided in the user's preferred language. -
    5. static specifies that this tag should be translated once at templat compile time, rather than dynamically every time the page is run. This will be unneccessaru and will be deprecated once we +
    6. static specifies that this tag should be translated once at template compile time, rather than dynamically every time the page is run. This will be unneccessaru and will be deprecated once we have implemented effective locale based cacheing for templates. Example 1: Display the text string Hello on an ADP page (i.e. do nothing special): Index: openacs-4/packages/acs-subsite/tcl/relation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/relation-procs.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/acs-subsite/tcl/relation-procs.tcl 21 Jan 2018 00:35:29 -0000 1.18 +++ openacs-4/packages/acs-subsite/tcl/relation-procs.tcl 18 Apr 2018 08:07:33 -0000 1.19 @@ -232,7 +232,7 @@ {-group_id ""} } { creates multirow datasource containing relationship types starting with - the $start_with relationship type. The datasource has columns that are + the $start_with relationship type. The datasource has columns that are identical to the party::types_allowed_in_group_multirow, which is why the columns are broadly named "object_*" instead of "rel_*". A common template can be used for generating select widgets etc. for both @@ -256,22 +256,22 @@ @author Oumi Mehrotra (oumi@arsdigita.com) @creation-date 2000-02-07 - + @param datasource_name @param start_with @param group_id - if unspecified, then - [applcation_group::group_id_from_package_id] is used. + [application_group::group_id_from_package_id] is used. } { if {$group_id eq ""} { - set group_id [application_group::group_id_from_package_id] + set group_id [application_group::group_id_from_package_id] } template::multirow create $datasource_name \ - object_type object_type_enc indent pretty_name valid_p + object_type object_type_enc indent pretty_name valid_p db_foreach select_sub_rel_types {} { - template::multirow append $datasource_name $object_type [ad_urlencode $object_type] $indent $pretty_name $valid_p + template::multirow append $datasource_name $object_type [ad_urlencode $object_type] $indent $pretty_name $valid_p } }