Rich Ajax Application Framework

Quick Links


Download Raxan 1.0 Beta 3
See What's New
Phone Inventory
 

What's New in Beta 3?

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:

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

State Management

Ajax Auto Update

See Timeout Events for more information.

Master Template

Other changes

Continue Reading

To learn more about the framework, visit the Raxan for PHP Overview web page

Release Notes

For more information on what was change see the Change Log


Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.