Home arrow PHP arrow Mach-II for PHP: A Preview

Mach-II for PHP: A Preview

Mach-II is a framework for organizing applications using standard OO techniques. This article will cover how to install, set up and configure a Mach-II application, and explore basic coding techniques.

  1. Mach-II for PHP: A Preview
  2. Installation
  3. Configuration
  4. Properties
  5. Event Handlers
  6. Basic Coding Techniques
  7. Creating Views
By: Mike Britton
Rating: starstarstarstarstar / 17
October 18, 2004

print this article




The Mach-II website proclaims: “Mach-II is a web-application framework focused on easing software development and maintenance.” This introductory description points out a risk common among complex web-based applications built with other frameworks: as requirements expand, they grow too large and complex to maintain without considerable effort.

Mach-II arrived on the scene with this in mind. It’s a framework for organizing applications using standard OO techniques. This means reuse and scalability, two direct benefits of an OO approach, combined with a XML configuration file to control everything.
But let’s not get ahead of ourselves. The brainchild of Hal Helms and Ben Edwards, Mach-II first took shape as an advanced version of Fusebox. It took advantage of the then newly-introduced ColdFusion CFCs, or components (classes, in PHP-ese), to provide a framework that allowed developers to code their apps using a combination of events, listeners, filters and plugins. These elements are configured by loading up any Mach-II application’s mach-ii.xml file and mapping out the relationships as XML nodes and attributes.

You may be wondering what this has to do with PHP.  Well, thanks to the hard work of Alan Richmond, the Mach-II framework will soon be available to the developer community.  Continue reading this article for a preview of Mach-II development.

Basic Concepts

This article will introduce you to Mach-II. It features a basic example intended to demonstrate the framework’s appeal for simple to complex web applications. For a more comprehensive breakdown of the concepts behind the framework, see the following documents on Mach-II.com:

>>> More PHP Articles          >>> More By Mike Britton

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: