With this release we have opened up the doors of new possibilities for the Raxan PDI Framework. This document seeks to outline some of the newly added features and functionalities of the framework.

New XML Support

Have you ever had the need to query and process an XML document but you don't have the time to learn about the XML DOM or the XPath query syntax? If so, then you're going to love the new XML support that's now bundled with PDI. Within a single line of code you can query and manipulate the data you need just as if you were working with an HTML document:

// remove all retired employees

By using your existing knowledge of HTML and CSS selectors you can now query, read and write XML data using a consistent set of APIs.

Mobile Web Application Support

Mobile Weather Form
Image courtesy of OpenWave v7 Simulator

Cell phone sales are expected to exceed one billion handsets per year by 2009, making mobile phones one the most widely used devices for communicating and sharing information. With an increasing number of consumers using their cell phones to access online information, the need for mobile web sites and applications are on the increase.

Starting with Beta 1, developers can quickly build mobile enabled web pages with very little effort.

// load a blank wml page and insert a greeting.
$page->source('wml:page')->content('Hello Mobile User!');

The above code will generate a basic WML page and the correct content-type. To see it in action you will need a wap-enabled mobile phone or a WAP Emulator. Visit the Mobile Application Demo.

One benefit of using PDI is that the functions and methods are consistent throughout framework, so you don't need to learn any new API when working directly with HTML, XML or WML documents. Best of all, you can use your existing CSS selector knowledge of query the document structure.

$page['input#name']->val('Enter your name');

Template Binder

Some people say that a picture is worth more than a thousand words. But nothing could be more pleasant than for a developer to be able to picture all the creative possibilities with the new Template Binder API. In a single call, you can bind your dataset to elements within the page. For example:

$page['table tbody']->bind($dataset); // or use RichAPI::bindTemplate()

And when you're ready to create that eye candy display, the Template Binder will be waiting with lots of options for you to choose from:

