PHP
  Home arrow PHP arrow Mach-II for PHP: A Preview
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
PHP

Mach-II for PHP: A Preview
By: Mike Britton
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 17
    2004-10-18


    Table of Contents:
  • Mach-II for PHP: A Preview
  • Installation
  • Configuration
  • Properties
  • Event Handlers
  • Basic Coding Techniques
  • Creating Views

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Mach-II for PHP: A Preview
    ( Page 1 of 7 )

    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.

    Background

    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
     

       

    PHP ARTICLES

    - Getting Data from Yahoo Site Explorer Inboun...
    - Method Chaining: Adding More Selecting Metho...
    - How to Split a File During an FTP Upload Usi...
    - Expanding a Custom CodeIgniter Library with ...
    - Using the Yahoo Site Explorer Inbound Links ...
    - Building a CodeIgniter Custom Library with M...
    - Building an E-mini Trading System Using PHP ...
    - Completing the MySQL Class with Method Chain...
    - Building Dynamic Queries with Chainable Meth...
    - PHP Encryption and Decryption Methods
    - Building a MySQL Abstraction Class with Meth...
    - Completing a Sample String Processor with Me...
    - Mastering WHILE Loops for PHP and MySQL
    - Method Chaining: Adding More Methods to the ...
    - Method Chaining in PHP 5





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek