development in Visual Builder

We’d like to put Visual Builder in front of a fairly JavaScript-novice group for developing applications. To validate this theory, I’m trying to re-write a simple demo I did the other day by just using Visual Builder. So, I guess first of all, how realistic is it to build complete apps with just Visual Builder? Where can I find out what the plans for Visual Builder are?

Next, when I went to do this, I found that I could not do the following things:

  • set the fields property on a data bound TreeGrid, to override the DataSource columns
  • set the fetchOperation property, to flag the DS requests on the server
  • set the initialData property

After reading the Visual Builder page in the reference docs, it seems like I could add custom components that expose these properties, but I don’t want to if I’m just missing something. If I should do that, then what type of editor should I use for the properties that take arrays (fields, initialData, etc.)?

Your advice is much appreciated.

Hi wcook,

At the moment, an uncustomized version of Visual Builder will let you build the “Showcase Application” example from the website & SDK. We have a video of this which we use at trade shows. It takes about 6 minutes and no JavaScript code is written.

So, it’s definitely realistic, and where you need to add custom functionality, Visual Builder is straightforward to extend.

On your particular customization needs, you can place custom FormItems into the ComponentEditor in Visual Builder. When you declare a field in a custom schema you can declare an editorType that is a custom FormItem that you have created and loaded into Visual Builder via the globalDependencies.xml mechanism.

So, you can build a custom FormItem similar to the example in Chapter 9 of the QuickStart Guide, which launches a Dialog from a component in order to present an editing interface.

This would allow you to prevent a SmartClient-based interface for editing things like TreeGrid fields - perhaps an editable grid that allows new row entry, similar to the existing DataSource editor. Likewise for initialData.

As far as future plans for Visual Builder, many, many things are planned, but if you need specific features, you can always ask Isomorphic to build them for you and roll them into the main product.