开发者

Which database to use for flex standalone application?

开发者 https://www.devze.com 2022-12-16 13:30 出处:网络
I am pl开发者_运维百科anning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some

I am pl开发者_运维百科anning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here :

  1. Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)
  2. Which database i should use? SQLLite or HSQLDB or some other.

Thanks in advance for the help.

Happy Coding

Regards, PK


For a standalone application you will need to use Air, FLEX is a framework so you can use it into your Air application.

Air come with SQLLite ready to use, if you dont want to use SQLLite you will have to find a way to communicate with your database : a gateway server (php, java, ...) or found a ready to use socket driver, or write it yourself.

Edit: Here a starter page where you can found for example Air sample and tutorial

In this one, an example of using an SQLite database. You can download the code of the sample application


  1. BOTH! Start in Flex because you know it and migrate to AIR so you have a local desktop app for your own use. You can then offer that to your eventual users.

  2. Doesn't really matter at the moment, you might even consider not using a db at all and just persisting to the file system for ease of configuration etc. while it is just you. However when you get going you will need to take your database seriously at which point I would go for MySQL to start with rather than either of the ones you mention. The reason I say that is that it gives you more than a temporary solution as MySQL will support you as you grow and the sooner you embed it the better.


HSQLDB is the simplest and, if your application will not product lot of data, the easiest to distribute with standalone application. This is good database to store data in desktop app`s.

0

精彩评论

暂无评论...
验证码 换一张
取 消