Phalcon Interview Questions | Eklavya Online

Phalcon Interview Questions

What is PHQL?

PHQL (Phalcon Query Language) allows user to implement query language similar to SQL query language. PHQL is implemented as a parser which connects to RDBMS.

Enlist the features of PHQL.

It secures the code using bound parameters. It prevents injection by executing one SQL statement per call. It ignores all comments which mostly used in SQL injections. It only allows data manipulation statement to execute.

Explain routing in Phalcon.

Routing managed by its Router component. Router components allow us to define routes that are mapped to controllers or handlers that receives the request from the application.

What is Session?

Sessions are server-side information storage which helps in user interaction with the website or web application. Each session is consists of unique session ID, which is passed to the web server whenever the browser makes an HTTP request.