July 3rd, 2009

Bindows using ASP .NET0

Today a customer made me aware of the fact that we have no sample for
creating Bindows apps using ASP .Net. He wanted a sample on how to add a
gauge and setting dynamic properties in the XML definition.

Of course we need ASP .Net samples. The forum can be seen as a sample on
server communication, but it uses Perl for the backend. I decided to make
a small and simple, yet instructive sample. I hope I was successful.

An application generated from dynamic sources is not much different from one
made of static sources. You still need an ‘HTML file’ and an ‘XML file’.
The difference is that both these ‘files’ are generated on demand and their
content can be different from one request to another based on server logic.

This sample was made using the free gauges. You can download them
here.
It is not difficult to translate the lessons learned in this sample to a
full Bindows application (ADF). Just replace the script in the ‘HTML file’
with application.start(…) or biExec(…) just as you would with static
HTML and XML sources.

For this sample my ‘HTML file’ is Default.aspx, the file that is
automatically generated by the WebSite project template. I edited its
content with the following:

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<html>
<head>
    <title></title>
    <!-- Load free Bindows Gauges package -->
    <script type="text/javascript" src="bindows_gauges/bindows_gauges.js"></script>
</head>
<body>
<p>This is a very simple sample displaying a gauge.</p>
<div id="gaugeDiv" style="width: 250px; height: 250px;"></div>

<script type="text/javascript">
  var gauge = bindows.loadGaugeIntoDiv("Gauge.aspx", "gaugeDiv");
  function setNeedleValue(nValue) {
      gauge.needle.setValue(nValue);
      gauge.value.setText(nValue);
  }

//  setNeedleValue(25);
  gauge.unit.setText("[kW]");
</script>
</body>
</html>

Then I added a new aspx file (Gauge.aspx) using a random template. ;) This
also created a code-behind file (Gauge.aspx.cs) that I deleted. Because I
deleted that I also edited the file header of the aspx file to remove the
reference. All I kept was this bit:

<%@ Page Language="C#" %>

In the content I pasted the sample gauge from the free gauges package and
edited it up a bit to suit my purposes. I added a <% %>
section at the top, where I initialized some C# variables:

<%
	// Two values setting the start locations for warning hints on the gauge scale.
	// These could be configured from user preferences.
	int warnLow = 25;
	int warnHigh = 180;
	int value = 125;

	// Error handling / range assertions.
	if (warnLow > warnHigh)
		throw new ArgumentException("The low range must be less than the high range.");
	else if (warnHigh < 0 || warnLow < 0 || value  300 || warnLow > 300 || value > 300)
		throw new ArgumentException("Values must be between 0 - 300.");
%>

Further down in the gauge XML I referenced these variables. Here’s an example:

<Gauge2RadialScale startValue="0" endValue="300">
	<!-- Needle -->
	<Gauge2RadialNeedle id="needle" value="<%=value%>" stroke="#000000" strokeWidth="3"
						innerRadius="0" innerWidth="40"
						outerRadius="360" outerWidth="5">
		<Gauge2RadialNeedle.Filler>
			<Gauge2RadialGradientFiller color1="#808080" color2="#000000"/>
		</Gauge2RadialNeedle.Filler>
	</Gauge2RadialNeedle>
</Gauge2RadialScale>

View Gauge.aspx source

Download entire web site source code (ZIP).

New Menu Implementation0

Introduction

Browsers have changed since the first menu implementations of Bindows were created. New restrictions caused various issues for our old menu implementations. For Bindows 4.0, I have been working on a brand new implementation written with these restrictions in mind. As a bonus, we now have nicer themes and we can expand the range of browsers we support. I hope you like what we’ve created.

Reasons for the change

In Bindows 3.0 (and previous versions) we had two different implementations for menus, XUL popups for Firefox and WebFX DHTML Menus 4 for Internet Explorer. These implementations allowed menus to be displayed anywhere on the screen. In Bindows 4.0 we have discarded these implementations and wrote a brand new one. Apart from unifying the two browsers, there are few additional reasons for this.

Security issues

The ability to display a popup anywhere can be used maliciously (e.g. by hiding and impersonating an element of the main browser window). Since these implementations were first created, browser security patches have forbidden popups from being displayed outside the window (or even the frame) where they were created. As a result, Bindows menus that were placed near the bottom edge of the window/frame displayed some strange behavior. We were able to solve several of these issues, but some proved too difficult.

Additional browser support

Bindows 4.0 introduces support for WebKit based browsers (i.e. Safari and Google Chrome). Neither of the menu implementations would work for these browsers, so we would have to add a new implementation anyway. We might as well write one that would work for all browsers, and solve our menu issues at the same time.

API Changes

As a result of the new implementation there has been one major API change. The left and top properties no longer relate to the screen, but to the parent component (which is usually the BiApplicationWindow).

Two new methods have been added: popupAtComponent(oComponent) and popupAtMouse(oMouseEvent). The first sets the component property and displays the menu just below oComponent. The latter uses the mouse coordinates (from oMouseEvent) to display the menu.

Themes

The fact that we have a single implementation for all supported browsers means we also have only one set of CSS styles (for each theme), which applies to all users. When we created our brand new themes for Bindows 4.0, we took this opportunity to revamp the theme properties for menus, making the CSS classes consistent with the rest of Bindows. Your old themes will not be compatible with Bindows 4.0 without some changes. The good news is that we have many compatible themes, free to download at http://www.bindows.net/download/themes/.

Bindows 4.0 Released - Try it with Safari 4 and Chrome0

We are proud to release Bindows 4.0 today.
The release comes after the longest and most thorough beta program (three beta rounds) in the Bindows history.

Bindows 4.0 includes four major additions:

* A completely redesigned menu system - best in the market
* Initial support for new browsers (IE8, FF3, WebKit 525+, Chrome, upcoming Safari version)
* Exciting new looks - 6 new themes and a powerful theme engine (so you can create your own)
* Enable development of complete Ajax applications without writing a single line of JavaScript!

For a comprehensive description of the new features:
http://www.bindows.net/documentation/40/

Bindows customers with covered maintenance, will receive the FULL retail version automatically.

Bindows 4.0 beta program participants are eligible to purchase developer licenses at a 50% discount, until March 10, 2009 (to purchase, please contact sales@bindows.net).

As always, we would be glad to hear your thoughts and comments.

Enjoy the new version.
The Bindows Team

Just made the world a bit prettier…0


For quite some time now, I’ve been working on improving the looks of Bindows. I’ve lost count of how many theme variations I created in order to find the right one(s). Now that it’s done I’m probably not touching Photoshop nor CSS for a while…

Over a year ago we set out to do some major improvements to Bindows and look and feel was one of the core things. Another one was the Actions stuff that I wrote a bit about in an earlier post.

In the betas of the 4.0, we added a whole series of themes that one can use with Bindows and now, in the final release, we complete the journey and replace the default look with a, IMHO, really cool one. It doesnt really have a lot of fancy stuff but just the right balance between cool and useful.

Bindows 4 is out there today, I hope you’ll enjoy it ;)

Bindows Reseller in China0

logo_evget.jpg
Chongqing Huidu Technology Co., Ltd.

We are proud to introduce our reseller in China for Bindows, BindowsFaces and InfiView - Chongqing Huidu Technology Co., Ltd.
As official Bindows reseller, Chongqing Huidu Technology will also provide localized Bindows technical support for the Chinese market.
For full contact details, see our Worldwide Partners page.

Bindows Labs - Latest Updates0

Bindows Labs has added two exciting projects to its list:

* Bindows support for Chrome. We develop it as part of the Bindows 4.0 beta program and so far are pleased by its performance.

* A Visual Designer for Bindows. Following multiple enthusiastic requests from our customers, we are developing a technology that will enable quick and easy design of the GUI for Bindows applications.

We do not have planned public release dates yet.
If you would like to be a closer part of the process (alpha, beta, etc.) please email me at “ran @ bindows.net”.

BindowsFaces - A Sun GlassFish Technology Partner0

BindowsFaces and its excellent support of Sun GlassFish technology is now featured in the official Sun GlassFish Technology Partner page:
http://www.sun.com/software/products/appsrvr/gf-isv-partners.jsp

More exciting news coming soon (check at http://www.bindows.net/BindowsFaces/).

Ran

Sneek Peek1

Bindows running on iPhone

Don’t tell anyone…

New version of BindowsFaces2

BindowsFaces latest beta version is: BindowsFaces beta 0806, released on June 5, 2008

This version provides the following new and improved features:

* Comet Support - BindowsFaces now includes an API for implementing Comet support for different server environments. An adapter for the GlassFish Server is included in the BindowsFaces package.

* Ajax Navigation - BindowsFaces makes use of the JSF navigation mechanism but does not “leave” the current AJAX application.

* Live Scrolling - When a larger number of rows is to be loaded into a data grid the loading time suffer, live scrolling a method to avoid slow user interfaces. BindowsFaces now supports live scrolling in the Grid component.

* dataTable population - BindowsFaces now supports standard dataTable population constructions using the column component.

* Custom Classes - BindowsFaces enables you to use Bindows custom classes or entire applications that you developed in a JSF environment.

* Themes - BindowsFaces now supports the Bindows themes (Click to see the new cool Bindows themes.)

————————
LINKS:

* BindowsFaces

* The Promise of Ajax in JSF

* How to use BindowsFaces

* Download BindowsFaces

Bindows™ 4.0 (beta) - The Most Powerful Ajax SDK in the Market0

On June 6, 2008, we released the latest beta version of Bindows™ 4.0!

Bindows™ 4.0 (beta 0806) includes four major additions:

* Enable development of complete Ajax applications without writing a single line of JavaScript!

* A completely redesigned menu system - best in the market

* Exciting new looks - 6 new themes and a powerful theme engine (so you can create your own)

* Initial support for new browsers (IE8, FF3, Safari)

—————————-

To see the new themes: Bindows Themes

For more details on this exciting version: Bindows 4.0

To download a free evaluation package: Evaluation - Bindows™ 4.0 (beta)

Bindows - Eco-Friendly Ajax0

How can we conserve precious resources (i.e., waste less)?

Studies show that white-screen interfaces (for example - Google search) conserve significantly higher power than cool-dark interfaces.

This is one reason we introduced the Bindows Eco Theme (see below).


To try it live: Bindows Demo

Imagine the ecological savings when millions white screens will switch to Bindows cool themes.

Join us in spreading the cool concept :)

Get IntelliJ Idea FREE for 6 months, then 20% off the regular price!0

IntelliJ IDEA by JetBrains is an intelligent Java IDE. The Bindows plugin for IntelliJ IDEA significantly enhance and expedite the development process. This editor has in itself an impressive array of features tailored specifically for Bindows programmers.

Now, Bindows customers can get IntelliJ Idea FREE for 6 months (including subscription for updates). After the six months you can purchase it and get a 20% discount off the regular price!

If you are a Bindows customer, email sales@bindows.net for your IntelliJ Idea IDE and Bindows plugin (please specify your development platform: Windows, Mac OS X, Linux) and we will email you the coupon code.

For more details:
http://www.bindows.net/documentation/tools/intellij_plugin/

A link to the IntelliJ Ajax page: http://www.jetbrains.com/idea/features/ajax.html

And a link to the announcement on the IntelliJ blog:
http://blogs.jetbrains.com/idea/2008/04/weapon-of-choice-for-ajax-developers/

BarracudaDrive for Linksys NSLU2 (includes Bindows)1

Real Time Logic (RTL) released a free for non-commercial use version of its user-friendly personal server stack. The BarracudaDrive release runs on the “Unslung” Linux distribution available for Linksys’s NSLU2 storage server, and includes a lightweight, dynamic development environment supporting AJAX.

BarracudaDrive V3.9 is a Linux-compatible secure application server assembled from selected plugins used in the Barracuda Embedded Web Server. Designed for personal and home use, it provides remote file management and enables the loading and starting of auxiliary applications, says RTL. An NSLU2 equipped with BarracudaDrive and external USB flash memory for storing database files provides an application server that is virtually maintenance free, claims the company.

