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

Native DB vs External DB

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

    Native DB vs External DB

    Hey guys and gals, I am new to Alpha and fairly new to databases (after 6 years of MS Access I still know nothing!)

    I am building a database for customers, invoices and employee time logging. Our users will manage the data almost 100% of the time from a mobile device, and at least for now, we will create the application as a web project. I have dabbled around a bit with Alpha for about a week now, and realized I really didn't know much about how the connection strings work. I already ordered hosting with ZebraHost, and we already have Office365, complete with a working (word is used loosely) SharePoint.

    Now with the background out of the way, could you please tell me the pros and cons of:

    A) External: Creating SQL tables and connection strings through Alpha (Tools>Create SQL Table...) that reside on a SharePoint
    B) Native: I don't know much about this yet but I am guessing the tables would reside on the ZebraHost server within the Alpha files?)

    At this point I have my DBs (Access SQL) sitting on the hosted server, but I would assume it would still be technically external, and my work space (project) files in a folder synced with Google Drive on my local machine. I tried making a new workspace with my local machine on the server but it would not let me save anything on the FTP folder I browsed to. I don't like being reliant on a local machine for the files I will use for development, so is there another way I am missing here?


    Some of the functionality I need that may limit this would be tables that can be backed up easily, an application that can be updated (I'm talking about front end code stuff, not modifying table structure) but can still retain data that may have been added or changed while the update was being developed, and the ability to initially import data from our existing MS Access 2013 desktop database (or from one of the export options available for Access).

    Again, I am new to this. Any and all info will definitely be appreciated, so if you need to school me or offer an alternative to how I am looking at this, I am all ears.

    #2
    Re: Native DB vs External DB

    Native files are .dbf files. You can search dbf vs SQL on the board and you'll generally find that people who have worked with Alpha .dbf files for years and/or smaller table requirements will defend it, but most (including Alpha employees) will argue a number of reasons SQL is more robust for sure and a variety of other reasons.

    To be clear, once you've set up an SQL connection string, your Alpha components will work as "native"-ly as .dbf, and the custom code is different for .dbf and SQL but neither is any more complicated or restricted within Alpha (though SQL queries can be more powerful/complicated than .dbf queries).

    Comment


      #3
      Re: Native DB vs External DB

      Welcome Jack,

      Without question you should upsize your Access tables to MySQL or SQL Server. Both are free (SQL Server Express), but after working with both for some time I'd have to say that MySQL is a little more forgiving... a little less painful than SQL Server. Just my opionion.

      But... definitely not DBF and not Access tables. I've worked with Access since version 1.0 came out and it's great but I would dream of using it's tables or it's development environment any longer.

      Once you set up a connection string to your MySQL server under Zebrahost it's smooth sailing. A connection string is nothing more than a pointer to the ip address and database of your Zebrahost sql installation. And Zebrathost gives you all that info.

      I think you're making your setup a bit more complicated that you need to. Set up on your local machine, and make sure all your development stuff is backed up to your google drive. Setting up on your local machine, accessing data from Zebrahost gives you a realistic picture of how things are running... because this is how your users will be running.

      I have a local copy of MySQL and SQL Server running... test locally while developing... and then publish to Zebrahost when ready.

      You can either backup your remote server data yourself or get Zebrahost to add that functionality for a cost.

      Comment


        #4
        Re: Native DB vs External DB

        Most web server companies including Zebrahost have a license of the web version of MS SQL, which you can share for a very reasonable monthly charge. It's how I run all my customers' sites at Zebrahost.
        -Steve
        sigpic

        Comment


          #5
          Re: Native DB vs External DB

          All of the hosting companies I use supply MySQL and Mssql as part of the monthly fee. MOst have tools to work with MySQL, but not so much with mssql, although there are free tools out there to work with them.
          Usually have a choice of 2008 or 2012 server for ms and Generally redhat Linux on the others.

          Steve Workings? May I ask where the db goes with Zebrahost? This is assuming the db is placed on Zebrahost.
          Dave Mason
          [email protected]
          Skype is dave.mason46

          Comment


            #6
            Re: Native DB vs External DB

            Dave - depends on your configuration. Most users will start with a single server and if the project is small, stay with that. In which case the SQL server installation and database is on the same server as the web server.

            In another case where I started out as above, I added another web server, but the connection string to the original database is the same, so I can just go on my way adding web servers as I wish, using the same database that is and was originally installed on the single server. As this particular application gets bigger, and as some here have already done, I can move the database off to it's own server (or servers) and just keep right on building.

            I think part of what you're suggesting or wondering here is how available/accessible the database is for personal management. The answer is completely -- it's all mine and there are no restrictions to me. This is is contrast to some services I've seen that have things like "dashboards" or "control centers" where the ISP requires you to use some kind of middleware to communicate with and manage your database. That's not very desirable at all if you ask me.
            -Steve
            sigpic

            Comment


              #7
              Re: Native DB vs External DB

              Lots of good advice here. I think David Kates is right when he says that you may be making it harder than it needs to be. You can develop on the Zebra server if you prefer that over developing on your own machine. Talk to Zebra and they will walk you through it and do most, or all, of the setup for you.
              Peter
              AlphaBase Solutions, LLC

              [email protected]
              https://www.alphabasesolutions.com


              Comment


                #8
                Re: Native DB vs External DB

                I think part of what you're suggesting or wondering here is how available/accessible the database is for personal management. The answer is completely -- it's all mine and there are no restrictions to me. This is is contrast to some services I've seen that have things like "dashboards" or "control centers" where the ISP requires you to use some kind of middleware to communicate with and manage your database. That's not very desirable at all if you ask me.
                Thanks Steve.

                I have used many hosting services. Some like yours are that the db is handled and managed by you. Others(mostly shared) use a hidden from you database so that other shares can't accidentally get there(their words-not mine).

                I was wondering how it was done on Zebrahost which is one I have never used. You answered that.
                Dave Mason
                [email protected]
                Skype is dave.mason46

                Comment


                  #9
                  Re: Native DB vs External DB

                  Thank you everyone for these fast and detailed responses. I think I have a good enough understanding to continue on now, and it sounds like I made the right decision when I signed up with ZebraHost. I HATE DASHBOARDS.

                  Comment


                    #10
                    Re: Native DB vs External DB

                    Originally posted by Davidk View Post
                    But... definitely not DBF and not Access tables. I've worked with Access since version 1.0 came out and it's great but I would dream of using it's tables or it's development environment any longer.
                    If you use latest Access version and what to deploy to web then you use Sql Server as a backend with Access and SharePoint server as a deployment server so certainly there are situations when you can use or want to use Access. The cost of SharePoint online server with Access services is about 5 dollars per user per month so small intranet is not a problem.

                    Comment


                      #11
                      Re: Native DB vs External DB

                      Originally posted by Davidk View Post
                      Welcome Jack,

                      Without question you should upsize your Access tables to MySQL or SQL Server.
                      Actually, I made these tables from within AA (Tools . Create SQL Table...) and the file that opens with Access is a .mdb and is notably different from the regular appearance and funcion I am used to with regular Access files, so yeah, I think I'm good there.

                      Comment


                        #12
                        Re: Native DB vs External DB

                        Jack... do yourself a favour and use MySQL or SQL Server, not Access tables. Alpha runs great with Access, but Access is not a true multi-user, SQL, hammer away it, database. Install MySQL locally, create a connection to your local MySQL and to your ZebraHost MySQL... upsize your Access tables... and enjoy.

                        Comment


                          #13
                          Re: Native DB vs External DB

                          Originally posted by Davidk View Post
                          Jack... do yourself a favour and use MySQL or SQL Server, not Access tables.
                          Is "Create SQL Table" from within Alpha Anywhere different than what you are recommending I do?

                          Comment


                            #14
                            Re: Native DB vs External DB

                            I can't quite tell from your post, but I think you ended up with an Access table when you used "Create SQL Table". That's how it sounded. Is that right?

                            Comment


                              #15
                              Re: Native DB vs External DB

                              I dont think I should assume anything at this point. All I really know is that the file created was an .mdb file, that can be opened with MS Access, but is very different when opened this way, such as not having a calculated field type for table fields or AutoNumber.

                              I there a way I can determine if it is SQL or not?

                              Comment

                              Working...
                              X