By Fabrizio Caldarelli
Develop whole net purposes from scratch via sensible examples and suggestions for rookies and extra complicated users
About This Book
- Improve your programming adventure and develop into an entire stack developer
- Master real-life net functions, and create and deal with 4 diversified projects
- Step-by-step tips to enhance real-world net purposes smoothly
Who This ebook Is For
This publication is for somebody who desires to notice and discover Yii Framework. uncomplicated programming adventure with Hypertext Preprocessor and item orientated programming is assumed.
What you are going to Learn
- Understand uncomplicated suggestions, in addition to the install and customization of Yii
- Discover types, controllers, and views—concepts utilized in an internet context—and how they're hired in Yii
- Use ActiveRecord to govern a database
- Add entry regulate on your internet program via authentication and authorization
- Install and customise a complicated template for a number of functions within the comparable project
- Create a RESTful internet provider to permit distant entry to data
- Develop a console software to release a command within the console as an automatic activity (cron job)
- Make code reusable via widgets and elements and localize textual content messages to make a multilanguage net app
Yii is a high-performance personal home page framework most sensible for constructing net 2.0 purposes. It offers quick, safe, gains to create powerful initiatives, despite the fact that, this speedy improvement calls for the facility to arrange universal projects jointly to construct a whole software. it is all too effortless to get harassed; this can be the place this e-book comes in.
This publication features a sequence of functional undertaking examples for builders ranging from scratch. each one part includes the main correct theories for each subject as you stroll via constructing each one undertaking, concentrating on key facets that as a rule confuse users.
The ebook begins with all of the framework's uncomplicated recommendations, akin to controllers and perspectives, to introduce you to Yii and growing your first software, an easy information reader. you'll be discover ways to configure URL ideas to make URL, crucial for web optimization. subsequent, you'll stroll via version and ActiveRecord, key strategies in database interaction.
The moment program you'll strengthen is a reservation approach on the way to deal with rooms, shoppers, and reservations. For this, you are going to use database connection via SQL and ActiveRecord. extra complicated than the 1st one, this software will introduce you to the complex template of Yii 2, splitting the app into components: a frontend for all viewers and a backend for the admin. ultimately, you are going to movement directly to the final purposes: person who permits connections from distant consumers, via RESTful parts of Yii 2, and one other that creates and organizes automated initiatives utilizing the console software constitution of Yii 2.
Style and approach
This is a step by step advisor with every one subject brought within the context of real-world functions, highlighting universal instances the place clients could stumble upon difficulties.