It has been a while since we have released Beta 3 but we're still working hard on the next release. Here are somethings to look forward to in the upcoming RC1:

Improved CSS theme

Designing great looking web pages and applications has been made easier with the new integrated jQuery UI CSS theme-able classes. Just include the default theme or create your own and you're ready to go.

Improved Sanitizer

The new web page "post" and "get" properties makes it easier to get access to all your HTTP POST and GET values while being able to filter and sanitize values.

<?php
    protected function saveData() {
        $id = $this->post->intVal('id');
        $name = $this->post->textVal('name');
        $email = $this->post->emailVal('email');
        $age = $this->post->intVal('age');
        // code to save data...
    }
?>

Improved Template Binder

New Template Binder optional make it possible to add CSS classes while rendering a template. It's also possible to dynamically format display values from a callback function.

Ajax Ready

Tighter integration with client-side JavaScript and the jQuery 1.4.2 and jQuery Tools 1.2.2 API make it possible to build Rich Ajax Applications using PHP.

New UI API

The UI support for Raxan has been overhauled to support new components and widgets. New features include support for inline properties (e.g. xt-ui-background, etc), new event handlers and a new RaxanUIContainer class.

Flash Messages

With the new flash message API, developers will be able to quickly display messages within a web page.

<?php
    protected function speak($word){
        if ( !$word) {
            $this->flashmsg('I have nothing to say.');
        }
    }
?>

To display flash messages within the page, you only need to insert an HTML element with the class attribute set to flash-message:

<div class="flash-message"></div>

Server-Side HTML5 Validation

Basic HTML5 validation has been added to the framework to make it easier to validate client inputs. With just a few line of code, you can check for valid inputs:

<?php
    protected function addItem($e){
        $frm = $this->webForm;
        if ( !$frm->checkValidity(true,'required') ) {
            $this->flashmsg('Invalid input values');
        } else {
            $v = $frm->validValues();
            // some code here....
            $this->flashmsg('New item added');
        }
    }
?>

Since we're doing HTML5 Form validation on the server-side you only need to type the HTML once:

<input type="text" name="itemname" id="itemname" value="" maxlength="50" required />
<textarea name="description" id="description" cols="10" rows="5" maxlength="250" required></textarea>
<input type="submit" name="submit1" id="submit1" value="Submit" />

Supported HTML5 Validation constraints:

• Maxlength
• Required
• Min / Max (only works with type=number )
• Email
• URL
• Number
• Date
• Month
• Pattern

Page-View Design Pattern

Raxan Beta 3 introduced a switchboard page handler that was designed to manage actions requested by the client. In RC1, the Switchboard Page Handler and Action has been replaced with individual view handlers and view mode.

The Page-View pattern makes it easier for developers to load and display multiple content views while maintaining separation between content and logic.

  • Page - The Page controller loads and interacts with the view and the model.
  • View - Stores the content to be displayed. This can be either a be a static or a dynamic page.

Page-View Pattern

The page controller receives a view mode request from the client to load and display a view. This information is passed to the view handler which then loads the requested view and the associated data/model. If a view was not specified, then the page controller will invoke the default _indexView() handler.

The view mode which forms part of the page controller's url is case sensitive and can only contain characters A-Z, 0-9 and _ (underscore). For example: items, contacts, book_list, orderItems, etc.

To request a view the page controller url must contain the desired view mode as part of the query sting as shown below:

http://domain.com/page-controller.php?vu=items

Where "vu" is the view mode query string parameter.

Once the view mode request is received by the page controller, the activeView property is set and the appropriate view handler will be invoked. The view handler is a special method that's only invoked when a specific view is requested. The method name consist of an underscore (_), the view mode and the suffix "View". For example:

<?php
    // items view handler
    protected function _itemsView() {
        // code here
    }
?>

Example:

The Page-View pattern allows developers to organize an application or page into Views and Events. For example, a blog application can be organized as follows:

Blog Page Layout

Views:

  • index view (default view - list blog entries)
  • detail view (show blog detail)
  • form view (create or edit blog)

Events:

  • save event
  • delete event

Views are normally stored inside a views folder. This folder can be configured by setting the views.path configuration option inside the config file.

Download Developer Snapshot

You can download the latest Developer Snapshot or check out the code from the Google Code

After downloading the source file be sure to check out the quickref.html, CHANGELOG.txt and the notes.php example

Bugs, Patches & Questions

For questions, bugs or patches you can contact me via email, the Community Forum or create an issue using the Issue Tracker.

