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
- Zend Framework 2 Cookbook. If you are pretty handy with PHP, this book is the perfect way to access and understand the features of Zend Framework 2. You can dip into the recipes as you wish and learn at your own pace
Szczegóły ebooka
Zaloguj się, jeśli jesteś zainteresowany treścią pozycji.
Zend Framework 2 Cookbook. If you are pretty handy with PHP, this book is the perfect way to access and understand the features of Zend Framework 2. You can dip into the recipes as you wish and learn at your own pace
Ebook
Zend Framework 2 is the latest creation of World Wide Web infrastructure company Zend Technologies Ltd. This new PHP framework comes with tons of features and an attractive way of creating applications. Not only is the overall usability of the technology much better, but it also makes your applications more testable, something that is often overlooked.
Zend Framework 2 Cookbook will show you how applications are set up in Zend Framework 2 and how you can develop successfully in this massive framework. You will master features like Modules, Views, Controllers, and Authentication. The book also discusses the Event Manager, unit testing, and how to optimize your application.
The book begins with a discussion about setting up Zend Framework 2, and you will also look at how the framework itself works. By the end of this book, you will be able to create entire secure applications on your own and make sure they are tested and optimized for performance as well.
You will learn about sending and receiving e-mails, translation and localization of the application, and how to set up the framework on a Linux web server. You will also learn how to display data from the application to the user by using different display strategies and renderings. The creation of modules will also be discussed. Then, you will move on to look at how to authenticate users and make sure the developer knows how to pick the best method available. Unit testing, debugging, and enhancing the performance will also be covered in this book.
Zend Framework 2 Cookbook is a perfect book for anyone who wants to start developing with Zend Framework 2.
Zend Framework 2 Cookbook will show you how applications are set up in Zend Framework 2 and how you can develop successfully in this massive framework. You will master features like Modules, Views, Controllers, and Authentication. The book also discusses the Event Manager, unit testing, and how to optimize your application.
The book begins with a discussion about setting up Zend Framework 2, and you will also look at how the framework itself works. By the end of this book, you will be able to create entire secure applications on your own and make sure they are tested and optimized for performance as well.
You will learn about sending and receiving e-mails, translation and localization of the application, and how to set up the framework on a Linux web server. You will also learn how to display data from the application to the user by using different display strategies and renderings. The creation of modules will also be discussed. Then, you will move on to look at how to authenticate users and make sure the developer knows how to pick the best method available. Unit testing, debugging, and enhancing the performance will also be covered in this book.
Zend Framework 2 Cookbook is a perfect book for anyone who wants to start developing with Zend Framework 2.
- Zend Framework 2 Cookbook
- Table of Contents
- Zend Framework 2 Cookbook
- 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. Zend Framework 2 Basics
- Introduction
- Setting up a Zend Framework 2 project
- Getting ready
- How to do it
- Cloning the skeleton
- Moving the skeleton
- Initializing the Composer
- How it works
- Theres more
- See also
- Handling routines
- How to do it
- Setting up routing
- Using SimpleRouteStack
- Using TreeRouteStack
- How it works
- There's more
- Namespace Zend\Mvc\Router\Http
- The Hostname class explained
- The Literal class explained
- Methods explained
- The Part class explained
- Regex explained
- The Scheme class explained
- The Segment class explained
- Namespace Zend\Mvc\Router\Http
- How to do it
- Understanding dependency injection
- How to do it
- Initializing the DI at call-time
- Initializing the DI through a Configuration object
- How it works
- The DI only gives out one instance of an object
- Defining either all properties, or using a Fully Qualified (FQ) setter parameter
- There's more
- How to do it
- Using configurations to your benefit
- How to do it
- Creating a global configuration
- Creating configuration that only works for a local machine
- Editing your application.config.php file
- How it works
- There's more
- How to do it
- The EventManager and Bootstrap classes
- How to do it
- Using the bootstrap
- Starting a session
- Using the EventManager class
- Changing the View output
- How it works
- The Observer pattern explained
- Aspect-Oriented Programming (AOP) explained
- Event-driven architecture explained
- There's more
- How to do it
- 2. Translating and Mail Handling
- Introduction
- Translating your application
- Getting ready
- How to do it
- Setting up and checking the essentials
- Translating strings in the controller
- Translating strings in the View
- Translating strings with Poedit
- How it works
- Basic set up of translation in your module
- There's more
- PHP array
- Gettext
- Ini
- Localizing your application
- How to do it
- So it begins
- Localizing currencies
- Localizing date/times
- How it works
- Identifying the client language
- Localizing currencies and dates
- How to do it
- Sending mail
- How to do it
- Transport\Sendmail
- Transport\Smtp
- Transport\File
- How it works
- Sending mail through SMTP
- Sending mail through files
- How to do it
- Receiving mail
- Getting ready
- How to do it
- Connecting to an IMAP mail server
- Connecting to a POP3 mail server
- Working with flags on IMAP or Maildir connections
- Maildir++ Quota system
- Keeping a connection alive
- How it works
- Connecting to a POP3 server
- About the Maildir++ Quota system
- Keeping the connection alive
- There's more
- 3. Handling and Decorating Forms
- Introduction
- Creating forms
- Getting ready
- How to do it
- Creating a basic form
- Defining a form that is extended from Zend\Form
- Defining a form that uses the Zend\Form\Annotation
- Adding elements to a Zend\Form extend form
- Adding elements to an annotated form
- Validating form input
- How it works
- Setting up a basic form
- Setting up an annotated form
- Adding elements to the form
- Forms, filtering, and validation
- There's more
- Using form view helpers
- How to do it
- Form
- FormButton
- FormCaptcha
- FormCheckbox
- FormCollection
- FormColor
- FormDate, FormDateTime, and FormDateTimeLocal
- FormEmail
- FormFile
- FormHidden
- FormImage
- FormInput
- FormLabel
- FormElementErrors
- How it works
- Form
- FormButton
- FormCaptcha
- FormCheckbox
- FormCollection
- FormColor
- FormDate, FormDateTime, and FormDateTimeLocal
- FormEmail
- FormFile
- FormHidden
- FormImage
- FormInput
- FormLabel
- FormElementErrors
- How to do it
- Creating a custom form element and form view helper
- How to do it
- Creating the new element
- Creating the new view helper
- Adding view helper to the configuration
- Displaying the new element
- Creating the new element
- How it works
- Creating the element
- What did we do
- How to do it
- 4. Using View
- Introduction
- Working with View
- Getting ready
- How to do it
- Configure the ViewManager
- Set variables in the ViewModel instance
- Mark up the template file
- How it works
- The configuration
- The ViewModel instance
- The ViewStrategy class
- The ViewRenderer helper
- Getting ready
- How to do it
- The BasePath view helper
- The Doctype view helper
- The URL view helper
- The Partial view helper
- How it works
- Zend\View\Helper\AbstractHelper
- The BasePath view helper explained
- The Doctype view helper explained
- The URL view helper explained
- The Partial view helper explained
- There's more
- Creating a global layout template
- Getting ready
- How to do it
- Creating the main layout file
- Creating the error templates
- How it works
- Creating reusable Views
- Getting ready
- How to do it
- Use the Action view helper to get the re-usable content
- Define a child to the ViewModel instance
- How it works
- The Action view helper explained
- Defining a child to a ViewModel instance explained
- Pros and cons
- Using view strategies/renderers
- Getting ready
- How to do it
- Adding a view strategy
- The JSON strategy
- The Feed strategy
- How it works
- The view strategy class
- The default view strategies
- The JSON strategy explained
- The Feed strategy explained
- More about view strategies
- Using context switching for a different output
- Getting ready
- How to do it
- Define multiple strategies to output
- Determine the view model based on the Accept header
- How it works
- There's more
- Writing a custom view strategy/renderer
- How to do it
- Creating the XmlOutput renderer
- How it works
- The XmlRenderer and XmlModel
- The XmlStrategy
- There's more
- How to do it
- 5. Configuring and Using Databases
- Introduction
- Default database engines available
- IBM DB2 driver
- MySQLi driver
- OCI8 driver
- PGSQL driver
- SQLSRV driver
- PDO driver
- Default database engines available
- Connecting to a database
- Getting ready
- How to do it
- Connecting to a MySQL database through the configuration
- Connecting to multiple databases through the configuration
- Connecting to a MySQL database through code
- How it works
- Connecting to a MySQL database through the configuration
- Connecting to multiple databases through the configuration
- About the ServiceManager
- Executing simple queries
- Getting ready
- How to do it
- Using raw SQL
- Using the prepared statements
- Quote identifier
- Quote identifier chain
- Quote (trusted) value
- Quote value list
- Quote identifier in fragment
- How it works
- Using raw SQL
- Using prepared statements
- Quoting in our SQL
- Using createStatement
- Executing queries using TableGateway
- Getting ready
- How to do it
- Inserting a new record
- Updating a record
- Deleting a record
- Advanced selects joins conditions
- How it works
- Optimizating with a DB profiler
- Getting ready
- How to do it
- Setting up a new profiler
- How it works
- There's more
- Creating a Database Access Object
- Getting ready
- How to do it
- Creating our new module and configuration
- Creating a connector
- Creating a mapper interface
- Creating an abstract mapper class
- Creating a Data Transfer Object
- Creating a mapper class
- How it works
- About the DAO
- About the recipe
- Introduction
- 6. Modules, Models, and Services
- Introduction
- Creating a new module
- Getting ready
- How to do it
- Creating the Module.php
- Attaching to the loadModules.postevent
- Implementing the getAutoloaderConfig
- Implementing the getControllerConfig, getControllerPluginConfig and getViewHelperConfig
- How it works
- Creating a new module directory
- Creating the Module.php
- Optionally act on ModuleManager events
- Understanding the loadModules event
- The loadModules.resolve event
- The loadModule event
- The loadModules.post
- Attaching to the loadModules.post event
- More specific non configuration file Module configuration
- The getAutoloaderConfig method
- The getControllerConfig, getControllerPluginConfig, and getViewHelperConfig methods
- Using modules as a widget
- Getting ready
- How to do it
- Creating the Comment/Controller/Index
- Using a view helper to display the comments statically
- Using the forward to render the comments statically
- Getting the comments through AJAX
- How it works
- Using a view helper to display the comments statically
- Using the forward() method to render the comments statically
- Getting the comments through AJAX
- About Widgetizing
- A Model and a Hydrator
- Getting ready
- How to do it
- Accessing the Model
- Creating a Hydrator
- Creating a Hydrator strategy
- How it works
- Think about the model's purpose
- Think about the model's location
- Think about the model's methods
- Unit test the model
- Document your class
- Creating a hydrator
- Creating a hydrator strategy
- About models
- There's more
- A basic service
- Getting ready
- How to do it
- Creating a service
- Getting a service from within a controller
- How it works
- 7. Handling Authentication
- Introduction
- Understanding Authentication methods
- Getting ready
- How to do it
- The DbTable adapter
- The Http adapter
- How it works
- The DbTable adapter (again)
- The Http adapter (again)
- The Digest adapter
- The LDAP adapter
- About Authentication
- Setting up a simple database Authentication
- Getting ready
- How to do it
- Setting up the module initialization
- Creating the authentication service
- Setting up the controller and action
- How it works
- Writing a custom Authentication method
- Getting ready
- How to do it
- Creating our adapter
- The adapter outline
- Creating a getter and setter for any error messages
- Making sure we have a secure connection
- Checking if the certificate is an actual certificate
- Checking if we have all the certificate fields
- Checking if the certificate isn't expired yet
- Creating a getter and setter for the Database adapter
- Creating the authenticate method
- How it works
- What are we trying to achieve
- About certificates
- There's more
- 8. Optimizing Performance
- Introduction
- Caching and when to Cache
- Getting ready
- How to do it
- Caching configuration
- Caching output
- Caching the class map
- How it works
- Understanding and using storage plugins
- How to do it
- Using the ClearExpiredByFactor plugin
- Using the ExceptionHandler plugin
- Using the IgnoreUserAbort plugin
- Using the OptimizeByFactor plugin
- Using the Serializer plugin
- Using any plugin
- How it works
- How to do it
- Setting up a caching system
- Getting ready
- How to do it
- Benchmarking our application before cache
- Implementing configuration/class map cache
- Implementing the class caching
- How it works
- 9. Catching Bugs
- Introduction
- Handling Exceptions your partner in crime
- Getting ready
- How to do it...
- Exception classes in Zend Framework 2
- Handling Exceptions on dispatch or rendering
- How it works...
- Exception classes in Zend Framework 2
- Handling exceptions on dispatch or rendering
- About try-catch
- See also
- Logging and how it makes your life easier
- Getting ready
- How to do it...
- Implementing a really simple file logger
- Implementing a FirePHP logger
- How it works...
- Implementing a really simple file logger
- Implementing a FirePHP logger
- About the Logger
- Unit testing why would you do it
- Getting ready
- How to do it...
- Pseudo-code examples
- How it works...
- What is unit testing
- When should we test? before, or after code is written
- It is a matter of discipline
- Setting up and using unit testing
- Getting ready
- How to do it...
- Setting up the test framework
- How it works...
- There's more...
- See also
- A. Setting up the Essentials
- Making sure you have all that you need
- Installing Zend Server Community Edition on a Linux environment
- Installing Zend Server Community Edition on a Windows environment
- First-time run of Zend Server
- See also
- Downloading Zend Framework 2 and finding its documentation
- Finding Zend Framework 2
- Coding in the phpcloud
- The documentation and getting started guide
- See also
- Composer and its uses within Zend Framework 2
- The composer.json file
- Upgrading packages
- See also
- Basic Zend Framework 2 structures
- Folder config
- Folder module
- Folder public
- Folder vendor
- File init_autoloader.php
- What's next?
- About storage adapters and patterns
- Storage adapter's implementations
- Storage adapters
- Apc caching
- Dba caching
- File system caching
- Memcached caching
- Memory caching
- Redis caching
- Session caching
- WinCache caching
- XCache caching
- ZendServerDisk caching
- ZendServerShm caching
- Cache patterns
- The CallbackCache pattern
- The CaptureCache pattern
- The ClassCache pattern
- The ObjectCache pattern
- The OutputCache pattern
- The PatternOptions pattern
- Explaining the difference
- Making sure you have all that you need
- Index
- Tytuł: Zend Framework 2 Cookbook. If you are pretty handy with PHP, this book is the perfect way to access and understand the features of Zend Framework 2. You can dip into the recipes as you wish and learn at your own pace
- Autor: Josephus Callaars
- Tytuł oryginału: Zend Framework 2 Cookbook. If you are pretty handy with PHP, this book is the perfect way to access and understand the features of Zend Framework 2. You can dip into the recipes as you wish and learn at your own pace.
- ISBN: 9781849694858, 9781849694858
- Data wydania: 2013-12-19
- Format: Ebook
- Identyfikator pozycji: e_3cgh
- Wydawca: Packt Publishing