---
product_id: 31765183
title: "Yii2 By Example"
price: "€ 75.72"
currency: EUR
in_stock: true
reviews_count: 9
url: https://www.desertcart.ie/products/31765183-yii2-by-example
store_origin: IE
region: Ireland
---

# Yii2 By Example

**Price:** € 75.72
**Availability:** ✅ In Stock

## Quick Answers

- **What is this?** Yii2 By Example
- **How much does it cost?** € 75.72 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.ie](https://www.desertcart.ie/products/31765183-yii2-by-example)

## Best For

- Customers looking for quality international products

## Why This Product

- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Description

Develop complete web applications from scratch through practical examples and tips for beginners and more advanced users About This Book Improve your programming experience and become a full stack developer Master real-life web applications, and create and manage four different projects Step-by-step guidance to develop real-world web applications smoothly Who This Book Is For This book is for anyone who wants to discover and explore Yii Framework. Basic programming experience with PHP and object oriented programming is assumed. What You Will Learn Understand basic concepts, along with the installation and customization of Yii Discover models, controllers, and views-concepts applied in a web context-and how they are employed in Yii Use ActiveRecord to manipulate a database Add access control to your web application through authentication and authorization Install and customize an advanced template for multiple applications in the same project Create a RESTful Web Service to allow remote access to data Develop a console application to launch a command in the console as an automated task (cron job) Make code reusable through widgets and components and localize text messages to make a multilanguage web app In Detail Yii is a high-performance PHP framework best for developing Web 2.0 applications. It provides fast, secure, and professional features to create robust projects, however, this rapid development requires the ability to organize common tasks together to build a complete application. It's all too easy to get confused; this is where this book comes in. This book contains a series of practical project examples for developers starting from scratch. Each section contains the most relevant theories for every topic as you walk through developing each project, focusing on key aspects that commonly confuse users. The book starts with all the framework's basic concepts, such as controllers and views, to introduce you to Yii and creating your first application, a simple news reader. You will be learn to configure URL rules to make a pretty URL, essential for search engine optimization. Next, you will walk through Model and ActiveRecord, key concepts in database interaction. The second application you will develop is a reservation system that allows you to manage rooms, customers, and reservations. For this, you will use database connection through SQL and ActiveRecord. More complex than the first one, this application will introduce you to the advanced template of Yii 2, splitting the app into two parts: a frontend for all visitors and a backend for the admin. Finally, you will move on to the last two applications: one that allows connections from remote clients, through RESTful components of Yii 2, and another that creates and organizes automatic tasks using the console application structure of Yii 2.

Review: Five Stars - Excellent book, I can't recommend it enough for anyone wanting to learn this framework!
Review: Really useful for Yii2 beginners and intermediates alike. - I was one of the technical reviewers on this book, and have thus read the book thoroughly from start to end. The book requires a working knowledge of PHP and associated technologies, but as long as you have that, you are bound to find the book useful. Whether you're just starting out with Yii2 or you've been playing around with it a bit, Yii2 By Example contains a lot of useful information. While a user with some experience in Yii2 development may not benefit a lot from the first few sections, in which everything is set up and explained, the book quickly becomes useful as it dives deeper, while still explaining things in an easy-to-understand manner. Of particular interest to those who are interested in developing more advanced Yii2 applications are the chapters that pertains to the advanced application template, such as the separation of frontend and backend with a common layer for models and configs, the development of a REST API, and of course creation of console commands that can be used in cronjobs or for maintenance tasks. One of the things I love about the 'By Example' series of books from Packt Publishing, is the way a lot of subjects are covered from multiple angles when possible. A good example of this, in Yii2 By Example, would be the access control sections, where multiple methods are shown and explained.

## Technical Specifications

| Specification | Value |
|---------------|-------|
| Best Sellers Rank | #5,515,194 in Books ( See Top 100 in Books ) #223 in PHP Programming #1,040 in Software Design Tools #14,561 in Programming Languages (Books) |
| Customer Reviews | 4.1 out of 5 stars 15 Reviews |

## Images

![Yii2 By Example - Image 1](https://m.media-amazon.com/images/I/611kWRbeHoL.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Five Stars
*by K***R on July 21, 2017*

Excellent book, I can't recommend it enough for anyone wanting to learn this framework!

### ⭐⭐⭐⭐⭐ Really useful for Yii2 beginners and intermediates alike.
*by T***N on October 30, 2015*

I was one of the technical reviewers on this book, and have thus read the book thoroughly from start to end. The book requires a working knowledge of PHP and associated technologies, but as long as you have that, you are bound to find the book useful. Whether you're just starting out with Yii2 or you've been playing around with it a bit, Yii2 By Example contains a lot of useful information. While a user with some experience in Yii2 development may not benefit a lot from the first few sections, in which everything is set up and explained, the book quickly becomes useful as it dives deeper, while still explaining things in an easy-to-understand manner. Of particular interest to those who are interested in developing more advanced Yii2 applications are the chapters that pertains to the advanced application template, such as the separation of frontend and backend with a common layer for models and configs, the development of a REST API, and of course creation of console commands that can be used in cronjobs or for maintenance tasks. One of the things I love about the 'By Example' series of books from Packt Publishing, is the way a lot of subjects are covered from multiple angles when possible. A good example of this, in Yii2 By Example, would be the access control sections, where multiple methods are shown and explained.

### ⭐⭐⭐⭐ it is an excelent way to learn this new version of yii framework
*by R***S on May 18, 2016*

it is an excelent way to learn this new version of yii framework, has many examples and very detailed, also you can download the code example.

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.ie/products/31765183-yii2-by-example](https://www.desertcart.ie/products/31765183-yii2-by-example)

---

*Product available on Desertcart Ireland*
*Store origin: IE*
*Last updated: 2026-06-10*