$page['table tbody']->bind($dataset,array(
    'tplFirst' => '...html code here...',
    'tplLast' => '...html code here...',
    'tplAlt' => '...html code here...',
    'tplSelected' => '...html code here...',
    'key' => 'empno',
    'selected' => 1456,
    'pageSize' => 10,
    'page' => 1,
    'format' => array(
        'birth_date'=> 'd-M-Y'

Use the format option to format the display for a specific field. Valid formats are: integer, float, money, escape, date (see php date format), number, capitalize, replace (uses regex)

In addition to the new options listed above, we have added support for binding index-based arrays and RichWebPage elements to a template. This means that you can use parts of an existing web page or an XML document to supply the data you need to bind to the template. We have also added three new template fields that can be used for displaying additional information: {INDEX}, {VALUE} and {ROWCOUNT}. The INDEX and VALUE fields are only available when binding to index-based arrays or RichWebPage elements.

// example of binding a template to the Employee elements from an XML document.
$employees = $xml['Employee[retired=true]'];

Here are a few ideas of things that you can do with the new Template Binder: Populate tables, ordered and unordered list items, forms, menus, grid items, blog listing, photo galleries, slideshows, banner rotation, content rotation.

See an example of the Template Binder in action by visiting the Employee Search Box

Easy Pagination

Adding a pager to your newly generated grid display is just as easy as creating the grid itself. All that's needed is a single call to the RichAPI::paginate() function:

$html = RichAPI::paginate($totalPages, $currentPage);
Or use your own custom templates

$html = RichAPI::paginate($totalPages, $currentPage, array(
    'tpl' => '...html code here...',
    'tplSelected' => '...html code here...',

The possibilities are endless when you think of the wide variety of pagers that you can create with your own custom templates.

New Event Binding Options

If you think the first set of event options (ajax callback, etc) were cool, then you're going to love the new set of super cool options that are now available at your disposal:

. The Auto-Disable Option (autoDisable) - Used to automatically disable/enable elements before and after a callback. This option can be used to prevent users from accidentally submitting a web form more than once.

. Auto-Toggle (autoToggle) - Used to toggle (show/hide) elements before and after a callback. This can be used for showing pre-loaders during a callback.

. The Delayed callback option (delay) - Delays the callback for a specified number of seconds.

. Character Input Cache (inputCache) - Delays the callback until the specified number of characters have been entered. Works only with textbox inputs. You can use this option to add auto-complete widget functionalities to your web page.

Other Improvements & Stability

Here are a few things worth noting in this beta release.

New RichWebPage::responseType - This property makes it easier to generate standard compliant web pages. By default this property is set to generate HTML5 (html) standard web pages. Possible values include: xml, html, xhtml xhtml/html, wml

New CSS selector support - These new selectors can be used to query elements within an html, xml or wml document:

[attribute~=value] (case-insensitive lookup)

Remote HTML web pages - It's now possible to access remote (http://) web pages using the RichWebPage class. For example:

$url = 'http://www.google.com/search?q=pre+vs+iphone';
$page = new RichWebPage($url);
$titles = $page['h3'];
foreach($titles->get() as $node){
    echo P($node)->html()."<br />\n";

New Timeout Event - Binds a timer to a server-side event. You can specify the timeout interval in milliseconds (>1000) and the number of repeat cycles. It also uses the same options as that of the bind() method. For example:

$page['div#photo']->timeout('#15000', 'change_photo'); // one-time callback
// or
$page['div#photo']->timeout('#15000', array(
'repeat'=> 4, // trigger the event 4 times

For a complete list of changes see the ChangeLog.

SVN Repository

With this and future releases you will be able to gain direct access to the source code from Raxan SVN repository. By using your favorite SVN toolkit or IDE you can quickly checkout the latest source code.

nike air max trainer 1 leather medium grey mens kvinder
Posts: 23
Reply #3 on : Wed April 17, 2019, 11:15:58
<a href="http://www.vetmedbas.com/it/cdiscount-nike-air-max-2017">cdiscount nike air max 2017</a><a href="http://www.vetmedbas.com/label/air-max-97-ultra-17-triple-black-schoenen">air max 97 ultra 17 triple black schoenen</a><a href="http://www.vetmedbas.com/merchant/nike-tiempox-legend-vii-academy-turf-homme">nike tiempox legend vii academy turf homme</a><a href="http://www.vetmedbas.com/nike/nike-air-jordan-jumpman-team-2-black-crimson-pulse-grade-school-girls-schuhe">nike air jordan jumpman team 2 black crimson pulse grade school girls schuhe</a>
[url=http://www.antique-group.com/airmax/nike-air-max-trainer-1-leather-medium-grey-mens-kvinder]nike air max trainer 1 leather medium grey mens kvinder[/url]
nike kd 6 m?nd
Posts: 23
Reply #2 on : Tue April 30, 2019, 08:21:37
<a href="http://www.collegeksarsghir.com/a_buon_mercato/nike-air-max-thea-beige-usa">nike air max thea beige usa</a><a href="http://www.collegeksarsghir.com/billig/asics-conviction-x-sportschoenen">asics conviction x sportschoenen</a><a href="http://www.collegeksarsghir.com/campus/nike-air-jordan-5-retro-tokyo-t23-schoenen">nike air jordan 5 retro tokyo t23 schoenen</a><a href="http://www.collegeksarsghir.com/custom/scarpe-white-mountaineering-x-adidas-nmd-r2-black-white-cg3648">scarpe white mountaineering x adidas nmd r2 black white cg3648</a>
[url=http://www.greendrivethinking.com/verkoop/nike-kd-6-m%c3%a6nd]nike kd 6 m?nd[/url]
nike air jordan 8 retro ls uomo
Posts: 23
Reply #1 on : Tue May 07, 2019, 15:02:25
<a href="http://www.everglademaids.com/modern-classic/adidas-gazelle-mid-grey-white-ice">adidas gazelle mid grey white ice</a><a href="http://www.everglademaids.com/myynti/damian-lillard-adidas-dame-4-mens-whiteblackscarlet-from">damian lillard adidas dame 4 mens whiteblackscarlet from</a><a href="http://www.everglademaids.com/nl/nike-w-air-max-97-lx-scarpe-da-atletica-leggera-donna">nike w air max 97 lx scarpe da atletica leggera donna</a><a href="http://www.everglademaids.com/no-sales-tax/nike-free-5-0-laufschuhe-neongelb-damen">nike free 5 0 laufschuhe neongelb damen</a>
[url=http://www.aykinmimarlik.com/alphabounce/nike-air-jordan-8-retro-ls-uomo]nike air jordan 8 retro ls uomo[/url]
First | Previous | Showing comments 21 to 23 of 23

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.