Well, sounds like a good plan! Wicket was originally conceived as a VoiceXML framework by Jonathan Locke (if you go back long enough in the history you'll find references to com.voicetribe packages), but he pivoted to HTML when he needed to build a website. So Wicket has been developed with this in mind. That is why there's this markup.html package, and Component itself doesn't know (much) of HTML processing, and there's a RequestCycle and a WebRequestCycle, an Application and WebApplication, a Page and a WebPage, etc.
I'd like to see this explored further (preferably under an ASL to keep it compatible with the ASF so maybe in the future we can adopt it), as I have some interest in building Slack bots which are similar. Martijn On Tue, Jan 21, 2020 at 3:30 AM Илья Нарыжный <[email protected]> wrote: > > Hello, > > I'm looking for some feedback from Wicket experienced devs and, > potentially, some team-members who will love the idea I'm going to > describe. > > We in Orienteer pretty frequently work with chat-bots for Facebook, > Telegram and etc. > One of our module was open-sourced: > https://github.com/OrienteerBAP/OTelegramBot > Another one still closed, but available as an Orienteer module for > free to download: graph-based description of an algorithm for a > Facebook bot. (We are going to open sources soon). > > So, even currently, we use Wicket core entities/lifecycles > (RequestCycle, WebSession, Application and etc) during actual bot > interactions with users through Facebook messenger or Telegram. And > now we are thinking about making one more step: use wicket rendering > mechanism for preparing bot's responses. Response is not only text > with markdown - it can include buttons, tables with paging and etc. So > idea is that Wicket will generate a layout of response in XML and the > corresponding adaptor will convert that layout to > Messanger/Telegram/WhatsUp/Viber etc. Using markup variations might > help to take into account specifics of a particular messaging > platform. > > Please let me know what do you think about the idea. > If it's good enough and viable - it will be definitely Open Source. > > Thanks, > Ilya > --------------------------------------------- > Orienteer(http://orienteer.org) - open source Business Application Platform > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Become a Wicket expert, learn from the best: http://wicketinaction.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
