(My)SQL in Flex - any good libraries? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI need to develop a small Flex application that needs to access a MySQL database. Since I have little experience in server-side Java, PHP programming I would prefer to use a library/framework that allows me to write SQL queries in ActionScript/MXML.
After a bit of research, I have come across two 3rd party libraries, AS3FlexDB(free) and Adobe Flex Connector for MySQL(45$). Initial tests with AS3FlexDB are promising, but I'm a bit afraid that I'll start to work on the project only to find out that I need a full-fledged back-end after all.
Do any of you have experience with these tools? If so, are they stable enough for production? Are there any such libraries for othe开发者_C百科r relational databases(PostgreSQL in particular)?
Thank you!
Lawrence
this and CRUD like this and read this
AS SQL Lib and another one CRUD
and final happiness
Flex is a UI Framework and is not designed for database interaction. I strongly recommend you reconsider the approach and learn a server side language. You'll thank yourself in the long run.
that said, another option is FlexSQL. This is the first time I've heard of the two you mentioned.
I have no idea why people keep building these libraries. It's like trying to use a screwdriver and nails together. It is, in theory possible but better tools exist.
I agree that server-side db interaction is the way to go, but nobody has mentioned the possibility of web services. Use this article to create a number of web services that your flex client can connect to directly.
精彩评论