| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2003
Posts: 76
|
I'm in the process of designing a new application, and I'm interested in using AIR to do it because I am already very familiar with AS and adobe's products. What I want to know is, can Air support a client/server architecture without any support from back-end stuff like Cold Fusion or PHP? I want somebody to be able to run this app on their desktop, and have multiple other users connect to them, and be able to send data (asynchronously) back and forth. I also want to save data sent by clients to the hard drive on the server machine.
Basically I want to know if Adobe has finally taken the Flash/AS framework and given it some real power, or are we still playing with safety scissors? Thanks in advance. ![]() |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2008
Posts: 11
|
i think it is possible. ofcourse without a server everybody need to have public ip or be in the same lan.
so in my opinion doing things with server is beter becouse everybody can connect eachother even under the NAT. well. there is something like SocketMonitor class which probably is for reciving requests of connection. so im pretty sure that connection p2p using AIR is possible (i've never tried that). second part is easy to do. just send the data by POST using http connection. but there are some security restrictions: "The POST operation must be performed in response to a user-initiated action, such as a mouse click or key press." |
|
|
|
|
|
|
|
|
#3 |
|
2006 Man Of The Year
Join Date: Mar 2007
Posts: 880
|
I havent used the SocketMonitor but I'm pretty certain it will not allow what you wanna do. I would suggest creating a windows service or something with C#, C++, or VB and have that act as the server for all computers to connect to (even the localhost). You would also have to create your own installer that would create shortcuts to the service only and then after its started start the AIR app.
__________________
I've curiosity on my side. |
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2007
Posts: 67
|
You should be able to do what your talking about using binary sockets. Since its an Air application you are creating you don't need to worry about security issues. I'm in the process of creating an irc client in air and working with the binary sockets in as3 so far has been pretty straight forward.
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2009
Posts: 12
|
i don't know any thing about soket connection,where can i get a socket server application?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exe installer for AIR runtime and program | evride | AIR (Apollo) | 1 | 09-14-2009 10:15 PM |
| How to run Adobe AIR application without installing Adobe AIR | tarjinder80 | AIR (Apollo) | 2 | 06-25-2009 02:43 PM |
| Do I need Flash CS4 to create AIR app with AIR 1.5??? | CyanBlue | AIR (Apollo) | 3 | 03-30-2009 10:57 AM |
| [CS4] issues with export preview for AIR | jet | AIR (Apollo) | 0 | 02-19-2009 02:54 AM |
| Lauch Air app from another air app. | saravanan | AIR (Apollo) | 0 | 12-12-2008 11:34 AM |