Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic is for application designers who need to define data structures, including streams, attributes, properties and relationships.

To configure your application to display data to users, you need to: 

  • Load data into PhixFlow using analysis models. Configure connectors to access your existing data sources and store the data as streams in PhixFlow's own database. You can also set up complex, bulk processes to manipulate large volumes of data; see Analysis Model.
  • Define the data structure using ERDs. These diagrams define

    PhixFlow  Entity-Relationship Diagrams (ERDs) define the logical structure of the data

    and the relationships between streams; see Understanding ERDs and Views and Creating an ERD. You can:
    • either define an ERD before adding any data to PhixFlow
    • or you can load data from external sources first. You can then drag streams into the ERD and simply add the relationships. This method is recommended as it ensures the data types will be correct.
  • Compile data views that show application users only the data that they need to see; see Compiling Views.
  • Connect data to screens; see Showing Data on a Screen. You can:
    • add data components, such as grids and charts
    • connect a parent component to a data view, so that it's child fields can display data from the same source.
  • in your application. "Entities" represent the things in the world that you want to represent as data. Defining the data for your application is considered the first step in your design.

    The following example shows an ERD for a school. The school has entities: departments, teachers, students, classrooms and so on. All these entities are represented as tables and the lines connecting them show their relationships to one another. We can see from this a School Department has many Class Rooms and Teachers. This is covered in more detail in Understanding ERDs and Views

    Image Added


    Iframe
    srchttps://www.youtube.com/embed/jNdlDz9IWmM
    width700px
    height400px

    Once the data is connected, you need to configure parts of the screen, such as buttons, with actionflows. This enables users to make changes to data; see OLD Actionflows and Action Configuration.

    Panel
    borderColor#00374F
    titleColorwhite
    titleBGColor#00374F
    borderStylesolid
    titleOther pages in this topic
    children

    ERD Page Layout

    Here is a simplified view of the ERD editor.

    1. The Toolbar provides ERD specific options, such as displaying the available table that can be added to your ERD and options for creating new table.
    2. The Repository browser, can list all of the available tables in your application and any associated packages. Select Tables from the toolbar to display this area. 
    3. The Canvas area where the ERD will be configured. Tables can be added by:
      1. Dragging Table from the create menu of the toolbar onto the canvas.
      2. Clicking Tables from the list menu of the toolbar and dragging a table from the repository onto the canvas.
      3. Excel documents can be dragged directly onto the canvas and will be imported automatically.
    4. The Tables and Relationships, are displayed on the canvas. A Table Shows all of the attributes it contains within it and the data type. A relationship between two tables is displayed as a line connecting the primary key of one table to a foreign key of a second table. This is discussed in more detail in Relationships.
    Image Added

    Already have data?

    If you already have data that you wish to import into PhixFlow, such as a database of customers, you will need to use an Analysis model.

    Analysis Models will allow you to configure connectors to access your existing data sources and store the data as tables in PhixFlow's own database. You can also set up more bulk processes to manipulate large volumes of data before it is presented to your users; see Analysis Model.


    What Next?

    Understanding ERDs and Views covers ERDs in more depth to help you design your own ERDs and views of the data.




    HTML Comment
    hiddentrue

    May need more details on options for loading data, or a separate concept page.

    • Enter data yourself, by hand (is anyone really going to do this?)
    • Generate test data using input multipliers - no instructions currently
    • Quick-load excel files - not yet implemented
    • Use an analysis model - collectors - currently the only method
    • Use an API to import from a tool - not sure if this is possible yet.