How to move ahead with the flex/php application structure

Hi,
Its been a week since I strated learning Flex. I am a regular php web develeper.  Since starting the flex learning I have got one thing there is no concept of "pages" in flex like in a regular php web site..there is "States".
Now I have  this project requireing a login and then as per login user role different screens.
Lets say three loging roles 1) teacher 2)Student 3) Admin
Screens for each role will be diffrent as each have diffrent dashboard feature. I am confused with the structure i have decided is correct or not. Please review or suggest how to accomplish this.
The main.mxml will have login form.
it will have three states teacher, student, admin. and then these three will have sub states for particular roles features.
While going to one book I read a  mxml file has atleast 1 state so can the structure be like this. (Is this possible or not)
main.mxml will have login form
three mxmxl files for teacher student admin and each will have statets for their respective features.
Please reply. I am trying to find out by reading the documentation properly. But your guidance will speed things up and help me  understand things quickly.
Regards
Siddharth

ultimately you want to be aiming to use a MVC structure
but this is a good tutorial to get started.
The later videos work through a login/logged in states example
http://www.adobe.com/devnet/flex/videotraining.html

Similar Messages

  • How can I create a sample with the Flex data?

    Hi mates, I'm thinking about doing some stutter vocals with the ultrabeat so I've got a vocal and I have flexed it in time so it fits well on the song's tempo, the problem is that when I create an audio file of the part of the vocal I want to use on my ultrabeat, it creates an audio file that's not fitted in time.
    How can I create the audio file fitted in time?with the flex info?
    Thanks so much!

    psikonetik wrote:
    How can I create the audio file fitted in time?with the flex info?
    You need to create Apple Loop, REX etc.
    For example select the region that you have already flexed, right click ->Bounce Merge->Bounce Inplace. I will create a new audio track with the bounced Flex work.
    Select the new region and go to Audio menu ->Open in Apple Loop Utility and check "Loop" and other attributes to create an Apple Loop. Save the Apple Loop and close the utility. It's expected that the Apple Loop aif must be created in your Project path folder or have a look at the Audio Bin in Logic where is the aif path.
    Drug the Apple Loop in the Arrange audio track ( or it will create one ) and operate with any tempos.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif!

  • My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    Copy all the content on your iPod back to your PC and into iTunes. Then go ahead and sync the iPod with your new library.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How to go ahead with this report

    Dear Pals...
            Greetings....Kindly help me with this report....The purpose of my report is to display the account payable based on the payment terms inside the purchase orders before invoice verification and the account receivable based on sales order.....
    How to go ahead with this report ....The output should be on monthly wise.....
    may i know is there any standard report from SAP for this or may i know the mandatory fields and tables for this....
    Thanks for your time

    Go back to the user if you are unfamialr with the fields you need in your report.   Have this user show you the fields on a screen.   Use the F1 Key to get the technical information.  Once you have this information, begin coding.

  • Do I need flash builder 4 to work with the flex sdk?

    Is it necessary to use flash builder 4 to work with the flex sdk?
    Can you build apps just using the open source flex sdk. If so are there tutorials and books on how to do so?
    Thanks in advance for your help.

    No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
    ./mxmlc MyFlexApp.mxml
    If you are building an AIR application, you will use amxmlc
    ./amxmlc MyAIRFlexApp.mxml
    Then, launch your AIR application using adl
    ./adl.exe MyAIRFlexApp-app.xml
    Hope this helps,
    Joan

  • I updated to IOS 8 but my C drive is out of space i couldn't restore my data back; how could move itunes with backup to another drive

    I updated to IOS 8 but my C drive is out of space i couldn't restore my data back; how could move itunes with backup to another drive
    or what could i do

    There are two solutions . . . I run my iTunes Library off an external hard drive. However, this may limit the portability of your library. Though a La Cie Rugged external would help with that (I love mine, though I use it for diagnostics and repair, not for iTunes--but it does get around).
    You can also upgrade your hard drive as was previously suggested. I've bought my recent hardware from: http://www.powerbookmedic.com
    They have lots of parts and great manuals!
    Good luck!
    Sharon

  • How to move floats to the next page?

    Hi All,
    Can anyone help me on this?
    How to move floats to the next page the same position?
    Thanks in advance

    @Learner – you can duplicate the object to the next page and remove the original.
    If the original one is anchored you also have to account for its position, because duplicating an anchored object will move it.
    Here an example for duplicating a selected object to the same page.
    //DuplicateAnchoredObject_SELECTION_SNIPPET.jsx
    //Uwe Laubender
    * @@@BUILDINFO@@@ DuplicateAnchoredObject_SELECTION_SNIPPET.jsx !Version! Fri Apr 12 2013 07:53:31 GMT+0200
    var sel = app.selection[0];
    var x = sel.geometricBounds[1];
    var y = sel.geometricBounds[0];
    //The duplicate() method without an optional argument:
    var dup = sel.duplicate();
    //NOW: the duplicated objects is at the inner border of the page
    //To move it to its original position we need the following:
    var xd = dup.geometricBounds[1];
    var yd = dup.geometricBounds[0];
    dup.move(undefined,[x-xd,y-yd]);
    That snippet can be enhanced for duplicating to a certain page, because the duplicate() methods can take arguments like "Page", "Layer", "Spread" etc. For details see the DOM documentation at:
    http://www.jongware.com/idjshelp.html
    One caution here: to make that work the way you want with facing pages, you have to take into account, that your coordinate system must be changed to "per page" by the property "RulerOrigin" of the ViewPreferences.
    This said, here is a working example for duplicating a selected object to page 3 of the current document:
    //DuplicateAnchoredObject_TO-DIFFERENT-PAGE_SELECTION_SNIPPET.jsx
    //Uwe Laubender
    * @@@BUILDINFO@@@ DuplicateAnchoredObject_TO-DIFFERENT-PAGE_SELECTION_SNIPPET.jsx !Version! Tue May 14 2013 10:11:29 GMT+0200
    var d=app.documents[0];
    var oldRulerOrigin = d.viewPreferences.rulerOrigin;
    var sel = app.selection[0];
    var x = sel.geometricBounds[1];
    var y = sel.geometricBounds[0];
    //In case of facing pages we change the ruler origin:
    d.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    //Duplication of selected object:
    var dup = sel.duplicate(d.pages[2]);
    //NOW: the duplicated objects is at the inner border of the page
    //To move it to its original position we need the following:
    var xd = dup.geometricBounds[1];
    var yd = dup.geometricBounds[0];
    dup.move(undefined,[x-xd,y-yd]);
    //Restore the original ruler origin:
    d.viewPreferences.rulerOrigin = oldRulerOrigin;
    Of course, thiese snippets are working also with not anchored objects…
    Uwe

  • How can I print with the black and white cartridge only?

    I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog:
    The printer is out of ink.
    The following ink cartridges are empty: Magenta. Replace these ink cartridges to resume printing.
    How can I print with the black and white cartridge only?
    Mac OSX 10.7.3
    HP Photosmart C7280 (7200 series)
    This question was solved.
    View Solution.

    I am absolutely disgusted by this; clearly a scam from HP to make more money by selling extra ink cartridges!!  I will make sure to never buy any products from the shoddy rip off merchants at HP ever again!!
    You should be ashamed!!

  • How do I deal with the"new itunes library" fiasco

    how do I deal with the "new itunes library" fiasco...?

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • In Lightroom mobile how can move photos within the collection????

    In Lightroom mobile how can move photos within the collection????

    What you can do is to move (or copy) a photo form one collection to another. This can be triggered via the top right app menu item from grid view. Same menu is available when you open up an image for editing. Hope that helps. -Guido

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • When I highlight objects, I'm able to move them with the arrow key but I can't drag them with my mouse.

    When I highlight objects, I'm able to move them with the arrow key but I can't drag them with my mouse.

    Without system info and other details like e.g. your settings for bounding box display nobody can tell you much.
    Mylenium

  • How does it work with the iphone

    i bought a time capsule but i don't know how to use it with the iphone, ipod, or ipad.  can you please tell me the uses for those devices and how to use them?

    TC has no direct relevance to any of the iOS devices..
    They backup to iTunes on the computer, which is then backed up by Time Machine to the Time Capsule.
    You can access files if you load an app like file browser.. but TC is not a media server .. it is a dumb hard disk and other than saving files there is nothing useful to do with the TC.

  • When I select a single object in a layer and try to move it with the mouse, everything goes with...

    I've been having this problem where I can't use the move tool with the mouse properly. I'll go and select a single item on a layer and then try to move it with the mouse (move tool). I've done this before and still do it all the time on Photoshop on my other machines. However, on my laptop it won't work. I grab the single object I want to move and the second I move it, it defaults to moving every single layer in my file. The only way to get around it is to use the arrows, but that's becoming laborious and frustrating.
    Any ideas?

    I know what you mean! This happened to me as well!
    And one thing that I found useful is, if you want to directly select a layer without selecting from the layers pallete and without having autoselect enabled, just hold Ctrl and click on in directly in the image. This saved me a lot of time!

  • How to help Novell with the PRU list?

    Hi! We are running some applications in our network that ZCM inventory seems unable to recognize. So my question is how can I Novell with the necessary info to get my different apps include in the next PRU? For example, the inventory can't detect "Antidote RX" or "Antidote HD" from the company Druide.
    Tanks in advance for the help!

    Try the utility from the link.
    2973340: ZAM Software ID Wizard 0 93758198
    Jim

