Cover image for Getting Started with Phalcon.
Getting Started with Phalcon.
Title:
Getting Started with Phalcon.
Author:
Miller, Stephan A.
ISBN:
9781783287680
Personal Author:
Physical Description:
1 online resource (157 pages)
Contents:
Getting Started with Phalcon -- Table of Contents -- Getting Started with Phalcon -- 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 -- Preface -- What this book covers -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Installing Phalcon -- Phalcon system requirements -- Installing Phalcon on Windows -- Installing Phalcon on Linux -- Installing Phalcon on Mac -- Installing Phalcon on FreeBSD -- Optional Phalcon dependencies -- Finding help -- Summary -- 2. Setting Up a Phalcon Project -- Folder structure -- Using .htaccess files -- The bootstrap file -- Handling exceptions -- Dependency Injection -- Autoloaders -- Initializing our application -- Using a configuration file -- Phalcon Developer Tools -- Installing Phalcon Developer Tools -- Generating a project skeleton -- Available commands -- The web interface -- IDE stubs -- Setting up Phalcon\Debug -- Nginx configuration -- Summary -- 3. Using Phalcon Models, Views, and Controllers -- Introducing MVC -- View -- Controller -- Model -- Creating a database -- Creating a model -- Creating a controller -- Creating CRUD scaffolding -- Examining our Posts model -- Examining our Posts controller -- Create -- Search -- Index -- New -- Edit -- Save -- Delete -- Show -- Examining our Post views -- Posts layout -- Index action view -- Search action view -- Edit action view -- New action view -- Summary -- 4. Handling Data in Phalcon -- Adding models -- Creating the database tables -- Generating the models -- Storing session data in Phalcon -- Filtering and sanitizing data -- Phalcon models revisited -- Using PHQL -- Switching databases in Phalcon.

Phalcon's Object-Document Mapper and MongoDB -- Migrating databases -- Summary -- 5. Using Phalcon's Features -- Hashing passwords with Phalcon -- Using Phalcon view helpers -- Using dynamic title tags -- Setting the doctype -- Adding JavaScript and CSS with view helpers -- Setting cookies -- Controlling user access -- Applying the finishing touches to our application -- Adding comments -- Adding feeds -- Sending update pings -- Using view partials -- Caching in Phalcon -- Setting up a cache service -- Using a Phalcon cache -- Routing in Phalcon -- Other project types of Phalcon -- Multimodule applications -- Micro applications -- Command-line applications -- Summary -- Index.
Abstract:
This step-by-step, practical guide filled with detailed steps and screenshots will help you discover the Phalcon extension and will enable you to build your blog application with Phalcon quickly and easily. If you are a PHP developer with some knowledge and experience of working with PHP and you want to develop stunning web applications easily and quickly, then this book is perfect for you. Learning how to use Phalcon is perhaps the best way to explore the MVC architecture.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: