Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Best Practices

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-15-2008, 10:22 PM   #1
Teonnyn
Member
 
Join Date: Jan 2008
Posts: 82
Default Major Design Dilemma.

I am building a website that uses Flash in several places, and is currently powered by the Joomla CMS. However as of late, I have been considering switching fully to Flash supported by an occasional php page for smaller sections such as the Member's Pages.This may even develop into a minor "meeting area" (Habbo Hotel as one example). To be utterly honest, Joomla is actually getting in the way of a few things with their component code requirements for building extensions - and it's really only used for the text.. In this case, is Flash the best way to go?
Teonnyn is offline   Reply With Quote
Old 07-15-2008, 11:22 PM   #2
yell0wdart
jordanrift.com
 
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 297
Default

Sounds like it. When a big part of your infrastructure is getting in the way and is only used for a small piece of functionality, I'd be in favor of finding a better, more streamlined solution. Could use something like jQuery with static XHTML or a couple custom PHP pages to elegantly display textual information.
__________________

bad developer

Jordan Rift
yell0wdart is offline   Reply With Quote
Old 07-15-2008, 11:26 PM   #3
Teonnyn
Member
 
Join Date: Jan 2008
Posts: 82
Default

What about membership-based sites in Flash? Are they very practical or not?
Teonnyn is offline   Reply With Quote
Old 07-15-2008, 11:36 PM   #4
yell0wdart
jordanrift.com
 
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 297
Default

They could be, since your server posts are going to be asynchronous from Flash, any calls to your database can be handled in the background with minimal impact to the user (no ugly screen refresh, etc).
__________________

bad developer

Jordan Rift
yell0wdart is offline   Reply With Quote
Old 07-16-2008, 08:21 AM   #5
Teonnyn
Member
 
Join Date: Jan 2008
Posts: 82
Default

Newbie question here, but could anyone point out website design tutorials that deal in Flash and membership websites?
Teonnyn is offline   Reply With Quote
Old 08-26-2008, 08:33 PM   #6
swivelmaster
Tasty donuts.
 
Join Date: Aug 2008
Location: Berkeley, CA
Posts: 24
Send a message via AIM to swivelmaster Send a message via Yahoo to swivelmaster Send a message via Skype™ to swivelmaster
Default

I don't know of any, but that's exactly what we're doing where I work.

We may at some point publish some official info about what we've done, but I'll give you some hints:

Flash does NOT have direct access to browser cookies, but sending out any kind of url request (URLLoader, HTTPService, etc.) will have the browser automatically bundle the proper cookies for the domain. This is NOT true with FileReference.upload(), however, so if you're going to use that you need to come up with another kind of validation.

What you CAN do is use a pre-made system that uses cookies (for whatever server side language you're using - we're using Rails) and then have the server respond based on the cookie that comes back from the browser automatically.

So for instance, if the user is NOT logged in, you send a URLRequest with username and password variables set, and if it checks out you respond with something that says the user is logged in along with a session cookie (or a dated cookie, whatever you want). You're going to have to send a request to the server that indirectly checks that cookie every time the app starts up, but while you're in it you just need to look out for a message back from the server saying that you are NO LONGER logged in (otherwise you can assume that if the first "good to go" message came int, you're still logged in).

Still with me?

As long as you can track whether you're logged in, everything else should work fine by sending URLRequests and getting the response. You need to remember, you'll have to be dealing with asynchronous functionality EVERYWHERE, which is very different from what most Flash developers are used to.

It CAN be done, though, so don't despair.

But it's a LOT of work. Worth it once it works though.

I'll try to answer any additional questions here.
swivelmaster is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Player dilemma with Flex 2. icombustion Flex 2 & 3 5 01-23-2008 07:05 PM
on(release) dilemma.....: ? Flash_Boi ActionScript 2.0 3 04-01-2006 12:39 AM
window resizing dilemma guanomike ActionScript 2.0 0 02-04-2006 05:22 PM
comma dilemma nageekdoog ActionScript 2.0 1 02-22-2005 03:17 PM
attachMovie/depth?/removeClip? dilemma photopatrick ActionScript 2.0 5 06-14-2004 02:49 AM


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.