Phalcon Interview Questions – Set 02

Enlist the following services provided by Phalcon.

  • Database Independence
  • CRUD functionality
  • Advanced finding capabilities
  • Ability to relate models

How can we increase CSRF timeout in Phalcon ?

CSRF timeout is increased by increasing the token time because tokens default uses sessions.

Enlist the methods of loader.

  • Registering Namespaces
  • Registering Directories
  • Registering Classes
  • Registering Files

What is zephir in Phalcon?

Zephir stand for Ze(nd Engine) Ph(p) I(nt)r(mediate). It is used for creation and maintainability of extensions for PHP.

Which protocol is used to encrypt the password in Phalcon?

In Phalcon, md5, base64 and sh1 protocol is used to encrypt the password.

How can we access to backend in Phalcon?

It is provided by logging services for application. We can login to different backend using different adapters. It offers transaction logging, configuration options, different formats and filters.

What are cookies and its type?

Cookies stores small text files in browser. It is known as browser cookies.

Types of cookies are:

  • Session Cookies
  • Persistent Cookies

What is Phalcon?

Phalcon is an open-source framework of PHP programming language. Phalcon is the first framework that implements ORM in C-programming language.

Which template engine is used in Phalcon?

Phalcon uses Volt templating Engine. Volt provides Phalcon fast execution as it is very fast and designer friendly templating language written in C for PHP. Volt is inspired by Jinja and written by Armin Ronacher.

Enlist the database engines supported by Phalcon.

  • PhalconDbAdapterPdoMysql : Mysql
  • PhalconDbAdapterPdoPostgresql : Postgresql
  • PhalconDbAdapterPdoSqlite : SQLite