메인 콘텐츠로 이동

Catswords OSS

SQLX (SQL Extendable)

ReasonableFramework supports an SQL mapper it calls SQLX (SQL Extendable). The usage example is as follows:

  1. Write the SQLX query map file: /storage/sqlx/gentleman.sqlx

  1. Write the helper (library) code with the SQLX query map file: /helper/gentleman.dbt.php

  1. Use the code in the route (controller) code: /route/gentleman.php

  1. Check the response: Try connect to http://localhost/?route=gentleman in your web browser.

Made with Readable