English 中文(简体)
What are the best development tools to use in this project?
原标题:
  • 时间:2009-11-20 03:39:15
  •  标签:
  • air
  • adobe

I am currently devising 3 database desktop applications for different users in a manufacturing company (one for the accounting department, sales department, production department). All applications have different functions but they should be able to access the data of the other department to reflect business transactions. What is the best programming language and database to use for this kind project? The three computers are not physically connected so I was thinking of having them to access a remote database. The language I am most familiar with is Java but I am very open to learning others if it would be more beneficial to the company. I was also thinking of having to use Adobe Air as I am adept with web programming but could still run as a desktop app but I can t seem to find sufficient resources of distributed systems using Adobe air. Any ideas would be very much appreciated. Thanks!

问题回答

Lots of languages will do this just fine, including Java. You re familiar with that so my advice is stick to it with one caveat: depending on your requirements I would seriously suggest examining the possibility of making it a Web app instead. Desktop database apps are somewhat... old-fashioned. More to the point they ll create a bunch of headaches for you such as installation, Swing is annoying and tedious, etc.

As for what database, barring requirements you haven t specified, anything will do so pick something free like MySQL.

So for a desktop Java app I would:

  • Put the database on a remote server;
  • Put an application server or Web container on that same server;
  • Create a Webapp on the app server for handling RPC;
  • Pick a method of RPC, be it Web services or whatever, and use Spring to implement it;
  • Create a desktop Java app in Swing and distribute it to clients from the app server via Webstart (JNLP).

If it s a Web app:

  • Put the database and appserver or Web container on one server;
  • Pick a Java Web framework and create a bunch of Web pages that do what you want.

In all cases, have it be the same app but just act differently on the user type. This is much better than maintaining three different apps.

Also if you do a Web app, you might want to consider using PHP as it s a fast and proven way of knocking up Web pages and probably sufficient for the kind of internal application that you re doing.





相关问题
Can an AIR application access its own digital signature?

All AIR installation files must be digitally signed (http://help.adobe.com/...). Is there a way for an AIR application to access this signature information at runtime? Say, I m distributing client-...

What are the best development tools to use in this project?

I am currently devising 3 database desktop applications for different users in a manufacturing company (one for the accounting department, sales department, production department). All applications ...

Authenticating and tracking users in a JSON webservice

I have contact management / CRM application used in-house by our company, It is a web based app and thus uses a lot of Ajax. Most of the data is JSON, and the backend server uses PHP with MySQL as the ...

Adobe AIR: detect en_GB locale

Is there a way to detect if the user is running the AIR application under en_GB locale on Windows? Capabilities.language returns only "en" and Capabilities.languages[0] returns "en_US" :(

AIR评估业绩缓慢的原因?

我试图用Windows XP(SP3)Adobe AIR的表现来缓解一个奇怪的问题。 我们从遥远的服务器到当地QLQ数据库的同yn数据,以及某些机器的数据,这一过程需要......。

xmlHttpRequest and returned url

With help of xmlHttpRequest I make a server query. After that the server is redirecting to another page (e.g. "http://site.com/index.html;var=123") The question is - how can I get full url(side.com/...

热门标签