SlideShare a Scribd company logo
Extensible Architecture
(2004-12-21)
Requirements (1)

Hi,
We're currently facing an old question again: How can you build a big
OpenACS application (composed by several modules) that can be customized
so that it suits more then one customer? Sounds easy, but it isn't if you want
to avoid a copy-paste-modify approach.
Let's take a simple example to explain the requirements: Let's consider user
management. OpenACS provides several standard user management screens
with the fields "first_names" and "second name". However, people in Spain
have two first names and two second names, such as "Juan José Ruiz
Martínez". And this time we are working for a demanding customer who
requires us to do it "their way" and to use their design standards. So we
actually have to include the four pieces of the name in one line so that the
users screen needs to look like:

   Name: [First1] [First2] [Second1] [Second2]
   Username: [Username]
   Email: [Email]
   Password: [Password]
   URL: [Url]

However, another customer from the US may requires us to add a field for a
middle name such as in "Frank W. Bergmann" and a third customer requires
us to add a second email address for the private email (just to put an
example).
Copy-Past-Modify



The standard approach in the OpenACS community (and also in
many other Web-based content & community tools) for such a
situation is to take the OpenACS code as a base and to extend it,
adding the necessary fields "manually".
This works pretty well for the first and maybe for the second
customer, but after that you're getting a holy mess of different
versions that are difficult to maintain. Imagine that you need to
upgrade to the next version of OpenACS or that you have developed
an improvement for one of the customers that might be useful for
the others as well.
Requirements (2)

But if you start thinking about how to unify the user management code for all
customers, you immediately get to the question of how to extend the unified
code to accommodate the different requirement and you get to a list of quite
ugly requirements:
Adding new fields to a business object:
We want to be able to add any number of new fields to a user or another
object without touching the "core" code. These new fields should support
validation and referential integrity such as all other fields.
Integrating new packages:
We want to be able to add new packages to the system, so that they are
integrated with the rest of the system. Let's consider adding a "bookmark
list". We may want to be able to show a list of bookmarks on the users main
page, even though the users page didn't "know" about bookmarks before. And
please remember, we don't want to touch the TCL or ADP code, because they
are common to all of our customers.
Also, we want to add a link "add a bookmark" in another part of the page and
we want to add a new item in the global site menu such as "Bookmark
Management".
Customized layout and design:
Customers are picky, so we want to be able to adapt to all of their design
preferences, particular in terms of form layout. Colours and stuff are covered
by CSS style sheets anyway.
Requirements (3)

Taking into account the overall TCL/ADP structure of OpenACS pages, we can
translate these requirements into technical issues that we have to tackle:
Customizing ADPs:
How can we add dynamicallynew pieces of code to an ADP page to display
new contents or links?
How do we dynamically add new fields to a form or new columns to a list
view?
Customizing TCLs:
How can we dynamically add business logic to TCLs?
Customizing SQLs:
How can we patch SQL statements to include new fields from new "extension
tables" or dynamic attributes? How do we sort the results according to an
extension field that didn't exist at the time when we wrote the SQL?
Menus and Navigation:
How can we dynamically adapt the navigation to reflect the presence of new
packages?
Links and References:
How do we link from "core" pages to pages in new add-on packages that
didn't exist at the time of writing the "core" pages?
User Exits (1)
So let's come back to our user registration example in order to explore how
"User Exits" could help us to build a single page that would serve all of our
fictitious customers.
The ADP Page: Here we could add several "user exits" to the ADP page that
would look like this: <%=[ad_call_proc_if_exists TCL_library_routine]%> . We
could then write a TCL_library_routine implementation for a specific customer
that would add the right HTML code in order to create the new fields. Also, we
could call ADP includes on an similar "if exists" base to include pieces of
content.
The TCL Page: The TCL page has to provide the ADP page with additional
business logic for the new fields. So we could use same "user exits" trick and
call a TCL library routine at the end of the TCL if it exists.
The SQL: This is more complicated. Let's imagine that the new user name
fields are implemented via a "user_extension_table". How do we "join" the
contents of this table into our exiting SQL? One option is to use SQL "views".
The TCL page would do a "select * from my_users" where "my_users" is an
SQL view that by default only performs a "select * from cc_users". However,
our extension module could now overwrite this view with a new version that
joins cc_users with the user_extension_table. This approach may cause
problems when there is more then one package adding fields to a user, but
it's simple and straight-forward.
Menus, Navigation, Links and References
We could again use the "user exits" to implement flexible menus and
references.
User Exits (2)


