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  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Mobile Linux 
App Generation ROI 
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? 
PHP

Mach-II for PHP: A Preview
By: Mike Britton
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 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:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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


       · The link that says "available for download" does not actually provide the download...
       · The posting of this article is premature. Mach-II for PHP has not been released...
       · Article has been updated for accuracy. The article will once again be updated once...
       · I was really excited to hear about Mach-II for PHP, I did a lot of recent work in...
       · Looking across the spectrum of other frameworks, compare Mach II against Logicreate...
       · Logicreate is more of an closed-ended CMS framework. It look spretty solid, but is...
       · http://sourceforge.net/projects/pulpo/
       · Sorry - had to reply on this. As one of the principal developers of LC, I have to...
       · You can view Alan's status update in this fusebox.org thread. ...
       · So we need to register with fusebox to get an update on how its coming...
       · Mach-II for PHP has been available for download for a little over a month as of this...
     

       

    PHP ARTICLES

    - Authentication Scripts for a User Management...
    - Utilizing the Use Keyword for Namespaces in ...
    - Building a User Management Application
    - Working With Different Namespaces in PHP 5
    - User Management Explained: Overview
    - Using Namespaces in PHP 5
    - Database Security: Guarding Against SQL Inje...
    - Building a Modular Exception Class in PHP 5
    - Database and Password Security for Web Appli...
    - Handling MySQL Data Set Failures in PHP 5
    - Building Site Registration for Web Applicati...
    - Intercepting Customized Exceptions in PHP 5
    - Securing Your Web Application Against Attacks
    - Sub Classing Exceptions in PHP 5
    - Authentication for Web Application Security





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT