Myreader.co.uk  
uk news, chat and community
   home   |   control panel login   |   archive   |  
 
comp
graphics.flash
homebuilt
home-networking
misc
os.linux
peripherals.misc
sys.laptops
sys.mac
sys.palmtops
sys.sun
training
vendors
  
 
date: 4 Nov 2009 01:22:54 GMT,    group: uk.comp.sys.mac        back       
Re: Dad upgrade.   
John Hill <nemo@erewhon.invalid> wrote:

> Do recent developments make it easier or harder to write software that
> is useable across a number of platforms?

Easier: Java.


> I can see that it might be
> possible to write software that would run under OSX and UNIX, but what
> about the user interface? Unless it was very basic, this was always
> the
> b****r.

It remains that way; you can tell a Java GUI a mile off cos it looks
like arse on every platform.

However, modern apps tend to be written in distinct "layers", typically
the data (in a database or a file), the "mechanics" (the code that
actually does the processing of the data) and the interface itself. It's
called an n-tier architecture if you want to look it up. 

Given a well-designed app you can (relatively) easily rip out one of
these layers and replace them with other implementations. So using
platform-agnostic technologies like Java and MySQL for the mechanics and
data, you could port an app to another platform by ripping out the UI
for the source platform and whacking on a UI for the new platform.

In theory, anyway.

Stuff like HandBrake is a good example of this. The code - ffmpegX, IIRC
- is from Linux or something, but they've slapped a proper, Mac-native
GUI on top.

    -zoara-




-- 
email: nettid1 at fastmail dot fm
date: 4 Nov 2009 01:22:54 GMT   author:   zoara

Google
 
Web myreader.co.uk


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us