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

Plan to work with web and desktop

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

  • Plan to work with web and desktop

    I currently am using Ver 10, but will upgrade to v11 or v12. I have a hybrid application now for running a grocery delivery business that does most work on the desktop, with a retail customer interface on the web for ordering. Files are transferred to and from the desktop using ftp. The application uses dbf files only.
    I plan to do the following:
    • Export dbf files used on the web to convert them to SQL to use My SQL.
    • Change the current web components to work with SQL files (directly, not using active link tables).
    • Use DBforge studio to manage the SQL tables
    • Use a program like MySQL to DBF converter to convert the SQL files on the web to DBF and then use ftp to transfer to the desktop.
    • Develop a mobile app for those filling orders to work with the orders on the web and work with a product list using a mobile phone.
    • Over time, migrate desktop functionality to the web, so eventually the entire application will run on the web.
    • Develop a front end for customers to (more easily) order on a mobile device

    Does anyone experienced with hybrid and web applications have any comments or suggestions about the above work plan?
    Richard Urban

    Grocery Delivery Software for Stores and Entrepreneurs: http://www.urbangrocery.com

  • #2
    Re: Plan to work with web and desktop

    Hi Richard,

    I would be interested to know HOW exactly you would get your app to work WITHOUT active link tables? How would your reporting for instance work if there is no active link table?
    Have you done any research into approaching a SQL Database from within an Alpha application?
    As far as I know, there is no native support for MySQL. So how did you figured this one out to work?

    Comment


    • #3
      Re: Plan to work with web and desktop

      Marcel,

      You can create reports based on SQL Data sources and SQL Select statements with parameters for filtering so you wouldn't need Active Link tables for reports based on SQL. In the app I'm writing for WCD and WAS I am not using any Active Link tables. I'm using MS SQL Server and DAO connections. Alpha supports MySQL for DAO connections so the process would be the same.
      Brad Weaver, President
      ComputerAid International
      Ottawa ON Canada
      Versailles KY USA
      www.compuaid.com

      Comment


      • #4
        Re: Plan to work with web and desktop

        I don't have any reports on the website right now, just basic grids, forms and dialogues for customers to order. That is the part I will use with My SQL. I will maintain the desktop as DBF files for now.
        Richard Urban

        Grocery Delivery Software for Stores and Entrepreneurs: http://www.urbangrocery.com

        Comment


        • #5
          Re: Plan to work with web and desktop

          Originally posted by richardurban View Post
          I don't have any reports on the website right now, just basic grids, forms and dialogues for customers to order. That is the part I will use with My SQL. I will maintain the desktop as DBF files for now.
          if your web activity is not much, why don't you just keep the dbf for now and use that for web also, so you don't have shuttle the ever changing tables daily or more frequently. when you acquire version 12 for mobile use or 11 for web access and develop mysql based website just upload all the dbf files or convert them the way you do now. and phase out desktop altogether.
          thanks for reading

          gandhi

          version 11 3381 - 4096
          mysql backend
          http://www.alphawebprogramming.blogspot.com
          ggandhi344@gmail.com
          Skype:ggandhi344@gmail.com
          1 914 924 5171

          Comment


          • #6
            Re: Plan to work with web and desktop

            Thanks, Govindan for your thoughts. To clarify, what are you suggesting that is different than what I have stated above? I already do use just DBF files on both the existing web and desktop. My concern is making the newly to be developed web sql based part work with the already existing desktop DBF part. I feel it will be too much to convert everything that is now on the desktop to run on the web with an sql backend at once. That's why I was thinking to convert the sql files that are to be used for the new web part, as needed for download to the desktop, to DBF files. I know that is some trouble, but that way I could have them work with the existing desktop for now.
            Richard Urban

            Grocery Delivery Software for Stores and Entrepreneurs: http://www.urbangrocery.com

            Comment


            • #7
              Re: Plan to work with web and desktop

              Richard, will your desktop have access to your MySQL server on your web host? If so then it may be easier if you want to keep data in DBF files on your desktop side to do an import operation from the MySQL server rather than trying to convert MySQL data at the server and FTP it down. Another option is to simply connect to your MySQL data from your desktop application and use that data directly. That's where the ActiveLink question from Marcel came in above I believe. If you setup an Activelink table on your desktop to your MySQL data you'll have the working equivalent of a local DBF that is always in sync with your MySQL data on the server. The only disadvantage is that your desktop systems would need full time access to your web host where your MySQL tables reside.
              Brad Weaver, President
              ComputerAid International
              Ottawa ON Canada
              Versailles KY USA
              www.compuaid.com

              Comment


              • #8
                Re: Plan to work with web and desktop

                I guess the desktop can have access to the My SQL server. It just needs an (always on) internet connection, right? I recently took a seminar on using SQL tables with Alpha Five with Steve Woods and Larry Grupido and they recommended against using the Active Link tables. Do you know of any particular disadvantages of using active link tables?
                With the idea to import the MySQL data,would I then convert it on the desktop instead of the server? So that would eliminate the need to use FTP, as MySQL has its own protocol, and it would be secure?
                Richard Urban

                Grocery Delivery Software for Stores and Entrepreneurs: http://www.urbangrocery.com

                Comment


                • #9
                  Re: Plan to work with web and desktop

                  Do you know of any particular disadvantages of using active link tables?
                  Speed

                  With the idea to import the MySQL data,would I then convert it on the desktop instead of the server? So that would eliminate the need to use FTP, as MySQL has its own protocol, and it would be secure?
                  one. Unless you take extreme care, you could easily overwrite data.

                  Best of my knowledge, you will be treading on thin ice with the ideas you have presented. If it were me (and I know it is not) and I wanted my data on the web, I would build the whole thing on the web and dump the desktop. You can create reports on the web easy enough and print them as needed. Navicate even ships with a pretty fair report builder that will satisfy most.

                  Good Luck with your project!
                  Dave Mason
                  dave@aldadesktop.com
                  Skype is dave.mason46

                  Comment


                  • #10
                    Re: Plan to work with web and desktop

                    So the desktop style reports will run on the web with DBF files, but not when using an SQL backend, right? So, for instance, to print filtered lists of existing data, you would use a tool like Navicat or otherwise write SQL statements to produce and format reports in an SQL backend web based environment?
                    Richard Urban

                    Grocery Delivery Software for Stores and Entrepreneurs: http://www.urbangrocery.com

                    Comment


                    • #11
                      Re: Plan to work with web and desktop

                      Navicat would only be for your Admin use. You cannot give Navicat access to any of your users because they will have unlimited access to your database.
                      Steve Wood
                      Join the ALPHA DEVELOPERS NETWORK
                      There is no Cloud. It's just someone else's computer.
                      Web - Mobile - Hosting - Products - Frameworks - Developer Resources
                      AlphaToGo | IADN (100% Alpha Anywhere Websites)

                      Comment


                      • #12
                        Re: Plan to work with web and desktop

                        Web reports can be built using several formats with all the possibilities that deskside offers. Others will correct me if wrong using alpha.

                        Navicat has a report writer available with the upper edition, but requires a viewer for the reports at (I think) 15.00 ea.
                        You should be able to create reports available for pdf's that would be viewable and downloadable without navicat or report writer using sql of whatever flavor.
                        Dave Mason
                        dave@aldadesktop.com
                        Skype is dave.mason46

                        Comment


                        • #13
                          Re: Plan to work with web and desktop

                          Originally posted by richardurban View Post
                          So the desktop style reports will run on the web with DBF files, but not when using an SQL backend, right? So, for instance, to print filtered lists of existing data, you would use a tool like Navicat or otherwise write SQL statements to produce and format reports in an SQL backend web based environment?
                          Basically reports in SQL work just like reports in dbf. You can create a view using Navicat if you like (I do that a lot) and then use the view in grids, dialogs and reports. But if you prefer, you can write your select statement right in the report definition. DBF desktop reports will work on the web, but so will SQL reports work on either.
                          Peter
                          AlphaBase Solutions, LLC

                          Peter@AlphaBaseSolutions.com
                          https://www.alphabasesolutions.com


                          Comment


                          • #14
                            Re: Plan to work with web and desktop

                            Originally posted by richardurban View Post
                            I guess the desktop can have access to the My SQL server. It just needs an (always on) internet connection, right? I recently took a seminar on using SQL tables with Alpha Five with Steve Woods and Larry Grupido and they recommended against using the Active Link tables. Do you know of any particular disadvantages of using active link tables?
                            With the idea to import the MySQL data,would I then convert it on the desktop instead of the server? So that would eliminate the need to use FTP, as MySQL has its own protocol, and it would be secure?
                            If you use SQL on the desktop and your SQL data lives on another server, yes, you will need a connection.

                            I have an app that uses Active Link tables, they are a bit of a pain, but you can use regular desktop forms & browses, that's the advantage. Another method suggested by some is to use xdialog in which case you don't need Active Link tables. Or take the WCD route as recommended by Marcel.
                            Peter
                            AlphaBase Solutions, LLC

                            Peter@AlphaBaseSolutions.com
                            https://www.alphabasesolutions.com


                            Comment


                            • #15
                              Re: Plan to work with web and desktop

                              So the desktop style reports will run on the web with DBF files, but not when using an SQL backend, right?
                              no you can build reports on mysql data using sqldatasource as datasource and design the report.
                              as far as i know it is not easy to migrate easily from desktop to web with live data.
                              you could use sql like mysql build all components and reports then publish see if you are satisfied with that, then add the data from the desktop to the supporting tables then you can go live with the new website or have clean start.
                              you can access the mysql data using active link tables and it is not that easy or painless. wcd are better they might lack some functionality but can be converted to work with your new web side grids.
                              once you design tables using navicat pretty much everything else can be done with alpha. there is really no need to give navicat to anybody else other than yourself.

                              ps: i just looked at your site, it looks good and very functional.
                              Last edited by GGandhi; 06-30-2013, 08:49 PM. Reason: added ps
                              thanks for reading

                              gandhi

                              version 11 3381 - 4096
                              mysql backend
                              http://www.alphawebprogramming.blogspot.com
                              ggandhi344@gmail.com
                              Skype:ggandhi344@gmail.com
                              1 914 924 5171

                              Comment

                              Working...
                              X