skip to content
Yii application development cookbook Preview this item
ClosePreview this item
Checking...

Yii application development cookbook

Author: Andrew Bogdanov; Dmitry Eliseev; Alexander Makarov
Publisher: Birmingham : Packt, 2016.
Edition/Format:   eBook : Document : English : Third editionView all editions and formats
Summary:
Annotation
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy online

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Andrew Bogdanov; Dmitry Eliseev; Alexander Makarov
ISBN: 9781785281495 1785281496
OCLC Number: 962902562
Description: 1 online resource
Contents: Cover; Copyright; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Fundamentals; Introduction; Installing the framework; Application templates; Dependency injection container; Service locator; Code generation; Configuring components; Working with events; Using external code; Chapter 2: Routing, Controllers, and Views; Introduction; Configuring URL rules; Generating URLs; Using regular expressions in URL rules; Using a base controller; Using standalone actions; Creating a custom filter; Displaying static pages; Using flash messages. Using the controller context in a viewReusing views with partials; Using blocks; Using decorators; Defining multiple layouts; Pagination and sorting data; Chapter 3: ActiveRecord, Model, and Database; Introduction; Getting data from a database; Defining and using multiple DB connections; Customizing the ActiveQuery class; Processing model fields with AR event-like methods; Automating timestamps; Setting up an author automatically; Setting up a slug automatically; Transactions; Replication and read-write splitting; Implementing single table inheritance; Chapter 4: Forms; Introduction. Writing your own validatorsUploading files; Adding and customizing CaptchaWidget; Customizing Captcha; Creating a custom input widget; Tabular input; Conditional validation; Complex forms with multiple models; AJAX-dependent drop-down list; AJAX validation; Creating a custom client-side validation; Chapter 5: Security; Introduction; Authentication; Using controller filters; Preventing XSS; Preventing SQL injections; Preventing CSRF; Using RBAC; Encrypting/Decrypting data; Chapter 6: RESTful Web Services; Introduction; Creating a REST server; Authentication; Rate limiting; Versioning. Error handlingChapter 7: Official Extensions; Introduction; Authentication client; SwiftMailer e-mail library; Faker fixture data generator; Imagine library; MongoDB driver; ElasticSearch engine adapter; Gii code generator; Pjax jQuery plugin; Redis database driver; Chapter 8: Extending Yii; Introduction; Creating helpers; Creating model behaviors; Creating components; Creating reusable controller actions; Creating reusable controllers; Creating a widget; Creating CLI commands; Creating filters; Creating modules; Creating a custom view renderer; Creating a multilanguage application. Making extensions distribution-readyChapter 9: Performance Tuning; Following best practices; Speeding up session handling; Using cache dependencies and chains; Profiling an application with Yii; Leveraging HTTP caching; Combining and minimizing assets; Running Yii2 on HHVM; Chapter 10: Deployment; Introduction; Changing the Yii directory layout; Moving an application webroot; Changing an advanced application template; Moving configuration parts into separate files; Using multiple configurations to simplify the deployment; Implementing and executing cron jobs; Maintenance mode.
Other Titles: Yes It Is application development cookbook
Responsibility: Andrew Bogdanov, Dmitry Eliseev, Alexander Makarov.

Abstract:

Annotation

