2. Generating CRUD application
WAK CRUD generation tool Introduction
WAK gen tool is a very useful and productive tool for creating folder ( file .dic) by framework WAK when you already have DB.
Download
Download CRUD Genaration Tool package Here.
Database Preparation
- In this step, you'd have to input SQL queries to create your Project Database in WAK.
- In "Tiện ích CSDL" tab, choose "Thực hiện nhiều câu lệnh SQL" button, then input your SQL queries or use example queries below in box and submit. Next go to "Danh sách bảng dữ liệu" to check your Database.
- Click in "Kết suất cấu trúc bảng" button in "Tiện ích CSDL" tab. In this step, choose your tables and submit to combine there tables in to file export.schema.
Intallation
- Extract package, we have a folder like this
- Copy file export.schema into this folder then run gen_adm_wak.bat to generate your menus.
- Next, copy folder [com] in [wak-out] into your folder Project/app/web.
- Now, your CRUD are created.