Maybe you are looking for

  • How to put the back up from my iPad 2 on my iPhone 5?!

    Hi guys, So, just got a new iPhone 5 (previous couple were damaged/faulty). I am now trying to get it to sync all of my contacts, like I did with my iPad 2. Now, I seem to find a whole host of iPhone back ups from previous, but not the recent iPad 2

  • Date format problem in forms?

    I basically want the following.. in a date text item. 1st Jan 2008 if DD is 1 character and 20th Jan 2008 if DD is 2 characters. not 01st Jan 2008 20th Jan 2008 In SQL i can do this with date format 'FMddth Mon, YYYY' In forms though this does not wo

  • Unwanted Contact Requests

    Unwanted Contact Request IS THE REASON I AN QUITTTING SKYPE AND WILL NO LONGER PAY FOR THE SERVICE

  • Drilling from summary report to detail report - possible?

    Hi All, I'm new to Business Objects and am currently using Web Intelligence with Business Objects 12.1. I'm writing a report that shows the % of males and % of females that like drinking Coca Cola. Is it possible for me to set the report to drill thr

  • FIXED - Exchange 2013 - Can I Recreate Default Frontend Receive Connector SAFELY?

    Hi I'm need of some urgent assistance please. I had a fully functional Exchange 2013 server and decided to create a receive connector for a photocopier/scanner to included its static IP  port number 25. I accidentally chose Hub Transport role and not