Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Để bắt đầu làm việc với hệ thống EDC, developer nên có một số hiểu biết cơ bản về hệ thống trước khi bắt đầu với việc thực hiện chức năng, vá lỗi cho dự án

...

  • Cấu trúc cơ sở dữ liệu (EDC\_docs\Schemaspy_DB\tables)
    • Biểu đồ ER 
    • thay đổi DB với liquidbase
      • Cách hoạt động (chạy khi nào, cấu hình ở đâu, ...)
  • Config hệ thống trong các file properties
    • Sự khác nhau giữa datainfo.properties và datainfo-dev.properties
    • extract.properties
    • Miêu tả nhiệm vụ và trình tự hoạt động của class CoreResource, và class SQLInitServlet.
  • Hoạt động của phần view
    • Kiến trúc phần view của freemarker
      • Configuration
      • SharedVariables (GlobalVariablesMap, FreeMarkerServletExtended)
      • Layouts
      • Marco, functions...
      • Trình tự load trang
    • Các view JSP được load như thế nào?
  • Luồng hoạt động theo kiến trúc cũ (servlet)
    • Hoạt động của servlet controller trong hệ thống
      • CoreSecureContrller
      • SecureController
    • DAO
      • Cách thức hoạt động
      • Cách load các lệnh query
    • Domain Objects
      • EntityBean
      • AuditableEntityBean
      • Cấu trúc packages
    • Cấu hình
      • web.xml
      • Page.java
    • I18n
      • Cách làm việc với i18n trên view truyền thống
    • Page Message
      • Cách hoạt động của page message trên view cũ
      • Cách hoạt động của page message khi thực hiện redirect đến controller của view cũ và mới.
    • Exceptions
      • OpenClinicaException
      • InconsistentStateException
      • InsufficientPermissionException
      • DataEntryException
  • Luồng hoạt động theo kiến trúc mới (spring)
    • Configurations
      • pages-servlet
      • applicationContext-security.xml
      • applicationContext-web-beans.xml
      • applicationContext-core-db.xml
      • applicationContext-core-email.xml
      • applicationContext-core-hibernate.xml
      • applicationContext-core-scheduler.xml
      • applicationContext-core-security.xml
      • applicationContext-core-service.xml
      • applicationContext-core-spring.xml
      • applicationContext-core-timer.xml
    • Spring controller
    • Beans
      • DomainObject
      • MutableDomainObject
      • CodedEnumType
        • org/akaza/openclinica/typedefs.hbm.xml
    • DAO
      • AbstractDomainDao
      • Tạo các DAO mới dựa trên AbstractDomainDao như thế nào?
      • ...
    • Services
      • com.oecsolution.standard.core.service
      • org.akaza.openclinica.service
    • I18n
      • Cách làm việc với i18n trên view của Spring Controller
    • Page Messages:
      • PageMessageUtils, MessageLevel
      • Cách hoạt động của page message khi thực hiện redirect đến controller của view cũ và mới.
    • Interceptors
      • Mô tả các interceptors trong com.oecsolution.standard.edc.interceptor
    • Ajax
      • Tham khảo cách viết ajax chuẩn ở package: com.oecsolution.standard.edc.controller.ajax.enterdata
      • AbstractAjaxResponse, AjaxResponse, AjaxStatus, DataTablesResponse (com.oecsolution.standard.edc.support.ajax)
      • Thống nhất cách viết các hàm Ajax.
    • SecureTargetObjects (com.oecsolution.standard.core.secure)
      • Cách hoạt động của nó.
      • Cách sử dụng
    • Exceptions
      • com.oecsolution.standard.core.exception
      • com.oecsolution.standard.edc.exception
  • FiltersFilters (trong module edc)
    • (package) com.oecsolution.standard.edc.filter
    • (class) org.akaza.openclinica.control.core.OCServletFilter
    • org

      (class) org.akaza.openclinica.web.filter.

      LocaleFilter

      LocaleFilter 

  • Loggings
    • Sử dụng loại logger nào?
    • Cấu hình ở đâu?
    • Cách tạo logger trong 1 class.
  • Lombok
    • Cách sử dụng....
  • Sử dụng test case
    • Các viết một unit test (tham khảo trong core/src/test/java)
  • Gulpfiles
    • Các task
    • sass for epro or edc.

...