How to Build a Flex App that works with both SQLite and MySQL?

Let me explain a bit: I am developing an app that will
be published as an AIR application using SQLite, as well as a FLEX application that will use MyDSQL via web services.
I want to develop both applications in such a way that all the components can be reused, and I only have to do minimal redevelopment. I have started witht the AIR application. Once I have it completed, I want to publish the application (with minimal redevelopment) as a FLEX web app.
My thinking is that I contain the database accesses in the Application, and passing the data via interfaces to the respective modules, as well as receiving data from the modules back to the Application to be written to the database. This was the only changes between the FLEX and the AIR application will be how the database access is handled in the Application file, and I can leave all modules as is and will be able to maximize reusability,
I haven't done this before, and was wondering what the best approach for this is?
Thanks!

It seems very difficult to find best practices on how to structure your database layer in FLEX. None of the books I have go into detail about it, nor do any of the websites I have found so far, including the Adobe Flex tutorials. Sure, they explain how to interact with databases, but don't seem to care about best practices for structuring your application.
Can anyone point me in the right direction for this?
Thanks!

Similar Messages

  • Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Hi there
    A Creative Cloud membership gives you access to both the Mac & Win versions of the desktop applications.
    Please check the FAQ for more information: Creative Cloud Help | Creative Cloud / Common Questions
    Kind regards
    Bev

  • Is there a Calendar App that works with both Blackberry phones and Android phones ?

    I just recently got a Blackberry Z30 phone.  My husband has an LG Optimus G Android phone.  Does anyone know if there is a Calendar App that will work on both phones so that we can send appointments to each other that will load into our respective calendars?  Right now, we each have to enter the events into our individual phones. I love the Blackberry Calendar (RIM) that came preloaded on my phone since you can customize recurrences, e.g. every 3 weeks plus you can have day, week and month views.  I definitely want a calendar with the customizable recurrences feature, which my husband's Android Calendar App does not have. Thanks.
    Solved!
    Go to Solution.

    You Both can Add one email Account on Both Phones and then sync the Calender With Email - This way when one will add a reminder or event it will automatically synced to the other
    Regards Eree - Follow me on Twitter - Facebook - Google+
    For More visit My Blog

  • Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Hi ron1098,
    Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
    See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Angry Bird App that works with ios 3.1.3

    Is there an Angry Birds Game APP that works with Ipod Touch 1st gen runing ios 3.1.3? Thks

    If it's not availabel in the app store, you can't.

  • Messaging app that works with 2nd generation ipod touch

    I recently downloaded imessenger to my 2nd generation ipod touch but it was hours later and with the help of this forum, that I discovered it is not possible to use with my iOS.  Does anyone know of a texting app that I can use?

    You neglected to mention that the Numark iM1 is a piece of hardware (a physical box) that plugs into an iPod.
    Checking on the Numark website, I suspect they haven't bothered to update their "iPod compatibility" page, since there's no specific reason (as far as I'm aware) why an App that worked with a 2nd gen Touch shouldn't work with a 4th gen model. Is that page where you looked and were then prompted to ask your question?
    You might have more success in finding an answer to your question by contatcing the manufacturer (Numark) via their website or checking with a retailer who stocks the iM1. Numark appear to welcome email contact about their products.

  • Equalizer app that works with pandora?

    Is there an equalizer app that works with pandora?  I just got a new Rav4 w/ a sucky sound system & I'm hoping to juice it up a bit.  Thanks,

    I've been using Hermes (donationware) and have been quite happy with it:
    http://alexcrichton.com/hermes/
    Regards.

  • My list of third party apps that work with Leopard (and those that don't)

    Here is my list of my apps that worked fine with Tiger, and those that do (or don't) work with Leopard:
    My apps that work with Leopard (in alphabetical order):
    BBEdit 8.6
    Bryce 6.1
    Fetch 5.2.1
    Filemaker 8.5
    Graphic Converter 5.9
    Lotto Sorcerer 6.9
    Mariner Calc 5.5.1
    Navicat 6.3.7
    Poser 6 (but LONG delay after splash screen)
    REALBasic 2007r4
    ReadIris Pro 9.0
    Topo 3.3.3
    TurboCAD Mac Pro v2
    Those that don't work with Leopard:
    None so far!

    There are some links to other reported problems here:
    http://discussions.apple.com/message.jspa?messageID=5653683#5653683
    Macintouch is worth watching:
    http://www.macintouch.com/readerreports/leopard/index.html#d27oct2007

  • Is there a pandora desktop app that works with Mavericks

    is there a pandora desktop app that works with Mavericks?

    I've been using Hermes (donationware) and have been quite happy with it:
    http://alexcrichton.com/hermes/
    Regards.

  • How do i delete an app that came with the latest 8.2 software update?

    How do i delete an app that came with the latest 8.2 software update?

    Since you can't delete apps that are part of iOS, you should try the same thing I do. I create a folder which I call Worthless and move to the last page of my iPhone. I then put all the apps that Apple includes with iOS into that folder. With the name Worthless, I never even tempted to look in there again. That is about the only thing you can do with worthless apps that are included with iOS.

  • How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    Forgot to add that it would be an adjustment layer with some kind of mask on it already. The mask is uncentered when copy and pasted which throws it off.
    I guess the same question would go towards doing the same for an object. How to copy and paste it over to a new doc, keeping its position within the document? is this possible?

  • I have an older HP5550C flatbed scanner that works with 10.5 and 10.6 but not on my new iMac running 10.7

    I have an older HP5550C flatbed scanner that works with 10.5 and 10.6 but not on my new iMac running 10.7. Surely there is software that will allow older scanners to work on OS10.7. My MacBook Pro runs 10.6 and the

    Although the HP Scanjet shows up in the system profile for the computer it is generic and is not configured (as in screen shot).  It also does not show up in the ;ist of pritnters, scanner when I open Image Capture.  I can't load the software that came with the printer because it is out of date so that would make it impossible to configure the scanner on the new iMac. see below:  Too bad there isn't some generic profile I could load that would cover the 5550c. I have a new all in one printer-fax-scanner but the old one can scann in slides and negatives which I have.

  • I have a MacBookPro5,5 how do i connect it to my hdtv WITH BOTH AUDIO AND VIDEO? and where can i buy this cable(s)?

    i have a MacBookPro5,5 how do i connect it to my hdtv WITH BOTH AUDIO AND VIDEO? and where can i buy this cable(s)?

    thank you roger. i have attempted to connect my mbp now 3 times (all different ways with different cables purchased) but unfortunately no success. i understand that with me having an older mbp it can be a challenge. i have found this page http://www.wikihow.com/Connect-a-Macbook-to-a-TV but with my unsuccessful history, i have become skeptical. i will try your suggestion and let you know. thank you again.

  • How do I search for apps that work on my iPod Touch Generation 1 (Version 3.1)?

    I have the original iPod Touch and I want to give it to my toddler to play with... so I can have my phone back!  The problem is I cannot find apps that work on the older operating system 3.1.3.  Is there a way to search for them?
    Thanks!

    When you make a playlist it makes a "shortcut" of the file, not a copy of it and the size is so tiny it takes about 10,000 to make 1 mb. It doesn't make a duplicate. It just makes the song appear in a playlist too. Make sure you have the latest iTunes, make sure genius is on, and click Store, update genius. then sync iPod. If you still have a problem, please write wore info about the computer you have. Find all of this (on a PC) click start, run, type winver, then hit enter. (For Mac) Click apple icon (top-left), abou this mac.

  • Are there any apps that work with the G2 to block calls reliably?

    I know this subject has been covered but, I have been using Call Control for years since I bought Pro way back when.  Worked fine up until I got the G2.  Now it says that the only proven method of blocking calls is using MUTE CALLS.  The send to voicemail and pickup/hangup options are NOT recommended.  I have tried a few others, but they all seem to hijack the call screen.  I'm not overly worried about Caller ID features in an app.  I know Call Control is in beta with a new version that shows ID, but it's rough and not aesthetically pleasing.  Blocking texts isn't a big deal for me either.  I know a lot of these apps block texts, but require you to use their messaging portion of their app.  Anyone know of a proven pickup/hangup or send to VM app that works on G2?

    Call Control works well, but being a beta tester I can tell you that features are changing.  It's getting better, but even the Premium users are going to have to pay for lookups after x number credits.  IOW, Premium users get a few credits per month and free users have to pay each time.  Until that app decides to do right by the Premium users who have already paid for the app long ago I use Contactive because the ID seems better and more accurate than Call Control, Whitepages Current, Truecaller, LineWhoscall, and CallApp. Contactive doesn't have a direct pickup/hangup nor a send to VM, but the info is more correct and that means I can better block calls based on better info.

Maybe you are looking for

  • Mac Mini (late 2014) HDMI pixelated on Display

    I have just bought a Mac Mini, as it was all I could afford at this point in time. I have a Samsung 32" EH500 TV, connected it up via HDMI and the screen is very pixilated. Images are not clear, colour is all over the place. It is unbearable. WHY! Ho

  • PI 7.1 AAE Interface statistics and monitoring

    Hi SAP community! I currently have Advanced Adapter Engine interfaces running through my systems (which bypass Integration Server by design), and my issue is for data/statistics. RWB is able to display the AAE/Adapter Engine messages in groups, but i

  • Travel scenario- solution required

    Hello people, consider following scenario of Travel management Line manager raises request on behalf of employee for the travel. There is a travel request form that is filled by the Line manager on behalf of employee while raising the travel request.

  • FCP, Excel, and creating an easy way for APs to log timecode

    Hello I work in a small/medium sized studio environment. 3 edit bays, 5 producers, and lots and lots of tapes. Our producers are prone to logging footage with a legal pad. This is stupid because they could easily be using that time typing into an exc

  • About  jvm  dump file EXCEPTION_ACCESS_VIOLATION (0xc0000005)

    Hi folks, Well, Unfortunately We are facing some issue which cause a Tomcat service is down in the following environment. OS : Windows Server 2003 R2 SP2 TOMCAT version=5.5.23 JVM version=1.5.0_12 We try to find the cause using attached dump file whi