BarracudaDrive includes RTL’s Lua integrated scripting language and Lua Server Pages (LSP) technology, which is described as a lighter, faster, more modular alternative to PHP. Developers can use LSP to customize existing applications and write their own. BarracudaDrive also provides an integrated SQLite database engine for creating applications such as its supplied content management system (CMS).

The server also includes the Bindows framework for developing Ajax applications with an event-handler that updates client-side DHTML applications without requiring constant polling. This minimizes network usage, says the company, while still allowing access through corporate firewalls.

Bindows Forum application

Read more at http://www.linuxdevices.com/news/NS6378137616.html
and here: http://barracudadrive.net/blog/2008/03/BarracudaDrive-for-Linksys-NSLU2

Bindows 4.0 (beta-2) - Released0

This version includes two major additions: a completely redesigned menu system, and exciting new looks (using new themes).

Many users asked us to update the looks of Bindows
(”…being powerful and complete is not enough, we also want great looks!“)

Well - you talked and we listened!

The new themes are here - cool new looks (that you can freely modify), including full support for rounded corners.
For more details on this exciting version: CLICK here.

Here is a screenshot of one of the new themes included in Bindows 4 (click to see in full size):

darkoceanrounded.png

To join the 4.0 beta program, please contact sales@bindows.net

Bindows Gauges in an Embedded Server0

Cool demo application by Real Time Logic, using Bindows gauges.

Click and see it in action

Click and enjoy the ride :-)

Bindows Gauges - Screenshots of Live Applications0

One of the first users of our Bindows gauges shared with us few screenshots of Bindows gauges he modified, and is using in live applications - enjoy :)
CLICK to enlarge:

Bindows Gauges (ss-01) - CLICK to enlarge

Bindows Gauges (ss-02) - CLICK to enlarge

Bindows Gauges (ss-03) - CLICK to enlarge

To learn more about our FREE Bindows Ajax Gauges Library, go to: http://www.bindows.net/free_gauges/

To post screenshots, or links to your site showing use of Bindows gauges, please email me at ran@bindows.net.

Bindows 4 beta & BindowsFaces beta - Updated0

New, updated packages for Bindows 4 beta and BindowsFaces beta were released today.

Changes include:

* Actions: General improvements and clarification of the Actions API
* Actions: Actions are now resposible for creating their own threads
* Actions: Threads were extracted and exposed in the API
* Actions: Adding BiLoaderAction
* BiGauge2: Several minor improvements
* Minor adjustments and fixes

Latest version is beta 0712.

Update: 2 New Bindows Gauges & Digital Value Labels2

Bindows gauge with digital label

Our FREE Bindows Ajax Gauges library has been updated!
http://www.bindows.net/free_gauges/

* 2 brand new gauges (vertical gauge, time clock)

* Live digital value label added to several gauges - fully tweakable by you!

* And, some bug fixes

Let us know what you think (please comment below, or email us ran@bindows.net).

SOS (Search our Sites)0


Three New Products from the Bindows Folks - InfoWorld Review0

Read the excellent review in InfoWorld by Martin Heller (Strategic Developer).
InfoWorld Review.

The review covers our release of three new products: Bindows gauges library toolkit, BindowsFaces, and the Bindows 4.0 Beta.

Regarding Bindows FREE gauges library toolkit - InfoWorld appreciates the facts that the toolkit is completely free, and comes with a gauge wizard and a free subset of the Bindows Ajax library. The gauges are done with vector graphics and are fast enough to be used for soft real-time displays. Try it out online yourself.

The BindowsFaces library, as you might guess from the name, brings Bindows-based Ajax capabilities to Java through JSF. It’s for Java Faces programmers who’d prefer not to get their hands dirty with JavaScript or go through a compilation step. Martin quotes us “BindowsFaces is better than GWT or Oracle ADF.” Obviously, we are biased :)

Moving on to Bindows 4.0 beta “probably makes Bindows the most advanced professional Ajax framework in the market,” according to the Meriazes. One of primary design goal of Bindows 4.0 is to add the “ability to define a fully working application without writing a single line of JavaScript.” To join the 4.0 beta program, contact sales@bindows.net.

Thanks Martin for a great review!

Imhotep theme designed by Chris Lin. Proudly powered by Wordpress.
XHTML | CSS | RSS | Comments RSS