Kategorie
Ebooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komputer w biurze
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Multimedialne szkolenia
- Nieruchomości
- Perswazja i NLP
- Podatki
- Polityka społeczna
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Raporty, analizy
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
E-prasa
- Architektura i wnętrza
- Biznes i Ekonomia
- Dom i ogród
- E-Biznes
- Finanse
- Finanse osobiste
- Firma
- Fotografia
- Informatyka
- Kadry i płace
- Komputery, Excel
- Księgowość
- Kultura i literatura
- Naukowe i akademickie
- Ochrona środowiska
- Opiniotwórcze
- Oświata
- Podatki
- Podróże
- Psychologia
- Religia
- Rolnictwo
- Rynek książki i prasy
- Transport i Spedycja
- Zdrowie i uroda
-
Historia
-
Informatyka
- Aplikacje biurowe
- Bazy danych
- Bioinformatyka
- Biznes IT
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronika
- Fotografia cyfrowa
- Grafika komputerowa
- Gry
- Hacking
- Hardware
- IT w ekonomii
- Pakiety naukowe
- Podręczniki szkolne
- Podstawy komputera
- Programowanie
- Programowanie mobilne
- Serwery internetowe
- Sieci komputerowe
- Start-up
- Systemy operacyjne
- Sztuczna inteligencja
- Technologia dla dzieci
- Webmasterstwo
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poemat
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Podręczniki szkolne
-
Popularnonaukowe i akademickie
- Archeologia
- Bibliotekoznawstwo
- Filmoznawstwo
- Filologia
- Filologia polska
- Filozofia
- Finanse i bankowość
- Geografia
- Gospodarka
- Handel. Gospodarka światowa
- Historia i archeologia
- Historia sztuki i architektury
- Kulturoznawstwo
- Lingwistyka
- Literaturoznawstwo
- Logistyka
- Matematyka
- Medycyna
- Nauki humanistyczne
- Pedagogika
- Pomoce naukowe
- Popularnonaukowa
- Pozostałe
- Psychologia
- Socjologia
- Teatrologia
- Teologia
- Teorie i nauki ekonomiczne
- Transport i spedycja
- Wychowanie fizyczne
- Zarządzanie i marketing
-
Poradniki
-
Poradniki do gier
-
Poradniki zawodowe i specjalistyczne
-
Prawo
- BHP
- Historia
- Kodeks drogowy. Prawo jazdy
- Nauki prawne
- Ochrona zdrowia
- Ogólne, kompendium wiedzy
- Podręczniki akademickie
- Pozostałe
- Prawo budowlane i lokalowe
- Prawo cywilne
- Prawo finansowe
- Prawo gospodarcze
- Prawo gospodarcze i handlowe
- Prawo karne
- Prawo karne. Przestępstwa karne. Kryminologia
- Prawo międzynarodowe
- Prawo międzynarodowe i zagraniczne
- Prawo ochrony zdrowia
- Prawo oświatowe
- Prawo podatkowe
- Prawo pracy i ubezpieczeń społecznych
- Prawo publiczne, konstytucyjne i administracyjne
- Prawo rodzinne i opiekuńcze
- Prawo rolne
- Prawo socjalne, prawo pracy
- Prawo Unii Europejskiej
- Przemysł
- Rolne i ochrona środowiska
- Słowniki i encyklopedie
- Zamówienia publiczne
- Zarządzanie
-
Przewodniki i podróże
- Afryka
- Albumy
- Ameryka Południowa
- Ameryka Środkowa i Północna
- Australia, Nowa Zelandia, Oceania
- Austria
- Azja
- Bałkany
- Bliski Wschód
- Bułgaria
- Chiny
- Chorwacja
- Czechy
- Dania
- Egipt
- Estonia
- Europa
- Francja
- Góry
- Grecja
- Hiszpania
- Holandia
- Islandia
- Litwa
- Łotwa
- Mapy, Plany miast, Atlasy
- Miniprzewodniki
- Niemcy
- Norwegia
- Podróże aktywne
- Polska
- Portugalia
- Pozostałe
- Rosja
- Rumunia
- Słowacja
- Słowenia
- Szwajcaria
- Szwecja
- Świat
- Turcja
- Ukraina
- Węgry
- Wielka Brytania
- Włochy
-
Psychologia
- Filozofie życiowe
- Kompetencje psychospołeczne
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Audiobooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Nieruchomości
- Perswazja i NLP
- Podatki
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
Historia
-
Informatyka
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Popularnonaukowe i akademickie
-
Poradniki
-
Poradniki zawodowe i specjalistyczne
-
Prawo
-
Przewodniki i podróże
-
Psychologia
- Filozofie życiowe
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Kursy video
-
Bazy danych
-
Big Data
-
Biznes, ekonomia i marketing
-
Cyberbezpieczeństwo
-
Data Science
-
DevOps
-
Dla dzieci
-
Elektronika
-
Grafika/Wideo/CAX
-
Gry
-
Microsoft Office
-
Narzędzia programistyczne
-
Programowanie
-
Rozwój osobisty
-
Sieci komputerowe
-
Systemy operacyjne
-
Testowanie oprogramowania
-
Urządzenia mobilne
-
UX/UI
-
Web development
-
Zarządzanie
Podcasty
- Ebooki
- Programowanie
- Techniki programowania
- Yii Application Development Cookbook. This book is the perfect way to add the capabilities of Yii to your PHP5 development skills. Dealing with practical solutions through real-life recipes and screenshots, it enables you to write applications more efficiently. - Second Edition
Szczegóły ebooka
Zaloguj się, jeśli jesteś zainteresowany treścią pozycji.
Yii Application Development Cookbook. This book is the perfect way to add the capabilities of Yii to your PHP5 development skills. Dealing with practical solutions through real-life recipes and screenshots, it enables you to write applications more efficiently. - Second Edition
Ebook
The Yii framework is a rapidly growing PHP5 MVC framework often referred to as Rails for PHP. It has already become a solid base for many exciting web applications such as Stay.com and can be a good base for your developments, too. This book will help you to learn Yii quickly and in more depth for use in for your developments.Yii Application Development Cookbook will show you how to use Yii efficiently. You will learn about taking shortcuts using core features, creating your own reusable code base, using test driven development, and many more topics that will give you a lot of experience in a moderate amount of time.The second edition fixes all errata found in the first edition and also features new recipes on the client side, HTTP caching, and using Composer with Yii.The chapters of the book are generally independent and since this book's goal is to enhance a practical approach to Yii development, you can start reading from the chapter you need most, be it Ajax and jQuery, Database, Active Record, and Model Tricks, or Extending Yii.Yii Application Development Cookbook will help you to learn more about the Yii framework and application development practices in general, showing shortcuts and dangerous things you shouldn't do.With all the recipes grouped in 13 chapters, you will write your applications more efficiently using shortcuts and using Yii core functionality in a good way. The most interesting topics are; Yii application deployment, a guide to writing your own extensions, advanced error handling, debugging and logging, application security, performance tuning, and much more.Yii Application Development Cookbook will help you to learn more about the Yii framework and application development practices in general. You will write your applications more efficiently using shortcuts and using Yii core functionality in a good way.
- Yii Application Development Cookbook Second Edition
- Table of Contents
- Yii Application Development Cookbook Second Edition
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Under the Hood
- Introduction
- Using getters and setters
- How to do it...
- How it works...
- Theres more...
- See also
- Using Yii events
- How to do it...
- There's more...
- Further reading
- See also
- Using import and autoloading
- How to do it...
- How it works...
- There's more...
- Using exceptions
- How to do it
- How it works
- There's more...
- Configuring components
- How to do it
- How it works
- There's more...
- Configuring widget defaults
- How to do it
- See also
- Using Yii core collections
- How to do it
- Working with requests
- How to do it
- There's more...
- 2. Router, Controller, and Views
- Introduction
- Configuring URL rules
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Generating URLs by path
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using regular expressions in URL rules
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating URL rules for static pages
- Getting ready
- How to do it...
- How it works...
- See also
- Providing your own URL rules at runtime
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using a base controller
- Getting ready
- How to do it...
- How it works...
- Using external actions
- Getting ready
- How to do it...
- How it works...
- There's more
- Displaying static pages with CViewAction
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Using flash messages
- Getting ready
- How to do it...
- How it works...
- There's more
- Using the controller context in a view
- Getting ready
- How to do it...
- How it works...
- There's more
- Reusing views with partials
- Getting ready
- How to do it...
- How it works...
- There's more
- See also
- Using clips
- Getting ready
- How to do it...
- How it works...
- See also
- Using decorators
- Getting ready
- How to do it...
- How it works...
- There's more
- See also
- Defining multiple layouts
- Getting ready
- How to do it...
- How it works...
- See also
- Paginating and sorting data
- Getting ready
- How to do it...
- How it works...
- There's more
- 3. AJAX and jQuery
- Introduction
- Loading a block through AJAX
- Getting ready
- How to do it...
- How it works...
- There's more...
- Prevent including a bundled jQuery
- Further reading
- See also
- Managing assets
- Getting ready
- How to do it...
- How it works...
- There's more...
- What is inside the assets directory
- Publishing an entire directory
- Further reading
- See also
- Including resources in the page
- How to do it...
- How it works...
- There's more...
- Using custom script packages
- Registering linked resources
- Registering meta tags
- Further reading
- See also
- Working with JSON
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Passing configuration from PHP to JavaScript
- Getting ready
- How to do it...
- How it works...
- See also
- Handling variable number of inputs
- Getting ready
- How to do it...
- How it works...
- There's more
- See also
- Rendering content at the client side
- Getting ready
- How to do it...
- How it works...
- There's more
- See also
- 4. Working with Forms
- Introduction
- Writing your own validators
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- Uploading files
- Getting ready
- How to do it...
- How it works...
- There's more...
- File validation
- Further reading
- See also
- Adding CAPTCHA
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading:
- See also
- Customizing CAPTCHA
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating a custom input widget with CInputWidget
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 5. Testing Your Application
- Introduction
- Setting up the testing environment
- Getting ready
- How to do it...
- There's more...
- See also
- Writing and running unit tests
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using fixtures
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Testing the application with functional tests
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Generating code coverage reports
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 6. Database, Active Record, and Model Tricks
- Introduction
- Getting data from a database
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Defining and using multiple DB connections
- Getting ready
- How to do it...
- How it works...
- There's more...
- Cross-database relations
- Further reading
- See also
- Using scopes to get models for different languages
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Processing model fields with AR event-like methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Applying markdown and HTML
- Getting ready
- How to do it...
- How it works...
- There's more...
- Markdown syntax
- Yii markdown wrapper and usage
- See also
- Highlighting code with Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- Yii code highlighter
- More code highlighters
- See also
- Automating timestamps
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Setting up an author automatically
- Getting ready
- How to do it...
- How it works...
- See also
- Implementing single table inheritance
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using CDbCriteria
- How to do it...
- How it works...
- There's more...
- See also
- 7. Using Zii Components
- Introduction
- Using data providers
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Using grids
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using data from related Active Record models
- Further reading
- See also
- Using lists
- Getting ready
- How to do it...
- How it works...
- There's more...
- Adding sorting
- Customizing templates
- Customizing markup and data displayed
- Further reading
- See also
- Creating custom grid columns
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 8. Extending Yii
- Introduction
- Creating model behaviors
- Getting ready
- How to do it...
- How it works...
- There's more...
- CActiveRecordBehavior and CModelBehavior
- More behavior types
- Further reading
- See also
- Creating components
- Getting ready
- How to do it...
- How it works...
- There's more...
- Overriding existing application components
- Further reading
- See also
- Creating reusable controller actions
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Creating reusable controllers
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating a widget
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating CLI commands
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Creating filters
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating modules
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating a custom view renderer
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Making extensions distribution-ready
- Getting ready
- How to do it...
- How it works...
- There's more...
- 9. Error Handling, Debugging, and Logging
- Introduction
- Using different log routes
- Getting ready
- How to do it...
- How it works...
- There's more...
- Yii::trace versus Yii::log
- Yii::beginProfile and Yii::endProfile
- Log messages immediately
- Further reading
- See also
- Analyzing the Yii error stack trace
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Logging and using the context information
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Implementing your own smart 404 handler
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- 10. Security
- Introduction
- Using controller filters
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using CHtml and CHtmlPurifier to prevent XSS
- Getting ready
- How to do it...
- How it works...
- There's more...
- XSS types
- Configuring the HTML Purifier
- HTML Purifier performance
- Further reading
- See also
- Preventing SQL injections
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Preventing CSRF
- Getting ready
- How to do it...
- How it works...
- There's more...
- Extra measures
- Using GET and POST properly
- Further reading
- See also
- Using RBAC
- Getting ready
- How to do it...
- How it works...
- There's more...
- Naming RBAC nodes
- A way to keep the hierarchy simple and efficient
- Avoiding RBAC
- Further reading
- See also
- 11. Performance Tuning
- Introduction
- Following best practices
- Getting ready
- How to do it...
- How it works...
- There's more...
- Server-side performance is just a part of the big picture
- Things to be done without using Yii
- Active Record versus query builder and SQL
- Always check for slow queries first
- Cache or save results of heavy processes
- Handling too much processing
- Further reading
- See also
- Speeding up session handling
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using cache dependencies and chains
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Profiling an application with Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Leveraging HTTP caching
- Getting ready
- How to do it...
- How it works...
- There's more...
- Optimizing filters
- Further reading
- See also
- 12. Using External Code
- Introduction
- Using Zend Framework from Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Customizing the Yii autoloader
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Using Kohana inside Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Using PEAR inside Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Composer with Yii
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 13. Deployment
- Introduction
- Changing the Yii directory layout
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Moving an application out of webroot
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Sharing the framework directory
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Moving configuration parts into separate files
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using multiple configurations to simplify the deployment
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Implementing and executing cron jobs
- Getting ready
- How to do it...
- How it works...
- There's more...
- Further reading
- See also
- Maintenance mode
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Index
- Tytuł: Yii Application Development Cookbook. This book is the perfect way to add the capabilities of Yii to your PHP5 development skills. Dealing with practical solutions through real-life recipes and screenshots, it enables you to write applications more efficiently. - Second Edition
- Autor: Alexander Makarov, Yii
- Tytuł oryginału: Yii Application Development Cookbook. This book is the perfect way to add the capabilities of Yii to your PHP5 development skills. Dealing with practical solutions through real-life recipes and screenshots, it enables you to write applications more efficiently. - Second Edition
- ISBN: 9781782163114, 9781782163114
- Data wydania: 2013-04-25
- Format: Ebook
- Identyfikator pozycji: e_3cer
- Wydawca: Packt Publishing