Replace Server Behaviors with DMXzone Extensions

From the server to the client with DMXzone Database Connector and Provider

Client-side development is becoming more and more popular, as a client-side developer who is responsible for the markup, you want to have full control over your templates. Although some applications might work well by letting the server generate all the HTML necessary, many applications can be enhanced by integrating client-side data binding that dynamically converts JSON data returned from the server into HTML. In this article we'll show you the huge difference between Dreamweaver Server Behaviors and the technologies that DMXzone Data Connector PHP/ASP and DMXzone Security Provider PHP/ASP use.


Recordset paging / first/prev/next/last -> HTML5 Data source Paging options + data.show/data.hide attributes

  • Deprecated: Dreamweaver Server Behaviors - This set of behaviors lets you add links to jump to different records in a recordset.

  • New: DMXzone Database Connector - With the HTML5 Data Bindings show/hide bindings attributes, you can decide when to show and hide regions depending on the data being available. With the Control HTML5 Data Binding behavior, now you can refresh your database source data by just moving to the next, previous, first or last page. Only the repeat region with the data will be refreshed and not the whole page.

Show region vs. HTML5 Data Bindings show/hide region

  • Deprecated: Dreamweaver Server Behaviors - Use show region to control content that may or may not be displayed.

  • New: DMXzone Database Connector - The HTML5 Data Bindings allows you to make a special conditional region of any data repeating element.  Just select it and you will see, along with the repeat regions insert, you will have a show and hide Region option. This way you can make a region visible or hidden when its data is available only. Very useful for example to show "No records found" message when there are no records.

Display record count vs. HTML5 data source total data element

  • Deprecated: Dreamweaver Server Behaviors - Record counters display the total number of records returned, and the current records being viewed.

  • New: DMXzone Database Connector - You display the total number of records returned and also the total number of pages that your records are split into. Also you can show the current page.

Dynamic text vs. HTML5 Data Binding

  • Deprecated: Dreamweaver Server Behaviors - The data is rendered on the server and then is returned from the server as HTML.

  • New: HTML5 Data Bindings - The data is rendered on the client side and not on the server, using data bindings.

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Comments

Be the first to write a comment

You must me logged in to write a comment.