The Artima Developer Community
Sponsored Link

Java Buzz Forum
DSL in Mobile Web Applications

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
DSL in Mobile Web Applications Posted: Jan 29, 2009 9:43 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: DSL in Mobile Web Applications
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement

One of the challenges in the mobile space is who do you handle the failure points caused by a web app system in which parts of the facades are in different languages such as javascript, html, and css. The answer might be to set up a javascript collection of functions that act as Finite State Machine. Instead of the DSL vocab being in XML which is somewhat ugly you use the fact that javascript allowos chaining of methods and have a chain of methods represent a  state.

This seems to work well in the Webkit WebView environment as teh first part or the show action part is normally the CSS DOM part with the when part specifying the object we are examining for the state to trigger the show action.  You could even group said DSL rule collections per html page/screen. Because the language is in javascript and DOM terms  you can than have emerging behavior that comes directly form the application metadata.

The side benefit is on mobile platforms where applications cannot run in background such as iPhone we can save the states and have application resume from previous state upon new relaunch.

Read: DSL in Mobile Web Applications

Topic: Hypothesis: cycles cannot be implemented only with folds Previous Topic   Next Topic Topic: Links for 2009-01-23 [del.icio.us]

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use