Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Yii perguntas e respostas de entrevista

Pergunta 1. What is Yii?

Yii is a high-performance PHP framework for developing web applications.

Example:

// Yii::app()->run();

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 2. Explain MVC architecture in Yii.

Yii follows the Model-View-Controller architectural pattern where the model represents the data, the view displays the data, and the controller handles user input and updates the model and view.

Example:

// class PostController extends CController { }

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 3. What is Yii's ActiveRecord?

Yii's ActiveRecord is an implementation of the Active Record pattern, providing an object-oriented interface for interacting with database tables.

Example:

// $post = new Post; $post->title = 'New Post'; $post->save();

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 4. Explain Yii's Gii tool.

Gii is a web-based code generation tool provided by Yii that helps in quickly generating code for models, controllers, forms, and more.

Example:

http://your-app/index.php?r=gii

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 5. What is Yii's widget?

Widgets in Yii are reusable components that can be embedded in views or layouts to encapsulate complex UI functionality.

Example:

// Yii::app()->widget('application.widgets.MyWidget', array('param'=>'value'));

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.