Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

'Universal' programming

Old 13th February 2012 | 11:23
  #1 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
'Universal' programming

I am in the middle of a largish 'suite' for a local organisation to allow monthly bookings sheets to be prepared and accessed and invoices to be raised from them and other functions.

The current 'chap' I work with has Office so it is written in VBA for ease and cheapness. However, I have to be prepared for the next mug to come along to be 'Office-less'. The actual running of the sheets works fine in OO apart from a bit of a twiddly bit in VBA on each sheet for change events, so sheet maintenance CAN pretty much take place in OO.

I have downloaded the guide to OO macros but not studied it yet, but would appreciate any suggestions on how to programme for non Office users and the poor souls with Linux and Macs who may come along. I had a dabble with QT a couple of years back but its handling of spreadsheets seemed to be embryonic then.

Any suggestions for cross-platform?
BOAC is offline  
Reply
Old 13th February 2012 | 14:07
  #2 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
Client side....
Java
Adobe AIR

Otherwise... database driven web-app in a language of your choice.
mixture is offline  
Reply
Old 13th February 2012 | 14:33
  #3 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Java - ok, machine independent. Is 'Air' the same? 'My choice' of language is what I am seeking!
BOAC is offline  
Reply
Old 13th February 2012 | 14:39
  #4 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
BOAC,

Yeah, technicalities aside, AIR is basically the client-side version of Flash. So most of the pretty, user-friendly things you can do in Flash, you can do in AIR (and vice versa). Its all part of the Adobe FLEX framework.

Have to admit I haven't personally had much programmer side exposure to it (I've used apps developed on it though). I tend to push web-apps more these days, but Java is a good old standby for client-side apps (and remains quite popular..... things like Eclipse are written in Java, or at least they were last time I checked).

Any reason you can't do a web-app ? Then you could choose from innumerable languages.

C/C++ can also be cross platform with a few tweaks here and there, plus recompiling.....
mixture is offline  
Reply
Old 13th February 2012 | 22:04
  #5 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
It is looking a little promising for Google Docs which I have discovered have a form of macro language (it will require a re-write) but would appear to have most functions that VBA has and will be accessible cross-platform. Anyone tried it?
BOAC is offline  
Reply
Old 15th February 2012 | 10:18
  #6 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Still trying to get to grips with Google script macros, which seem to be quite limited in terms of what VBA can do.

One task - for which I need to know if Java etc can cope - is responding to a sheet 'change' event, and I need to be sure that what ever language I use will enable spreadsheet handling without the relevant prog (eg Office/Excel) on the client machine.
BOAC is offline  
Reply
Old 15th February 2012 | 11:27
  #7 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
if Java etc can cope
Java can do pretty much anything you want it to do if you've got the programming skills. "etc" are probably fairly flexible too.

However, I think your primary problem is looking at your situation in terms of spreadsheets. That's an antiquated and restricted view on the world.

Your original description

I am in the middle of a largish 'suite' for a local organisation to allow monthly bookings sheets to be prepared and accessed and invoices to be raised from them and other functions.
Is the sort of thing that can easily be done in a database driven web application, or any client-side language if you want to run some sort of app locally on machines.

I think you need to look a little more into the power that a database can give you. A properly designed and implemented database schema can provide data input/output to suit your needs.

Afterall, "invoices to be raised from them" is just formatting of output data from a query, and "montly booking sheets" are just a bunch of input forms.

Or is there some more to this story you're not telling us ?
mixture is offline  
Reply
Old 15th February 2012 | 15:26
  #8 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Or is there some more to this story you're not telling us ?
- nada. The system has been running for about 10 years using monthly sheets so I am tying not to frighten the horses.
f you've got the programming skills.
- ah! Those Err, no. That is why VBA is so good.

EDIT: Open/libreoffice macros are beginning to make a little sense, so 'steady the Buffs'. It is the re-write that is a daunting prospect, but I would have to do that for all the 'above' anyway.
.

Last edited by BOAC; 15th February 2012 at 15:38.
BOAC is offline  
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.