Pros & Cons
The advantage of this "architecture" is that it's quite simple, transparent and
easy to understand. It is actually already being used in the request processor
using the ad_call_proc_if_exists routine. Also, it provides a simple "migration
path" to migrate an existing hard-coded system towards a more flexible one
without rewriting the whole code. However, there may be "extension conflicts"
between different modules that extend the same business object, and the
code may become very ugly ("spaghetti") with the time.
Store Everything in the
                                                            DB
The current Project/Open architecture stores all variable elements in the
database, such as menus, links, "components" (ADP includes), table columns
and form fields. Table columns include the TCL code to render a table cell
content and they include the "order by" clause if a user wants to sort a list by
a specific column. Here is the comlete documentation:
http://www.project-open.org/doc/intranet-core/
Pros & Cons
This is a very straight-forward approach that allows for great flexibility and
performance. An extension module can just add a new column to a table and
define some extra_select, extra_from and extra_where pieces for the SQL
clause. However, the approach requires a considerable initial effort and
storing TCL code in the database isn't really an elegant solution. So this is
why we are considering alternatives in a project that is not related to
Project/Open.
Extending ad_form (1)

The last option that we explored is based on the OpenACS templating system
and ad_forms. These modules use a list of fields in order to control the
rendering of forms and tables. Normally, these lists of fields are defined
statically as part of the TCL page as in the following example:
ad_form -form {
        menu_id:key
        {name:text(text) {label Name} {html {size 40}}}
        {label:text(text) {label Label} {html {size 30}}}
        {url:text(text) {label URL} {html {size 100}}}
        {sort_order:text(text) {label "Sort Order"} {html
{size 10}}}
} [...]
Extending ad_form (2)

However, the definition of these fields could be moved out of the ad_form
procedure call into a variable. And once it is within a variable, we could
overwrite this variable in the case that an exension module has added more
fields in a database table:

set field_list {
        menu_id:key
        {name:text(text) {label Name} {html {size 40}}}
        {label:text(text) {label Label} {html {size 30}}}
        {url:text(text) {label URL} {html {size 100}}}
        {s_order:text(text) {label "Sort Order"} {html {size 10}}}
}
if {[check_the_database]} {
        set field_list [get_field_list_from_the_database]
}
ad_form -form $field_list [...]
Extending ad_form (3)

This "architecture" would allow for a simple and convenient default
configuration defined in the TCL page, while allowing for full extensibility by
extension modules.
Another shortcoming of ad_form is its current HTML layout inflexibility.
ad_form renders the form fields as a vertical list by default. There is no easy
way to say that first_name and second_name should go together into the first
line of the form. However, ad_form allows for custom rendering "form
templates", so that we could tackle this issue by introducing new field
parameters for field positioning (absolute horizontal/vertical or relative
line/column) and by creating a customized version of a form template to
implement something similar to a "layout manager" in Java.
Also, there are facilities in ad_form to handle dynamic fields via acs_attributes
and the OpenACS SQL metadata system. However, the implementation of the
acs_attributes feature is not very "transparent" (you don't understand easily
what it happening) and doesn't seem to be commonly used. The only place
that I have seen is group_type maintenance, and this is an incomplete
implementation error with an error when trying to use default values.
Extending ad_form (4)

Pros & Cons
ad_form and templating could allow for a flexible architecture without storing
TCL code in the database. It would provide a very elegant solution if the
integration with acs_attributes would work in real-world applications.
However, I personally don't like the "hide as much as possible" philosophy of
ad_form, and I have lost many hours debugging relatively simple issues due
to the lack of transparency and documentation.
4 Architectures Summary



  Arch          ADP              TCL              SQL      Menu &
  Areas                                                      Refs


User Exits   <=%              ad_call_if_exi   select *   User exits
             ad_call_if_exi   sts xxx
             sts xxx%>

Extending                     ad_form with     select *
ad_forms           ?          dynamic                           ?
                              fields

Everything Components         Dynamic       extra_select+ „DB-Menus“
 in the DB                    fields and    extra_from+
                              table columns extra_where,
                                            select *
“Extensible
Architecture”
Extending ad_form (4)

dynfield_attribut   dynfield_attribut   dynfield_widget
       es                     es
                    attribute_id                 s
                                        widget_name
                    widget_name         storage_type
                                        acs_datatype
                                        tcl_widget
                                        datatype
                                        parameters
Extending ad_form (4)

acs_attributes    ams_attributes     ams_widgets
                 attribute_id       widget_name
                 widget_name        ...
Screenshots
Screenshots

More Related Content

