PHOCOA PHP Framework

Intro Screencast: Build a simple blog app in 15 minutes

What is PHOCOA?

PHOCOA (pronounced faux-ko) is PHP framework for developing web applications. PHOCOA's primary intent is to make web application development in PHP easier, faster, and higher-quality. The framework handles most of the "dirty work" of web application development by providing infrastructure for all of the common tasks. Most of your time writing PHOCOA apps will be spent designing your GUI and writing application-specific logic rather than dealing with form data, database calls, etc.

PHOCOA is an object-oriented, event-driven, componentized, MVC (model-view-controller) web framework inspired by Apple's Cocoa and WebObjects technologies.

PHOCOA Solution Areas

  • Separation of Model, View, and Controller (MVC) layers
  • Form State Maintenance
  • Data Persistence to RDBMS (Postgres, MySQL, Oracle, etc. via Propel)
  • Controller Layer - Automatically keeps UI and Data objects in sync without writing code
  • Web Site Skins / Themes
  • Data Pagination and Sorting
  • Data Normalization, Validation, and display of Errors
  • Web Application Configuration and Deployment (Development vs. Production, easy to use with Version Control)
  • Authentication and Authorization Infrastructure
  • Component Re-Use, both within and between applications
  • Search-Engine Friendly URLs
  • Code Generation: Automatically Generates Skeleton Add / Edit / Delete code and UI from Propel DB Objects
  • AJAX infrastructure

PHOCOA for Cocoa Folks, and Cocoa for PHP Folks

Know Cocoa and want to know what PHOCOA does? Know PHP and want to learn more about the Cocoa concepts used in PHOCOA?

Now of course PHP is very different from Objective-C, and web apps are very different from desktop apps, but it's the basic concepts that we've carried over into PHOCOA, and in many times improved for PHP or web use.

Documentation and Resources

Related Projects

Dependencies:

  • PHP5 is required.
  • Smarty is used for PHOCOA's template system.
  • Phing is used as a build system for PHOCOA projects.

Integrations:

License

PHOCOA is open-source, licensed under the MIT License.

Sponsors and Commercial Support

PHOCOA is being used in a number of production applications by our sponsors:

Commercial support for PHOCOA development is available through:

Copyright (c) 2008 Alan Pinstein. All Rights Reserved.