Hey Daniel, 2009/7/10 Daniel Derr <[email protected]>: > Is there a good way to create widgets in Wt which can be accessed from Ruby > and C++? My goal is to create custom Wt widgets in C++ which I can integrate > and reuse in my Rails and C++ applications. Wt seems appropriate for > creating complex widgets, and also has the benefit of allowing users to > access them on their IPhones since they do not support flash.
This is what you could use the so-called widget-set mode in Wt for: it allows you to integrate one or more widgets into an existing web page, much like how you can integrate a google maps widget in any existing web page. These widgets can then be reused between plain applications and widget-set mode applications. A single Wt application can even serve both the widget-set mode or plain application mode. A simple example of this is 'hello-widgetset'. Widget-set mode does not use the old-school iframe solution to achieve this, but instead the modern approach of loading a script and letting it handle the content of one or more div's in your page. Unlike Wt's plain application mode, it does rely on JavaScript being available though. Like google maps, the (c++) application serving the widget can be hosted on a different domain than your Ruby-on-Rails application (using a cross-site AJAX-like communication protocol). Wt is also useful for people who do not have an iPhone but instead a crappy MS Windows Mobile phone. > BTW, for anyone who is new to this group, Wt is an excellent technology and > works very well. After trying out Wt, I was impressed about how well it > works and how intuitive application programming can be for a non web > developer. Thanks :-) Regards, koen ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
