Need advice on application layout

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Need advice on application layout

    Some background info on the project. My application will be using a single
    database table as it's data source, using Flex Data Services 2. This table
    contains problem tickets that my users have given me. The table contains a
    "status" column, which holds an 'open' or closed' value to denote the current
    status of the problem ticket, as well as a date column to signify when the
    ticket was submitted.

    I need to make an application that will show three different views of the same
    table: the current day's open tickets, the current day's closed tickets, and a
    history of all tickets. I also need to include a form where I can input
    tickets.
    Here's an example I made in a few seconds of what I am thinking it would look
    like:
    [url]http://www.personal.kent.edu/~aeckert/flex/exampleapp.swf[/url]

    This is where I need advising. Since all three datagrids will be using the
    same data source, but will require a different filterFunction on the
    dataprovider, is it better to separate each tab into a component where I can
    create a single dataprovider with filterFunction for each grid, or keep it all
    within the main application? If I separate them, how can I make sure each grid
    will properly update when I add a new ticket, or change the status of a ticket?

    Also, does anyone else have a better suggestion for my design?

    EvolvedDSM Guest

  2. Similar Questions and Discussions

    1. Application Development Advice
      We have been using Flash for the last couple of years to develop small applications and presentations used for project reporting. Most of our...
    2. dynamic layout change in Application object
      Hi! I the following moving from a vertical or horizontal layout of the Application will not have effect. Is there any specific method to run for...
    3. need advice on this application (cfc/xml/ini)
      I am writing a web application that can automatically generate a word document. Users can select the grouping criteria and the generated document...
    4. Oracle real application cluster and hacmp concurrent mode ..please advice
      Dear Guys! Are there any persons who have configured Oracle RAC or prevoiusly called Oracle parallel server on HACMP/ES. I have few questions!!...
    5. Advice on Php/Mysql application - User Validation
      Im rather new to developing mysql/php applications and am after some advice on handling user validation for a web based system, ive implimented a...
  3. #2

    Default Re: Need advice on application layout

    If you bind you controls to the data model(s), and use the dataProvider AIP to
    update the data, then the UI/data synchronization will happen automatically.

    The filter function makes a copy of the data, leaving the base model alone.

    Components are usually easier to maintain.

    Tracy

    ntsiii Guest

  4. #3

    Default Re: Need advice on application layout

    ntsiii can you elaborate on what an AIP is? Maybe I'm already using it and
    just don't know what it is?

    I was planning on declaring a dataservice with an arrayCollection of the data
    to populate the grids (i'm using CF as my backend). To create new records I
    was going to use a ds.createItem(item) statement. Updating the records would
    be done through the datagrid edit property.

    One question: If I'm creating separate components and declaring the same DS
    and AC in each component but with different filters on the AC, will the DGs
    update properly while the filter is on it? Or is there something I need to do,
    like an addEventListener to get all the data to update properly?

    EvolvedDSM Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139