Discover 100 useful recipes that will bring the best out of the Yii2 framework and be on the bleeding edge of web development todayAbout This Book Learn how to use Yii2 efficiently through clear examples and core features, and see how to use tests, create reusable code snippets, core widgets, deployment, and more This book provides you with a wide space for practice approaches and helps you to learn about the new Yii2 framework. Understand the difference between the Yii 1.x.x versions using useful examples from real web applicationsWho This Book Is ForThis book is for developers with good PHP5 knowledge and MVC-frameworks who have tried to develop applications using the Yii 1.x.x version. This book will very useful for all those who would like to try Yii2, or those who are afraid to move from Yii 1.x.x. to Yii2. If you have still not tried Yii2, this book is definitely for you!What You Will Learn See the new version of the Yii2 framework and application development practices Write your applications more efficiently using shortcuts, Yii's core functionality, and the best practices in Web 2.0 Get data from a database, and deal with Active Record, migrations, widgets, and core features Easily update your skills from the previous version of the framework Explore how to use Yii with different JavaScript frameworks and libraries such as WebSockets, Angular, Ember, Backbone and React Learn how to keep your application secure according to the general web application security principle "filter input, escape output. Write RESTfull Web Services using Yii2 and built-in features Correctly install and use official extensions in your projects Effectively create and implement your own Yii extension, and also ensure your extension is reusable and useful for the communityIn DetailYii is a free, open source web application development framework written in PHP5 that promotes clean DRY design and encourages rapid development. It works to streamline your application development time and helps to ensure an extremely efficient, extensible, and maintainable end product. Being extremely performance optimized, Yii is a perfect choice for any size project. However, it has been built with sophisticated, enterprise applications in mind. You have full control over the configuration from head-to-toe (presentation-to-persistence) to conform to your enterprise development guidelines. It comes packaged with tools to help test and debug your application, and has clear and comprehensive documentation. This book is a collection of Yii2 recipes. Each recipe is represented as a full and independent item, which showcases solutions from real web-applications. So you can easily reproduce them in your environment and learn Yii2 fast and without tears. All recipes are explained with step-by-step code examples and clear screenshots. Yii2 is like a suit that looks great off the rack, but is also very easy to tailor to fit your needs. Virtually every component of the framework is extensible. This book will show how to use official extensions, extend any component, or write a new one. This book will help you create modern web applications quickly, and make sure they perform well using examples and business logic from real life. You will deal with the Yii command line, migrations, and assets. You will learn about role-based access, security, and deployment. We'll show you how to easily get started, configure your environment, and be ready to write web applications efficiently and quickly. Style and approachThe chapters of this book are independent and offer a practical approach to Yii development. You can start reading from the chapter you need most, be it Ajax and jQuery, RESTful Web Services, Database, Active Record, or Official Extensions.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/962902562> # Yii application development cookbook
    a schema:CreativeWork, schema:MediaObject, schema:Book ;
    library:oclcnum "962902562" ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/3890072560#Place/birmingham> ; # Birmingham
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/enk> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/3890072560#Topic/web_site_development> ; # Web site development
    schema:about <http://experiment.worldcat.org/entity/work/data/3890072560#Topic/application_software_development> ; # Application software--Development
    schema:about <http://dewey.info/class/005.3/e23/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/3890072560#Topic/computers_software_development_&_engineering_general> ; # COMPUTERS--Software Development & Engineering--General
    schema:about <http://experiment.worldcat.org/entity/work/data/3890072560#Topic/php_computer_program_language> ; # PHP (Computer program language)
    schema:about <http://experiment.worldcat.org/entity/work/data/3890072560#Topic/web_applications> ; # Web applications
    schema:alternateName "Yes It Is application development cookbook" ;
    schema:bookEdition "Third edition." ;
    schema:bookFormat schema:EBook ;
    schema:contributor <http://experiment.worldcat.org/entity/work/data/3890072560#Person/makarov_alexander> ; # Alexander Makarov
    schema:contributor <http://experiment.worldcat.org/entity/work/data/3890072560#Person/eliseev_dmitry> ; # Dmitry Eliseev
    schema:creator <http://experiment.worldcat.org/entity/work/data/3890072560#Person/bogdanov_andrew> ; # Andrew Bogdanov
    schema:datePublished "2016" ;
    schema:description "Annotation"@en ;
    schema:description "Cover; Copyright; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Fundamentals; Introduction; Installing the framework; Application templates; Dependency injection container; Service locator; Code generation; Configuring components; Working with events; Using external code; Chapter 2: Routing, Controllers, and Views; Introduction; Configuring URL rules; Generating URLs; Using regular expressions in URL rules; Using a base controller; Using standalone actions; Creating a custom filter; Displaying static pages; Using flash messages."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/3890072560> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:name "Yii application development cookbook"@en ;
    schema:productID "962902562" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/962902562#PublicationEvent/birmingham_packt_2016> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/3890072560#Agent/packt> ; # Packt
    schema:url <http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1419898> ;
    schema:url <https://proquest.safaribooksonline.com/9781785281761> ;
    schema:url <http://www.myilibrary.com?id=969514> ;
    schema:url <http://public.ebookcentral.proquest.com/choice/publicfullrecord.aspx?p=4741056> ;
    schema:url <http://lib.myilibrary.com?id=969514> ;
    schema:url <http://public.eblib.com/choice/publicfullrecord.aspx?p=4741056> ;
    schema:url <http://proquest.safaribooksonline.com/9781785281761> ;
    schema:workExample <http://worldcat.org/isbn/9781785281495> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/962902562> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/3890072560#Person/bogdanov_andrew> # Andrew Bogdanov
    a schema:Person ;
    schema:familyName "Bogdanov" ;
    schema:givenName "Andrew" ;
    schema:name "Andrew Bogdanov" ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Person/eliseev_dmitry> # Dmitry Eliseev
    a schema:Person ;
    schema:familyName "Eliseev" ;
    schema:givenName "Dmitry" ;
    schema:name "Dmitry Eliseev" ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Person/makarov_alexander> # Alexander Makarov
    a schema:Person ;
    schema:familyName "Makarov" ;
    schema:givenName "Alexander" ;
    schema:name "Alexander Makarov" ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Topic/application_software_development> # Application software--Development
    a schema:Intangible ;
    schema:name "Application software--Development"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Topic/computers_software_development_&_engineering_general> # COMPUTERS--Software Development & Engineering--General
    a schema:Intangible ;
    schema:name "COMPUTERS--Software Development & Engineering--General"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Topic/php_computer_program_language> # PHP (Computer program language)
    a schema:Intangible ;
    schema:name "PHP (Computer program language)"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/3890072560#Topic/web_site_development> # Web site development
    a schema:Intangible ;
    schema:name "Web site development"@en ;
    .

<http://lib.myilibrary.com?id=969514>
    rdfs:comment "Connect to MyiLibrary resource." ;
    .

<http://worldcat.org/isbn/9781785281495>
    a schema:ProductModel ;
    schema:isbn "1785281496" ;
    schema:isbn "9781785281495" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.