Solved

Adobe AIR Questions

Posted on 2009-04-02
3
1,076 Views
Last Modified: 2013-12-12
Ok, I'm completely new to Adobe AIR. I know how to use Tweet Deck. That's the extent of anything I know about AIR. I just have several questions before I decide on trying to have an AIR application built for me.

1. The information that will be used to populate the desktop AIR application would be in the form of a mySQL database on a remote server. Is there any problem with this?

2. The database will be updated every 10 minutes or so. Is there a problem synchronizing the AIR application to coincide with the updates?

3. When a person is using my application, they will need the ability to remove rows from their installation. For instance, based on the results this person gets in the application, there are 10 results. Of those 10, the person only likes 3 of them and they choose to "remove" the other 7. Is it a problem to set up the application to not include those 7 upon the next update? Like setup a local database with the unique ID's that are dislikes and pull the new results that are not equal to the dislikes...

4. I would expect that if the above is possible, that there would be no problem adding the "favorites" to a local DB and publishing those to a separate column within the application, correct?

5. Is it possible to have several streams open at a time, similar to the way Tweet Deck is set up....with the above information?

6. What would be the best development platform for this? Flex or Ajax?

Those are my main questions for now. Any help would be greatly appreciated!

Thanks!
0
Comment
Question by:webseth
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
tomaugerdotcom earned 500 total points
ID: 24059738
There is no _issue_ based on what you have listed. Having said that, it seems to me that there's not necessarily a great case for AIR here, vs. thin client / in-browser app. My reasoning is that it seems you require a persistent internet connection for this to work at all. In light of that, the user expectation is that a standalone application should be that - standalone. Whereas if they're doing something in a web browser, the user expectation is that they need a connection.

Now if it's purely an aesthetic / chrome issue, then I can see wanting the benefit of a nicely-skinned AIR app. Just be sure that you're polling the connection to the server and are prepared to pop up an alert to the user if the connection is lost or sync is not kept up. That way they'll know why the application has stopped responding / functioning as expected.

Sounds like a cool project. You already have a dev team for this one?

T
0
 
LVL 1

Author Comment

by:webseth
ID: 24061568
Thanks for your help. You make a lot of good points, and the more I thought about it last night, the more I was leaning towards an in-browser app.

I can do all of the CSS/html/PHP/mySQL code myself. Where it looks like I may run into some issues with is the AJAX. I don't have much experience with it. It's going to be interesting to see if I can handle the "no page refresh" updates as well as the instant "add to faves" and "remove from results". One other thing I will look for examples of is reordering/adding/removing columns to the user's preference. BIG TASK!
0
 
LVL 14

Expert Comment

by:tomaugerdotcom
ID: 24062607
I agree that the columns can be a challenge. You might want to consider using some existing JS libraries for some of those tasks. Ajax, once you look up a few best practices, is actually quite straightforward, and once you adopt it, will really change the way you think about programming for the web. Keep in mind that the best Ajax "degrades gracefully" (look up this as a search term in Google if you want some examples). So on the PHP side, write code that will work in both scenarios - when the use HAS javascript on and can leverage the Ajax calls, and when the user is in a non-JS environment and you must use more traditional state models and page refreshes to generate the results.

Then again, since it's an app, I suppose you can be more stringent about user requirements. At least provide some sort of JS detection that creates a warning if the user has JavaScript disabled so they won't think the app is broken.

Best of luck!

Tom Auger
www.tomauger.com
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now