

Buy anything from 5,000+ international stores. One checkout price. No surprise fees. Join 2M+ shoppers on Desertcart.
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Ireland.
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.
| 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 |
K**R
Five Stars
Excellent book, I can't recommend it enough for anyone wanting to learn this framework!
T**N
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.
R**S
it is an excelent way to learn this new version of yii framework
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.
A**O
Couldnt wait for this to be released
Nice and needed approach to move from Yii to Yii2 and also to start from scratch with this awesome framework. It covers everything I need to trace the correct path on building strong web apps (including the creation of an api to be connected from foreign services or mobile apps) and gives hints on searching for further functionalities.
Q**E
A missed opportunity
This could have been an excellent book to learn the Yii 2 framework. Its tutorial approach and pace are quite good. Unfortunately the writing is terrible. Poor explanations, code that doesn't work, plenty of typos everywhere... I can't believe this book was edited at all. Often it feels like a rough draft. I give it 2 stars because I don't know of any better book to learn Yii 2. Maybe when (if!) Larry Ullman finishes his... Anyway, I guess that after reading this, I will be prepared for Mastering Yii, which is way more thorough and better written, but not so beginner friendly.
D**6
A great book about Yii2
This is a great book for anyone who wants to learn about how to use the Yii2 framework. From the get-go, it starts by dealing with many of the questions that you might have been afraid to ask on the Yii forum. Questions like; * How do layouts work? * How can you switch between different types of page template? * How do you deal with re-usable snippets of HTML code? I think, when you're teaching Yii2 there's a temptation to go straight into the Gii and to show people how to quickly generate code with a few clicks. It's a great trick and it is bound to impress a few people. However, I think that kind of strategy is a flaw and thankfully the author doesn't fall down that trap. Instead, he takes the reader through all of the basics first, then - once you have a solid foundation - he'll move you onto the Gii. This is surely the best way of learning Yii2. All of the examples that the author walks you through are practical and clearly explained. Of course, later on it also goes beyond just ordinary webpage construction and goes into more advanced material like creating console applications and how to build restful APIs. Like any book, I'm sure it's not perfect. However, I think it is as good as any person could reasonably expect from a book on this kind of subject matter. It's a definite thumbs up from me.
A**R
Yii 2 - Exemplos de Uso do Framework
Acho que รฉ um recurso muito bom para quem trabalha com este framework. Tem servido de fonte de consulta na minha atividade profissional.
M**N
Five Stars
All is well and good.
C**I
Consegna di un articolo su due
Ero in attesa di una consegna costituita da due libri. Purtroppo, mi รจ arrivato un unico libro e, non ostante abbia segnalato che non mi รจ arrivato il pacco, non ho avuto alcun riscontro
Trustpilot
1 month ago
1 week ago