Getting Started with Phalcon

Expand your PHP developer skills into the arena of creating web applications faster and better with Phalcon. Explore the MVC architecture and enjoy the ease of learning through practical instructions and screenshots.

Getting Started with Phalcon

Starting
Stephan A. Miller

Expand your PHP developer skills into the arena of creating web applications faster and better with Phalcon. Explore the MVC architecture and enjoy the ease of learning through practical instructions and screenshots.
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2016

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781783287673
Paperback138 pages

Book Description

Phalcon is an open source PHP framework which makes developing with PHP easier and more efficient by combining the speed and performance of C with the unique development features of the MVC architecture. Phalcon is installed as a PHP module so you don’t have to download an archive like you do with other frameworks, and building projects is made easier with its controllers and models. The Phalcon Query Language (PHQL) makes this tool even more expressive and clean. Its reputation as the most downloaded PHP tool is definitely justified by its rich offerings. This tutorial provides you with the knowledge you need to build your very own web application with the revolutionary Phalcon framework. This comprehensive guide will start by describing the installation of Phalcon PHP. You will then learn how to build projects and how to further utilize the Phalcon Developer Tools to build models, views, and controllers with the central example of a blog application. Features like PHQL are also explained and implemented effectively throughout the book. The genius in you will be revered by the stunning web application that you will be able to create by reading this book. This handy guide gives you a detailed introduction to using the remarkable Phalcon framework to develop web applications. You will begin by learning how to install the Phalcon module and how to build your own projects. The blog application is the central example throughout the book, and by using Phalcon Developer Tools and web tools, you will create and optimize the basic skeleton for your application with ease and efficiency. You will learn how to add rich features to your blog using Phalcon Views, Models, and Controllers. You will also gain expertise in Phalcon functionalities like the Volt template engine, view helpers, PHQL, and so on. This is an invaluable tutorial for enthusiasts and developers alike who wish to use the fascinating Phalcon PHP framework to rapidly design and develop impressive web applications.

Table of Contents

Chapter 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
Chapter 2: Setting Up a Phalcon Project
Folder structure
Using .htaccess files
The bootstrap file
Using a configuration file
Phalcon Developer Tools
Setting up Phalcon\Debug
Nginx configuration
Summary
Chapter 3: Using Phalcon Models, Views, and Controllers
Introducing MVC
Creating a database
Creating a model
Creating a controller
Creating CRUD scaffolding
Examining our Posts model
Examining our Posts controller
Examining our Post views
Summary
Chapter 4: Handling Data in Phalcon
Adding 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
Chapter 5: Using Phalcon's Features
Hashing passwords with Phalcon
Using Phalcon view helpers
Setting cookies
Controlling user access
Applying the finishing touches to our application
Sending update pings
Using view partials
Caching in Phalcon
Setting up a cache service
Routing in Phalcon
Other project types of Phalcon
Summary

What You Will Learn

  • Learn how to work with Phalcon developer
  • Work with Phalcon Developer Tools to generate application skeletons by building your blog application
  • Understand how PHQL is used to interact with databases like MySQL
  • Handle users, authorization, and session data in your Phalcon web application
  • Discover Phalcon's background tasks and the event manager
  • Create custom templates using the Volt engine
  • Manage your data relationships with Phalcon models

Authors

Table of Contents

Chapter 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
Chapter 2: Setting Up a Phalcon Project
Folder structure
Using .htaccess files
The bootstrap file
Using a configuration file
Phalcon Developer Tools
Setting up Phalcon\Debug
Nginx configuration
Summary
Chapter 3: Using Phalcon Models, Views, and Controllers
Introducing MVC
Creating a database
Creating a model
Creating a controller
Creating CRUD scaffolding
Examining our Posts model
Examining our Posts controller
Examining our Post views
Summary
Chapter 4: Handling Data in Phalcon
Adding 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
Chapter 5: Using Phalcon's Features
Hashing passwords with Phalcon
Using Phalcon view helpers
Setting cookies
Controlling user access
Applying the finishing touches to our application
Sending update pings
Using view partials
Caching in Phalcon
Setting up a cache service
Routing in Phalcon
Other project types of Phalcon
Summary

Book Details

ISBN 139781783287673
Paperback138 pages
Read More

Read More Reviews