Learning Path: Yii 2: Design Applications with PHP
What you'll learn
- Explore Yii 2 framework and application development using it.
- Write your applications more efficiently using shortcuts, Yii’s core functionality, and the best practices in Web 2.0.
- Learn to use Yii 2 with different JavaScript Frameworks and libraries such as WebSockets, Angular, Ember, Backbone, React.
- Develop a deep understanding of writing RESTful Web Services using Yii 2 and its built-in features.
- Get data from database, and deal with Active Record, migrations, widgets, and core features.
- Implement your own Yii extension and make your extension reusable and useful for the community.
- Gain knowledge on the best technologies, such as Codeception, PHPUnit, Atoum, and Behat.
- Build attractive user interface for your application with Twitter Bootstrap framework.
Course content
- Preview04:57
- 18:00Installing the Framework
- 06:57Dependency Injection Container
- 04:13Service Locator
- 05:26Code Generation
- 02:51Configuring Components
- 05:19Working with Events
- 08:32Using External Code
- Preview04:48
- 04:58Generating URLs
- 03:24Using Regular Expressions in URL Rules
- 02:34Using a base controller
- 04:01Using Standalone Actions
- 02:39Creating a Custom Filter
- 02:15Displaying Static Pages
- 03:05Using Flash Messages
- 01:26Using the Controller Context in a View
- 03:03Reusing Views with Partials
- 02:03Using Blocks
- 01:40Using Decorators
- 02:31Defining Multiple Layouts
- 03:17Pagination and Sorting Data
- Preview04:52
- 05:12Defining and Using Multiple DB Connections
- 03:44Customizing the ActiveQuery Class
- 02:47Processing Model Fields with AR Event-like Methods
- 03:21Automating Timestamps
- 04:03Setting Up an Author Automatically
- 04:39Setting Up a Slug Automatically
- 02:59Transactions
- 02:56Replication and Read-write Splitting
- 03:50Implementing Single-table Inheritance
- Preview03:07
- 04:04Uploading Files
- 04:13Adding and Customizing CaptchaWidget
- 02:15Customizing Captcha
- 02:31Creating a Custom Input Widget
- 04:40Tabular Input
- 03:36Complex Forms with Multiple Models
- 02:35AJAX Validation
- Preview03:48
- 05:37Using Controller Filters
- 04:03Preventing XSS
- 04:48Preventing SQL injections
- 05:35Preventing CSRF
- 06:35Using RBAC
- 03:34Encrypting/Decrypting Data
- Preview07:28
- 01:42Authenticating REST APIs
- 04:34Rate Limiting
- 03:13Versioning
- 01:33Error Handling
- Preview04:32
- 06:08SwiftMailer E-mail Library
- 03:42Faker Fixture Data Generator
- 02:15Imagine Library
- 06:52MongoDB Driver
Requirements
- Basic knowledge of PHP 5.0 and Yii Framework.
Description
Are you a PHP developer working on Yii framework? Do you want explore the new features of Yii 2 for creating fast-paced, secured web 2.0 based applications? If yes, this Learning Path is for you.
Yii is a high-performance, component-based PHP framework for rapidly developing modern web applications. The name Yii can be considered as the acronym for Yes It Is!. Yii 2 inherits the main spirit behind Yii for being a simple, fast, highly-extensible PHP framework.
Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that video builds on the skills learned in the video before it.
This Learning Path begins with installing Yii 2 framework, learning about application templates, dependency injection container, and model events. Then, you’ll learn to use your external code along with updating your existing Yii 1 applications to Yii 2. Also, you’ll be familiar with some main methods for working with databases in Yii 2, such as Active Record, Query Builder, and direct SQL queries through DAO. Next, you’ll learn to write RESTful Web Services using Yii 2. Further, you’ll learn to deploy and test your applications securely with introduction to some best technologies, such as Codeception, PHPUnit, Atoum, and Behat. As the Learning Path progresses, you’ll be introduced to Git and its most used commands to work smoothly in a distributed team. You’ll also learn to develop customized and reliable web applications along with making these applications responsive using Twitter Bootstrap framework. Finally, you’ll learn to secure your applications by encrypting and decrypting data using Yii 2 components.
By the end of this Learning Path, you will have a deep understanding of the new and advanced features and concepts introduced in Yii 2 framework and application development practices using it.
About the Authors:
For this course, we have combined the best works of these esteemed authors:
Alexander Makarov is an experienced engineer from Russia and has been an Yii framework core team member since 2010. Before joining the Yii core team, he participated in the growth of the CodeIgniter community in Russia. . He has been a technical reviewer for books on Yii as well.
Dmitry Eliseev has been a web developer since 2008 and specializes in server-side programming on the PHP and PHP frameworks. Since 2012, he has authorized his personal blog, about web development in general and about the Yii framework in particular. His blog has become a well-known resource in the Russian Yii community.
Andrew Bogdanov is a seasoned web developer from Yekaterinburg, Russia with more than six years of experience in industrial development. Since 2010 he has been interested in the Yii and MVC frameworks. He has worked on various CMS and frameworks using PHP and MySQL, including Yii, Kohana, Symphony, Joomla, WordPress, CakePHP, and so on. He is very good in slicing and frontend, so he can provide full information about the Yii framework.
Vitalii Tron has about 7 years of experience in programming and he has been developing Yii-based applications for 4 years. He graduated from the Sumy State University in the Mechanical-Mathematics School of Computer Science department. He also successfully finished post-graduate courses at the same department. Vitalii has amazing job history at Elance, where his clients have left delighted feedback about his work.
Who this course is for:
- This Learning Path is for PHP developers who want to use the new features of Yii 2 to develop modern web applications. Also, people who have already worked on the Yii 1 version framework and want to migrate to Yii 2 will find this Learning Path useful.
Featured review
Instructor
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.