Raxan Framework

Raxan Framework
Raxan Version: 1.0 Beta 3
Build Web Applications with Raxan
Start Building Ajax Applications Today...

What's included:

  • Raxan User Guide
  • The jQuery Library
  • jQuery Tools & Interactive Libraries
  • PHP & CSS Framework
  • Examples - CSS and PHP1
  • HTML Templates

1 - A web server running PHP5 is required. See Software Requirements


Quick Links
Raxan User Guide
Credits/Acknowledgements
Online Documentation
Online Examples
Online Community Forum
Follow me on twitter

Before you Begin...

PHP examples require a web server running PHP 5.1 or higher. Before running the examples you will need to create a gateway config file or copy the "pdi-examples/gateway.config.php" file to the "raxan/pdi/" folder. The Contact List and ShoutBox examples will require the necessary permissions to read/write to the pdi-examples in order to create/update the SQLite database.

What's New and Noteworthy:

PHP Examples

Raxan Beta 3 makes it a lot easier to building rich web applications. In this release we have made a lot of changes to the API to make it easier to build applications and website.

New Class Names

We have renamed and added a few new classes and methods in order to make the framework a lot more flexible and extensible:

  • Raxan
  • RaxanBase
  • RaxanClientExtension
  • RaxanClientVariable
  • RaxanDataSanitizer
  • RaxanDataStorage
  • RaxanDateTime
  • RaxanDOMDocument
  • RaxanElement
  • RaxanPDO
  • RaxanPlugin
  • RaxanSessionStorage
  • RaxanSysEvent
  • RaxanUIElement
  • RaxanWebPage
  • RaxanWebPageEvent
  • RaxanWebPageStorage

To use the old class name you can include the raxan/pdi/shared/deprecated.classes.php file inside you application.

Page Auto-Start

The new Page Auto-Start feature makes it possible for Raxan to automatically detect and initialize your page class. All you have to do is to include the raxan/pdi/autostart/.php file at the top of your web page:

<?php require_once("raxan/pdi/autostart.php"); ?>

<?php

    class MyWebPage extends RaxanWebPage {
        protected function _load() {
            // some code here
        }
    }

?>

And if you don't want to use the Auto-Start feature then you can resort to doing things the old way by including the gateway.php file and calling RaxanWebPage::Init('PageClassName');

Embedded HTML content

With the Auto-Start feature we have also made it a lot easier for developers to embedded html content inside a web page:

<?php require_once("raxan/pdi/autostart.php"); ?>

<p>You can add HTML your content here!</p>

<?php

    class MyWebPage extends RaxanWebPage {
        protected function _load() {
            // some code here
        }
    }

?>

Or include the html content from a separate file:

<?php

    require_once("raxan/pdi/autostart.php");

    include_once "myhtmlcontent.html";

    class MyWebPage extends RaxanWebPage {
        protected function _load() {
            // some code here
        }
    }

?>

Direct Element Access

Gain quick access to html elements from a web page by using the element's id ($this->elementId):

<?php require_once("raxan/pdi/autostart.php"); ?>

<div id="myid"></div>

<?php

    class MyWebPage extends RaxanWebPage {
        protected function _load() {
            $this->myid->text('Hello World');
        }
    }

?>

Inline Event Binding

  • Less coding required to bind an event to a method on the page
  • Supports Synchronous and Asynchronous Post Backs

State Management

  • Preserves element state
  • State can be Local or Global

Ajax Auto Update

  • Automatically update modified elements via Ajax callback
  • Periodically update one or more elements on a web page

See Timeout Events for more information.

Master Template

  • Maintain consistent Look and Feel across pages
  • Easily change the design of a web page without modifying its content
  • Build reusable theme for web sites and applications

Other changes

  • Degradable Web Pages - supports degradable Ajax forms
  • New event driven Plugin Architecture
  • New Data Storage API for Page and Session data
  • Several minor bug fixes

For more information on what was change see the Change Log

Try the Examples...

Visit the Raxan for PHP Examples web page - A web server running PHP 5.1 or higher is required


The Rich Ajax Application Framework. Visit http://raxanpdi.com