Product Reviews

Building Mobile UIs Just Like Windows Forms

The Gizmox Enterprise Mobile development package is a clever -- perhaps brilliant -- hack that lets you create mobile Web-based applications in a Windows Forms-like IDE.

The upcoming Gizmox Enterprise Mobile package extends the company's Visual WebGui forms-based .NET development environment to cross-platform HTML5 applications. I don't usually review preview software because it's not really fair to the software or its developers. However, the Gizmox toolkit provides such a novel approach to creating mobile applications that I couldn't resist. So any issues such as "this doesn't work right" or "this feature is missing" should be ignored -- they may not be a problem when the product is released.

The toolkit is aimed at developers who want to leverage their Windows Forms experience (or existing code) to create mobile applications for smartphones and tablets. A Visual WebGui project begins with a form-like designer and a Form1 in Solution Explorer. You build your form by dragging on form-like controls (such as TextBoxes, Buttons and ToolStrips) and adding .NET code to event handlers, including LostFocus and DoubleClick events. It may not be until you test your application, and Internet Explorer starts up to display a close approximation of your form, that you realize you're in an ASP.NET project. But, as you interact with your form, your .NET code executes, pretty much as you'd expect in a Windows Forms application: click a button and your Button_Click event runs.

What Visual WebGui does is convert your form and the Visual WebGui controls into an HTML page. All the client-side events are sent back to the server in a series of AJAX-like calls, along with the form data, so that your server-side code can execute. Fundamentally, Gizmox has implemented the Model-View-ViewModel pattern with the View in the browser and the ViewModel on the server.


[Click on image for larger view.]
The Visual WebGui integration with Visual Studio is excellent, creating a Windows Forms-like experience for .NET developers.

Limited Extension
There's a lot to like here, but there's a lot to be wary of, also. Fundamentally, if a Visual WebGui control doesn't do what you want, then you're not going to do it. You're not going to be able to extend these pages with your own HTML except by inserting the Gizmox HTMLBox control into the form. You're not going to be able to integrate your own client-side AJAX code. However, if you're buying this tool, it's precisely because you don't want to write your own HTML or JavaScript code.

For all that Gizmox talks about HTML5 development, I didn't see much HTML5, other than picking up the various touch events (though the only touch event supported in the preview is a finger swipe). Communication between the server and the client is handled through Posts and Gets rather than, for instance, WebSockets. The preview doesn't include any HTML5 video or audio controls.

Every client-side event involves a trip to the server, so scalability and performance could present issues for some enterprises.

If the pricing is in line with other Gizmox dev tools (about $700 with a year of technical support -- the cost of a good Grid control) and I wanted to create apps that also ran on Android and iOS devices, I'd probably buy the product.

Gizmox Enterprise Mobile

Gizmox
Web: visualwebgui.com
Price: Unspecified; equivalent products from Gizmox suggest the price will be in the $350 (one month of support) to $1,400 (two years of support) range
Quick Facts: A mobile develop¬ment toolkit that translates Visual WebGui forms into HTML and routes client-side events back to the server for processing
Pros: It works
Cons: Limited ability to take advant¬¬- age of either the Web environment or mobile platforms -- if Visual WebGui doesn't support it, you can't do it



About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube