Can I make a customer self-service product selection tool for the web/AIR with just Flash/Actionscript 3?
Can I make a 开发者_运维知识库customer self-service product selection tool for the web/AIR with just Flash/Actionscript 3 without having to use a separate database like SQLite?
Essentially, after selecting a general category, the client drags and drops the tag words relevant to their needs into an adjacent box and a list of products that correspond to those tags, from greatest to least, appears in the box next that.
I know that database driven apps are really on the rise but I am not clear if this situation really warrants it as I am just starting to learn (Lynda.com) and am coming from more of a content/design mentality.
Thank you and pardon my noobness.
A pure ActionScript 3 tool would work fine, but no matter which way you slice it you will have to store somehow which products map to which tags. Whether you do this via a database, a XML file or just compile it into your application will depend many things including:
- How many products you have;
- Will the application required an Internet connection;
- How often will the database need to update.
and so on. Note also, that you will only be able to have a local SQLite database in AIR. When running in a web browser that API is not available (for Flash apps, anyway).
精彩评论