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

Process of publishing to my server.

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

    Process of publishing to my server.


    I understand how to build a profile and set up aliases. However, I am confused about how one tracks updates to the database files themselves. For example, I have just created an inventory database with several tables and sets. I have created a web front end to access and manipulate this data using A5 components. I have done all this on my local machine and would like to publish to my server for which I have LAN access from my local machine (just mapped the entire server drive).

    Now I have set up a profile for this publishing which includes publishing the web components and web pages etc.. to the \\myserver\a5webroot in the "default" directory. I have set it to copy the database files to \\myserver\mydata etc... Now once someone access the data and makes changes the information in the database files (tables) will change. If I then make subsequent modifications to the database and web portion then when I publish those modifications I will be erasing the changes made by the users.

    I guess my question is this: When I first started using Alpha5V6 my development machine was the same as my server. So that when I opened the database to make any modifications I was able to see the stored records and saving the project did not affect the database records. Now since I am modifying a local copy of the database, that is not the same physical database as on the server, whenever publish back to the server I am in danger of overwriting the stored records of the database with a fresh copy of the database tables.

    What is the best practice to avoid this and how does one integrate changes to tables within the database with the records already existing in the tables that are on the server.

    Hope this make sense,

    Chuck

    #2
    RE: Process of publishing to my server.

    Chuck,

    I don't know if it is the "best" practice, but my way is to create identical paths for the data and webroot on both my local machine and the server. In my case, since I am a developer, I create my databases in a folder based on my business name and my clients name. My company is called TEAM Business Builders, so if I create a database for ABC Company, I would put the database in the folder C:\TEAM\ABC.

    If you leave the Target Folder in the Local Webroot set at "Default" it will put your published files in the folder C:\A5Webroot\ABC\Default.

    Now all you have to do is create and publish your database locally and copy those two folders over to your server. From then on, only access the database over the network, including when you continue to develop it. If it helps keep things from getting confusing, delete the local copy (after making a backup first, of course!).

    Since I am not really sure how you are using the database in practice, I don't know if this works for you. But if you want to use only one set of data, you might consider writing the whole thing for use in a browser so it doesn't get too confusing.

    Hope I haven't confuse you! :-)

    Howard
    Howard G. Cornett, Independent Consultant

    Comment


      #3
      RE: Process of publishing to my server.

      That is exactly what I wanted to do and it is all set for use in a browser. There is not access from other than the web. However, there is a problem with what you suggest (in my hands anyway) and you did not describe it in depth so maybe you can address it now.

      Everything is the same on my local development system and server system in terms of directories etc�

      You stated:
      �From then on, only access the database over the network, including when you continue to develop it.�

      Here is where I am unclear. When I open the database on the network can I be certain that all the associated files such as the table files and Web projects files and the like are being accessed and edited on the server side or does it look at my local machine for the files, since the relative paths and names are the same?

      Also, in creating a folder to contain my database files locally and then copy to the folder on the server with the same name there is a huge number of files created by Alpha5. This makes the transfer very confusing because I cannot easily tell what is modifiable by the end-user interaction with the database.
      From what I can tell:

      Database specific = .abd, .alb, .alm, .alx, .muf, .wcp_settings (with the .abd as the actual database file opened in Alpha5)

      Table Specific = .cdx, .dbf, .ddd, .ddm, .ddx, .ftp (with the .dbf being the actual table file containing the record data which is updated by the end-user using the web interface)

      Set Specific = .sem, .set, .sex

      Others found that I am not sure of = .�databasename�.history, .�databasename�.DefWebProject, .�databasename�.WebPublishHistory

      So from my not so exhaustive search, it seems that only the table files .dbf and .ftp are changed by users entering data from the web?. So these are the ones I should not overwrite when/if I have to transfer modifications from my local machine to the server, is this correct???

      I suspect that unlike some of you I expect to make significant modifications after deployment to the databases I create based on end-user comments. But, I need to make sure the data entered to that point remains in tact and addressable by any modification I make.

      Thanks,

      Chuck

      Comment


        #4
        RE: Process of publishing to my server.

        You are correct that the dbf and fpt files should not be overwritten as they contain the table data and the memo data respectively. I would also not overwrite the cdx files (indexes). If you follow those guidelines, you should be able to design locally and copy all files over except those with extensions dbf, cdx, and fpt. Be careful!

        Howard
        Howard G. Cornett, Independent Consultant

        Comment


          #5
          RE: Process of publishing to my server.

          As a follow-up, I have tested the notion of opening the database on the server through the LAN and opened the WebProjects associated with the database. I then edited one of the a5w pages and published the file. Despite opening the server version of the database it published changes to my local machine not to the local machine it actually resides on. So local machine "default" actually means the default relative to the alpha5 program not the local machine relative to the physical location of the database.

          In other words do not open and edit the database projects over a LAN and expect the changes to be reflected on the system the database resides on. The changes will be on the local machine relative to the A5 program.

          I know setting a web profile would fix this but then what would be the point of opening the database on the LAN?

          Chuck

          Comment

          Working...
          X