Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Design advise needed - Dialog2 or Standard Grid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Design advise needed - Dialog2 or Standard Grid

    Hello:

    I'm tying to decide on the best way to design a grid/feature for my web app.

    Overview: I run a company that provides education to various groups. I am trying to develop an 'instructor portal' so that my instructors can enter the courses they have taught, register students in the course, and also enter any payments received for a students registration. I'm not certain of the best approach to design ... i.e. should i use a standard grids/linking or use dialog 2? I get a feel that if D2 is the appropriate method for this then it would appear more streamlined (as i can make use of repeating sections--registrations and payments); using standard linked grids might make it too 'multi-layered'.

    Data sources:
    • studentInfo (pk sID)
    • courseinfo (pk crsID)
    • registration (pk rId; sID = student ID, crsID = course id are used to link to respective records in child/parent tables)
      • Payment (pk pID, rID = registration ID linked to registration table)


    I've figured out the flow: the instructor will either create a course (or open an existing one). They will then enter students into the grid (either by selecting current students or by adding new ones)--this will also serve to add the appropriate registration record to the registration table. in additional they will then enter any payments made against a registration--inserting payments detail to the payment table.

    Based on the above information. Is it best to use Dialog2 for this (an issue I think I foresee is: can you have more than one repeating section in a d2 component, and can d2 components have 'nested' repeating sections.. i.e. payments section nested within the registration section?).

    Are they any other limitations, or ideas that anyone can shine a light towards... i'm sure that that is gong to be a long project to create--with very little time to do it in... therefore i'd like to accomplish this as efficiently as possibly.

    Thanks
    Lee

    #2
    Re: Design advise needed - Dialog2 or Standard Grid

    Hello Lee,

    I can give you my opinion, and keep in mind it is just my opinion, and there may be other factors to consider, but I can at least get the ball rolling on this discussion.

    My initial feeling is that the dialog may be the best approach for you to edit and enter data, while displaying the data might be best in the grids.

    The main reason for this is that with a dialog, you can allow the user to input information before anything is stored to the underlying database, can then validate the information, and then post it to the database. This is an especially nice feature if you are entering data into multiple tables which might have to be entered in a particular order (such as a parent record existing before any child information is entered).


    I think I would be most likely to use the grids to display the data, or for data that is only needing to edit or post to a single table, and use dialogs to enter or edit data when there are multiple tables involved.



    Just my two cents worth...

    Gordon

    Comment


      #3
      Re: Design advise needed - Dialog2 or Standard Grid

      Thanks a ton for replying Gordon. I'm leaning on the side of dialog2; although likely there will a small learning curve.
      I'll give it a good ponder along with waiting to see if anyone else gives an opinion.

      Thanks again
      Lee

      Comment


        #4
        Re: Design advise needed - Dialog2 or Standard Grid

        The dialog2 is the say to go in my view. Remember, the diaolg2 is a super control, so it can host other dialog2's (and grids) within it, this is where you will find it most valuable. Use a SQL back-end and get the results you need to display from views.
        Insanity: doing the same thing over and over again and expecting different results.
        Albert Einstein, (attributed)
        US (German-born) physicist (1879 - 1955)

        Comment


          #5
          Re: Design advise needed - Dialog2 or Standard Grid

          Thanks Pete. I appreciate your reply. I'm toying with it now and banging my head against the wall already--just because of the learning curve, and figuring how to place a repeating section within a repeating section (i..e registration and payments together).

          I'm using MySQL however... What is the advantage of a view and not a table in this case?

          Comment


            #6
            Re: Design advise needed - Dialog2 or Standard Grid

            The view is used to create a collective view of multiple tables that share a common key. A table can only show you a the view of that table.
            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #7
              Re: Design advise needed - Dialog2 or Standard Grid

              Lee -

              ... or ideas that anyone can shine a light towards... i'm sure that that is gong to be a long project to create--with very little time to do it in... therefore i'd like to accomplish this as efficiently as possibly.
              So why re-invent the wheel

              Me being the inherently lazy type figured this out a long time ago :)

              One of my main apps at the moment is not too far off what you want to accomplish; in fact, it surpasses it. The only item that is not applicable to mine is the payments portion, as my app is designed totally for in-house use by my clients.

              As you are now contemplating, I too began with my compass, protractor and radius to create my very own wheel with FileMaker. Long story short, that is how I ended up here with A5 when I needed a top-notch web deployment.

              What I am doing is using A5 as the "front end" to the Open Source Community version of a very popular LMS called eFront. It's a PHP/MySQL script in the vein of Joomla!, WordPress, Drupal, etc. All the tables and functionality are already built in; I'm just providing "another way to look at it" as well as additional features that are either available only in their commercial versions or not at all. The payments portion would fit nicely into this category using A5 :)

              The added benefit of this method is that you can also offer the actual online training content as it's already there! :) That is what I am doing for the majority of the installs. Others are using it just to track legacy training systems that they already have in place.

              Just something else to consider

              Cheers!
              Lyle

              BTW, my brother lives in Avondale, AZ ... nice spot except it's too hot for this "cowboy"! :)
              Cheers!
              Lyle Chamney
              http://www.2ninerniner2.com/
              Websites rebuilt with WordPress
              http://goodcheapfastwebsites.com/
              Complete, ready to install WordPress websites
              http://snifflevalve.com
              WordPress training and tutorials

              Comment


                #8
                Re: Design advise needed - Dialog2 or Standard Grid

                Lyle: OMG! Thx for that information... although it doesn't help me do what i need for this instance of my project, it DOES however, get me the exact product i'm looking for a HUGE launch of new products & courses for my company early next year... BIG THANKS for that info! ..... re az: I'm in NJ right now... AZ is way too hot for me! My house there is south of I-10.

                Pete: Thanks for the info. Although, I do realize that I can select multiple tables and pop them in to a view. However, and I guess I'm lacking information in SQL here, if I create a view combining my students and their registrations (in to one view) and then use that view in the d2 component, will it automatically relate the records when a new one is inserted in the d2 component? (i'm going to try it when i get a quick second to work on that project, on a hunch I'm thinking it wont work, but if it does it just answered a nightmare of problems for this and other issues).

                Comment


                  #9
                  Re: Design advise needed - Dialog2 or Standard Grid

                  Originally posted by 2ninerniner2 View Post
                  Lee -

                  What I am doing is using A5 as the "front end" to the Open Source Community version of a very popular LMS called eFront. It's a PHP/MySQL script in the vein of Joomla!, WordPress, Drupal, etc. All the tables and functionality are already built in; I'm just providing "another way to look at it"
                  Lyle,
                  Question - when you say "front end", do you mean you're using just the database functionality of eFront, and producing all the web pages in Alpha?
                  Or are you running both an Alpha server and a PHP server for eFront?

                  This is a fascinating idea, very applicable to an application I'm thinking about, and I'd love to know more about how you're pulling this off

                  Kind regards,
                  David

                  Comment


                    #10
                    Re: Design advise needed - Dialog2 or Standard Grid

                    David,

                    I use Alpha to register students courses held in eFront on the web. although, (and this is vital for me) I do have a back office application (written in ms access) that ensure payments were made and then gives them access to eFront courses via API.



                    Lee

                    Comment

                    Working...
                    X