PPT
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
PPT
]po[ Developers: Reporting, Indicators & Dashboards
PPT
Tutorial: Writing Sencha Touch Mobile Apps using ]project-open[
PPT
]project-open[ Data-Model “Categories”
PPT
Serious Sencha - Data Layer and Server-Side REST Interface
PPT
]project-open[ My First Package
PPT
]project-open[ Reporting & Indicators Options
PPT
]project-open[ on Amazon AWS
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
]po[ Developers: Reporting, Indicators & Dashboards
Tutorial: Writing Sencha Touch Mobile Apps using ]project-open[
]project-open[ Data-Model “Categories”
Serious Sencha - Data Layer and Server-Side REST Interface
]project-open[ My First Package
]project-open[ Reporting & Indicators Options
]project-open[ on Amazon AWS

What's hot (20)

PPT
Eclipse Mylyn Integration with ]project-open[
PPT
]project-open[ Workflow Developer Tutorial Part 3
PPTX
Asp.net
PPS
PPS
WCF (Windows Communication Foundation_Unit_01)
PPTX
Introduction to dataweave
PDF
Example User Stories Specification for ReqView
PPT
]project-open[ Workflow Developer Tutorial Part 1
DOC
Oa Framework Tutorial
PPT
Oaf development-guide
PPT
]project-open[ Workflow Developer Tutorial Part 4
PDF
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
PPTX
MVC Training Part 1
PPTX
Web apps architecture
PPT
Mvc architecture
PPTX
Oracle ADF Case Study
PDF
Towards Requirements Management Issues in Excel
PPTX
Client Object Model - SharePoint Extreme 2012
PPS
Web Component Development with Servlet and JSP Technologies Unit 01
PPTX
Application engine
Eclipse Mylyn Integration with ]project-open[
]project-open[ Workflow Developer Tutorial Part 3
Asp.net
WCF (Windows Communication Foundation_Unit_01)
Introduction to dataweave
Example User Stories Specification for ReqView
]project-open[ Workflow Developer Tutorial Part 1
Oa Framework Tutorial
Oaf development-guide
]project-open[ Workflow Developer Tutorial Part 4
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
MVC Training Part 1
Web apps architecture
Mvc architecture
Oracle ADF Case Study
Towards Requirements Management Issues in Excel
Client Object Model - SharePoint Extreme 2012
Web Component Development with Servlet and JSP Technologies Unit 01
Application engine
Ad

Similar to ]project-open[ Extensible Architecture (20)

PDF
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
DOCX
ASP.NET MVC3 RAD
DOC
Mdx Basics
PDF
Workload Management with MicroStrategy Software and IBM DB2 9.5
PPTX
SDMX Matrix Generator User Guide.pptx presentation
PDF
Bo df b_layer
PDF
Access tips access and sql part 4 building select queries on-the-fly
DOC
3 tier architecture in asp.net
PDF
Access tips access and sql part 1 setting the sql scene
PPT
]project-open[ Reporting & Indicators Options
DOCX
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
PPTX
Oracle application express
PPTX
Oracle application express ppt
PDF
Database Systems Design Implementation and Management 11th Edition Coronel So...
DOCX
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PDF
Database Systems Design Implementation and Management 11th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 11th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 11th Edition Coronel So...
PDF
Essentials of Database Management 1st Edition Hoffer Solutions Manual
PDF
Database Systems Design Implementation and Management 11th Edition Coronel So...
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ASP.NET MVC3 RAD
Mdx Basics
Workload Management with MicroStrategy Software and IBM DB2 9.5
SDMX Matrix Generator User Guide.pptx presentation
Bo df b_layer
Access tips access and sql part 4 building select queries on-the-fly
3 tier architecture in asp.net
Access tips access and sql part 1 setting the sql scene
]project-open[ Reporting & Indicators Options
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
Oracle application express
Oracle application express ppt
Database Systems Design Implementation and Management 11th Edition Coronel So...
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
Database Systems Design Implementation and Management 11th Edition Coronel So...
Database Systems Design Implementation and Management 11th Edition Coronel So...
Database Systems Design Implementation and Management 11th Edition Coronel So...
Essentials of Database Management 1st Edition Hoffer Solutions Manual
Database Systems Design Implementation and Management 11th Edition Coronel So...
Ad

More from Klaus Hofeditz (12)

PPT
]project-open[ Budget Planning and Tracking
PPT
]po[ Sencha File-Storage Specs
PPT
The ]project-open[ Community
PPT
]project-open[ Data-Model 100511b
PPT
]project-open[ Screenshots
PPT
]project-open[ CVS+ACL Permission Configuration
PPT
Po workflow-tutorial-1-overview.100603
PPT
]project-open[ Workflow Developer Tutorial Part 2
PPT
]project-open[ Package Manager
PPT
]project-open[ Roll Out Plan
PPT
]project-open[ Timesheet Project Invoicing
PPT
]project-open[ OSS Project Mangement
]project-open[ Budget Planning and Tracking
]po[ Sencha File-Storage Specs
The ]project-open[ Community
]project-open[ Data-Model 100511b
]project-open[ Screenshots
]project-open[ CVS+ACL Permission Configuration
Po workflow-tutorial-1-overview.100603
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Package Manager
]project-open[ Roll Out Plan
]project-open[ Timesheet Project Invoicing
]project-open[ OSS Project Mangement

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
The Rise and Fall of 3GPP – Time for a Sabbatical?
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

]project-open[ Extensible Architecture

  • 2. Requirements (1) Hi, We're currently facing an old question again: How can you build a big OpenACS application (composed by several modules) that can be customized so that it suits more then one customer? Sounds easy, but it isn't if you want to avoid a copy-paste-modify approach. Let's take a simple example to explain the requirements: Let's consider user management. OpenACS provides several standard user management screens with the fields "first_names" and "second name". However, people in Spain have two first names and two second names, such as "Juan José Ruiz Martínez". And this time we are working for a demanding customer who requires us to do it "their way" and to use their design standards. So we actually have to include the four pieces of the name in one line so that the users screen needs to look like: Name: [First1] [First2] [Second1] [Second2] Username: [Username] Email: [Email] Password: [Password] URL: [Url] However, another customer from the US may requires us to add a field for a middle name such as in "Frank W. Bergmann" and a third customer requires us to add a second email address for the private email (just to put an example).
  • 3. Copy-Past-Modify The standard approach in the OpenACS community (and also in many other Web-based content & community tools) for such a situation is to take the OpenACS code as a base and to extend it, adding the necessary fields "manually". This works pretty well for the first and maybe for the second customer, but after that you're getting a holy mess of different versions that are difficult to maintain. Imagine that you need to upgrade to the next version of OpenACS or that you have developed an improvement for one of the customers that might be useful for the others as well.
  • 4. Requirements (2) But if you start thinking about how to unify the user management code for all customers, you immediately get to the question of how to extend the unified code to accommodate the different requirement and you get to a list of quite ugly requirements: Adding new fields to a business object: We want to be able to add any number of new fields to a user or another object without touching the "core" code. These new fields should support validation and referential integrity such as all other fields. Integrating new packages: We want to be able to add new packages to the system, so that they are integrated with the rest of the system. Let's consider adding a "bookmark list". We may want to be able to show a list of bookmarks on the users main page, even though the users page didn't "know" about bookmarks before. And please remember, we don't want to touch the TCL or ADP code, because they are common to all of our customers. Also, we want to add a link "add a bookmark" in another part of the page and we want to add a new item in the global site menu such as "Bookmark Management". Customized layout and design: Customers are picky, so we want to be able to adapt to all of their design preferences, particular in terms of form layout. Colours and stuff are covered by CSS style sheets anyway.
  • 5. Requirements (3) Taking into account the overall TCL/ADP structure of OpenACS pages, we can translate these requirements into technical issues that we have to tackle: Customizing ADPs: How can we add dynamicallynew pieces of code to an ADP page to display new contents or links? How do we dynamically add new fields to a form or new columns to a list view? Customizing TCLs: How can we dynamically add business logic to TCLs? Customizing SQLs: How can we patch SQL statements to include new fields from new "extension tables" or dynamic attributes? How do we sort the results according to an extension field that didn't exist at the time when we wrote the SQL? Menus and Navigation: How can we dynamically adapt the navigation to reflect the presence of new packages? Links and References: How do we link from "core" pages to pages in new add-on packages that didn't exist at the time of writing the "core" pages?
  • 6. User Exits (1) So let's come back to our user registration example in order to explore how "User Exits" could help us to build a single page that would serve all of our fictitious customers. The ADP Page: Here we could add several "user exits" to the ADP page that would look like this: <%=[ad_call_proc_if_exists TCL_library_routine]%> . We could then write a TCL_library_routine implementation for a specific customer that would add the right HTML code in order to create the new fields. Also, we could call ADP includes on an similar "if exists" base to include pieces of content. The TCL Page: The TCL page has to provide the ADP page with additional business logic for the new fields. So we could use same "user exits" trick and call a TCL library routine at the end of the TCL if it exists. The SQL: This is more complicated. Let's imagine that the new user name fields are implemented via a "user_extension_table". How do we "join" the contents of this table into our exiting SQL? One option is to use SQL "views". The TCL page would do a "select * from my_users" where "my_users" is an SQL view that by default only performs a "select * from cc_users". However, our extension module could now overwrite this view with a new version that joins cc_users with the user_extension_table. This approach may cause problems when there is more then one package adding fields to a user, but it's simple and straight-forward. Menus, Navigation, Links and References We could again use the "user exits" to implement flexible menus and references.
  • 7. User Exits (2) Pros & Cons The advantage of this "architecture" is that it's quite simple, transparent and easy to understand. It is actually already being used in the request processor using the ad_call_proc_if_exists routine. Also, it provides a simple "migration path" to migrate an existing hard-coded system towards a more flexible one without rewriting the whole code. However, there may be "extension conflicts" between different modules that extend the same business object, and the code may become very ugly ("spaghetti") with the time.
  • 8. Store Everything in the DB The current Project/Open architecture stores all variable elements in the database, such as menus, links, "components" (ADP includes), table columns and form fields. Table columns include the TCL code to render a table cell content and they include the "order by" clause if a user wants to sort a list by a specific column. Here is the comlete documentation: http://www.project-open.org/doc/intranet-core/ Pros & Cons This is a very straight-forward approach that allows for great flexibility and performance. An extension module can just add a new column to a table and define some extra_select, extra_from and extra_where pieces for the SQL clause. However, the approach requires a considerable initial effort and storing TCL code in the database isn't really an elegant solution. So this is why we are considering alternatives in a project that is not related to Project/Open.
  • 9. Extending ad_form (1) The last option that we explored is based on the OpenACS templating system and ad_forms. These modules use a list of fields in order to control the rendering of forms and tables. Normally, these lists of fields are defined statically as part of the TCL page as in the following example: ad_form -form { menu_id:key {name:text(text) {label Name} {html {size 40}}} {label:text(text) {label Label} {html {size 30}}} {url:text(text) {label URL} {html {size 100}}} {sort_order:text(text) {label "Sort Order"} {html {size 10}}} } [...]
  • 10. Extending ad_form (2) However, the definition of these fields could be moved out of the ad_form procedure call into a variable. And once it is within a variable, we could overwrite this variable in the case that an exension module has added more fields in a database table: set field_list { menu_id:key {name:text(text) {label Name} {html {size 40}}} {label:text(text) {label Label} {html {size 30}}} {url:text(text) {label URL} {html {size 100}}} {s_order:text(text) {label "Sort Order"} {html {size 10}}} } if {[check_the_database]} { set field_list [get_field_list_from_the_database] } ad_form -form $field_list [...]
  • 11. Extending ad_form (3) This "architecture" would allow for a simple and convenient default configuration defined in the TCL page, while allowing for full extensibility by extension modules. Another shortcoming of ad_form is its current HTML layout inflexibility. ad_form renders the form fields as a vertical list by default. There is no easy way to say that first_name and second_name should go together into the first line of the form. However, ad_form allows for custom rendering "form templates", so that we could tackle this issue by introducing new field parameters for field positioning (absolute horizontal/vertical or relative line/column) and by creating a customized version of a form template to implement something similar to a "layout manager" in Java. Also, there are facilities in ad_form to handle dynamic fields via acs_attributes and the OpenACS SQL metadata system. However, the implementation of the acs_attributes feature is not very "transparent" (you don't understand easily what it happening) and doesn't seem to be commonly used. The only place that I have seen is group_type maintenance, and this is an incomplete implementation error with an error when trying to use default values.
  • 12. Extending ad_form (4) Pros & Cons ad_form and templating could allow for a flexible architecture without storing TCL code in the database. It would provide a very elegant solution if the integration with acs_attributes would work in real-world applications. However, I personally don't like the "hide as much as possible" philosophy of ad_form, and I have lost many hours debugging relatively simple issues due to the lack of transparency and documentation.
  • 13. 4 Architectures Summary Arch ADP TCL SQL Menu & Areas Refs User Exits <=% ad_call_if_exi select * User exits ad_call_if_exi sts xxx sts xxx%> Extending ad_form with select * ad_forms ? dynamic ? fields Everything Components Dynamic extra_select+ „DB-Menus“ in the DB fields and extra_from+ table columns extra_where, select *
  • 15. Extending ad_form (4) dynfield_attribut dynfield_attribut dynfield_widget es es attribute_id s widget_name widget_name storage_type acs_datatype tcl_widget datatype parameters
  • 16. Extending ad_form (4) acs_attributes ams_attributes ams_widgets attribute_id widget_name widget_name ...