Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#source code improve reorder implementation #466

Merged
merged 2 commits into from
Apr 28, 2020
Merged

Feature/#source code improve reorder implementation #466

merged 2 commits into from
Apr 28, 2020

Conversation

yamelsenih
Copy link
Member

Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from backend or push, this pull request want reorder use of api by functionality or tool:

  • All inside ADempiere folder is dedicated for adempiere functionality
  • ADempiere/dashboard: use this path for add your api resource for all related with dashboard, note that already exist a file named dashboard.js with standard dashboard for ADempiere, if you want to add a new dashboard just create a new file .js for gest info from backend
  • ADempiere/form: used for all form, for now exist the first implementation named price-checking.js that matched with components/ADempiere/form/PriceChecking, if you want to add a new form just add a new file here
  • ADempiere/browser.js: browser is a native functionality for Smart Browser tool, just add here all functions related for browser
  • ADempiere/private-access.js: just handle private access, will be used for add role table access and record access (nice to have)
  • ADempiere/process.js: related with all action for process and get information from server like getProcessLog and others
  • ADempiere/report.js: get info like getReportOutput from parameters used for window report and change print formats
  • ADempiere/rule.js: for now is used for dispatch callouts from server but will be implemented for run rules directly for client on languages like javascript, kotlin and groovy
  • ADempiere/system-core.js: just get generic functions like getWarehouseList and organization, also can be used for get langages and other infor from server
  • ADempiere/values.js: get info like lookup list, default values and other values like systen configurator
  • ADempiere/window.js: all functions related to window like record log, workflow log and other infor that can be used for container
  • ADempiere/persistence.js: handle standard CRUD for all entities and implement functions like getTranslation from entity

Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity
Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity
@yamelsenih yamelsenih self-assigned this Apr 28, 2020
@yamelsenih yamelsenih merged commit 1c133bc into adempiere:develop Apr 28, 2020
@yamelsenih yamelsenih deleted the feature/#source-code-improve-reorder-implementation branch April 28, 2020 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant