The MovieTix application uses a native Android client application which accesses RESTful web services exposed on the internet via HTTP. The architecture that we used was based on the standard 3-tier model. The client tier is represented by the native Android mobile application. The web tier uses the Mongrel application server, which uses the Ruby on Rails framework. Lastly the database tier uses MySQL. The data is passed between client and server by using XML representations of the data as rendered by the Rails controllers. Once the client receives the data SAX is used to parse the data instead of DOM so that we don’t need to load the entire XML object into memory.
Partners: David Kuo, Ryan Zhou
Posted 1 year, 3 months ago at 7:22 pm. Add a comment
Why do I compare Android to WPF? They both seem to use some type of proprietary XML markup language to create their UI’s. I suppose that this can lead to greater separation between UI/View code and codebehind/controller code. MS has some software called Blend that generates the XAML for you with a WYSIWYG. Using the expression blend software from MS is suppose to allow graphical artists to be able to create UI’s without knowing too much about coding. I wonder if this is really the case.
Obviously this idea isn’t new since web programmers have been using HTML/XML/XHTML for a long time now separating their view code from server-side code. Are we moving toward some direction here? I wonder what other new technologies are adopting this web programming paradigm.
Posted 1 year, 4 months ago at 12:25 am. Add a comment