Get Started Get Started

Developer Update - Removal of parsenow

We've made working with our controls easier for web developers and designers.

Oncord's user interface API for web developers uses a server-side document model.  This is a set of tags (which we call controls) that allow for user interface elements to be constructed rapidly for building forms and other presentation elements.

These controls can depend on each other.  For instance, you might have a table of products which can be filtered by combobox values.  

It becomes complex when the layout of these controls is out of order, or controls depend on each other in a cyclic manner.  For instance, a table depends on a filter of the combobox's value; but the combobox was declared after the table, so it might not have been created or rendered yet.

Previously to solve this problem, we created a system to control the timing of when attribute values would evaluate.  These were parsenow="" and parse="".  These were mysterious and confusing attributes for web developers.  

The old way:

 <forms:editbox value="$expression" parsenow="value" />

The new way:

 <forms:editbox value="[? $expression ?]" />


We've overhauled the entire server document model for Oncord to remove these parsenow and parse attributes.  The new model is consistent with the rest of Oncord's markup, and also provides some performance benefits.

We've written tools to migrate old code, so anything you've developed in the old format will be automatically refactored to the new format within the next week.

Internally it is a major upgrade, with almost every line of code changing slightly in the core software.
We apologise if there were some glitches during deployment over the weekend.  If you experience anything wrong, please Contact Support.



Leave a Comment

First and Last Names
E-mail Address



Scott
The Author
Scott McNaught

Subscribe to stay up-to-date with new features and announcements.

Displaying Events has never been easier. Learn about the changes we've made to Events and Dynamic Displays.

A new Oncord Lite plan will be made available from March 1st 2024, alongside changes to Oncord pricing. We're increasing plan limits, eliminating overage fees, and making it easier to manage costs hosting e-mail with Oncord. 

We recently celebrated the launch of a new UK hosting cluster, improving performance for Oncord clients based around the United Kingdom. It's now easier than ever to filter Contacts and other data throughout Oncord thanks to an overhaul of the "Filter by Conditions" system. We've introduced a new Status Page to monitor service status, and deployed plenty of improvements to help Oncord Commerce clients improve how they sell online.

Try a Demo, or Speak With a Consultant

Get Started Get Started