Michael Kors Factory Outlet
Posts: 8
Comment
Sentinel327
Reply #8 on : Fri July 11, 2014, 11:00:29
Michael Kors Outlet Storewatches typically are genuine statement Michael Kors Handbags on Sale pieces with defining features for example tortoiseshell band styles, michael kors on sale, system end style patterns, really female chain bracelet types and warm women's wallets autumnal colors including fawns, browns and ointments. Excellent for your foreseeable future season!
Michael Kors Factory Outlet http://www.onemomsworld.com/michael.php
xjd11
Posts: 8
Comment
asdasdas
Reply #7 on : Fri August 15, 2014, 04:28:12
<H1><a href="http://www.baidu.com" title="cheap nfl jerseys"><strong>cheap nfl jerseys</strong></a></H1>
xjd11
Posts: 8
Comment
xiaoxu
Reply #6 on : Fri August 15, 2014, 04:29:11
http://www.baidu.us
mens nike hyperdunk 2015 high shoes blue grey basketball shoes
Posts: 8
Comment
Joystick356
Reply #5 on : Mon October 15, 2018, 19:58:18
<a href="http://www.isleofwightpools.com/online_kicks/discount-nike-zoom-kobe-viii-system-mc-mambacurial-purple-black-white">discount nike zoom kobe viii system mc mambacurial purple black white</a><a href="http://www.isleofwightpools.com/outlet/vans-x-storm-low-top-green-camo">vans x storm low top green camo</a><a href="http://www.isleofwightpools.com/popular-releases/cheap-nike-kobe-4-green">cheap nike kobe 4 green</a><a href="http://www.isleofwightpools.com/recommended/cheap-nike-wmns-air-vapormax-berry-purple">cheap nike wmns air vapormax berry purple</a>
[url=http://www.mkbadviesservice.com/restock/mens-nike-hyperdunk-2015-high-shoes-blue-grey-basketball-shoes]mens nike hyperdunk 2015 high shoes blue grey basketball shoes[/url]
nike air max classic bw command 90 free
Posts: 8
Comment
Joystick587
Reply #4 on : Sun December 23, 2018, 22:29:44
<a href="http://www.newzsec.com/homme/adidas-nmd-r2-summer-white">adidas nmd r2 summer white</a><a href="http://www.newzsec.com/it/nike-air-max-2016-bayan">nike air max 2016 bayan</a><a href="http://www.newzsec.com/kvinder/goedkope-nike-air-jordan-spizike-3-5-heren-schoenen-zwart-purper">goedkope nike air jordan spizike 3 5 heren schoenen zwart purper</a><a href="http://www.newzsec.com/mujer/adidas-nemeziz-17-1-fg-orange-noir">adidas nemeziz 17 1 fg orange noir</a>
[url=http://www.theislandhunter.com/homme/nike-air-max-classic-bw-command-90-free]nike air max classic bw command 90 free[/url]
air jordan 4 sneakers gs 3lab4 black
Posts: 8
Comment
Verily537
Reply #3 on : Wed January 02, 2019, 19:13:03
<a href="http://www.emiliance.com/replica/adidas-yeezy-boost-750-us-11-5">adidas yeezy boost 750 us 11 5</a><a href="http://www.emiliance.com/restock/cheap-online-running-shoes-black-silver-mens-nike-free-og-2014-br">cheap online running shoes black silver mens nike free og 2014 br</a><a href="http://www.emiliance.com/retro/air-jordan-3-retro-mens-shoes-white-black-blue">air jordan 3 retro mens shoes white black blue</a><a href="http://www.emiliance.com/sale/nike-air-jordan-1-retro-97-toddler">nike air jordan 1 retro 97 toddler</a>
[url=http://www.stingtut.com/fake/air-jordan-4-sneakers-gs-3lab4-black]air jordan 4 sneakers gs 3lab4 black[/url]
yhkf official nike pg 2 rise and shine online
Posts: 8
Comment
Yap586
Reply #2 on : Fri January 11, 2019, 04:18:25
<a href="http://www.creatingaroadhome.com/code/kids-nike-viale-sneaker-grade-school">kids nike viale sneaker grade school</a><a href="http://www.creatingaroadhome.com/coupons/nike-red-bull-dunk-custom">nike red bull dunk custom</a><a href="http://www.creatingaroadhome.com/daily-sale/womens-nike-flyknit-lunar-2-purple-yellow">womens nike flyknit lunar 2 purple yellow</a><a href="http://www.creatingaroadhome.com/departments-sneakes/nikelab-kobe-x-elite-htm-collection">nikelab kobe x elite htm collection</a>
[url=http://www.lemaydaastrategies.com/shoes-sneakers/yhkf-official-nike-pg-2-rise-and-shine-online]yhkf official nike pg 2 rise and shine online[/url]
chaussures running adidas alphabounce 1 parley bleu femme
Posts: 8
Comment
Excell114
Reply #1 on : Sat June 01, 2019, 11:34:18
<a href="http://www.lauraternsgroup.com/this-month/nike-free-run-2-black">nike free run 2 black</a><a href="http://www.lauraternsgroup.com/venta/adidas-eqt-support-mid-adv-grisargentgris-b37372">adidas eqt support mid adv grisargentgris b37372</a><a href="http://www.lauraternsgroup.com/vente/nike-air-force-kort">nike air force kort</a><a href="http://www.lauraternsgroup.com/verkoop/nike-air-max-2015-enfants-noir-vert">nike air max 2015 enfants noir vert</a>
[url=http://www.yashulyrics.com/colorway/chaussures-running-adidas-alphabounce-1-parley-bleu-femme]chaussures running adidas alphabounce 1 parley bleu femme[/url]

Leave 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.