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

Production vs development

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

    Production vs development

    Looking for suggestions for the best way of running the same web project simultaneously one copy for ongoing development, while serving up the working copy that is in use.
    Allowing me to move components, and other files from one to the other after adequate testing.

    A parallel copy running at the same time. I also would want a parallel database so I can test the development copy without polluting the primary database.

    Right now I am revising, or adding components to the project in use. It is not heavily used so this works, but is a hassle, and as my app grows in complexity, and I add more users this seems like a crude, and risky way to operate.

    Bob

    #2
    Re: Production vs development

    For smaller apps, or ones that I own and enjoy a little risk, I use the simple method of publishing directly to the app and fixing directly in the live app if necessary.

    But absolutely anything critical or for a live client, you need a Dev and Production environment. The easiest method is to run both Dev and Prod on the same computer with your Dev environment running on a separate instance of Alpha, published to a different folder of course. You then publish changes to your Dev copy, test and then just move the individual files from Dev to Prod (e.g., you do not publish from Alpha directly to Production). This takes some knowledge of what files are necessary to copy from Dev to Prod. For instance, if you changed page or component security, you need to move the appropriate file to update that in Prod as well.

    One of those files you need to understand is the a5_application.a5i file. It contains configuration settings for the website. You typically would NOT want to copy that from Dev to Prod as configuration on each side might be different. Typically what is different is the database connection string.

    In parallel to this, I am taking a daily back up of my published Production files so that I can recover immediately if something does not work properly.

    On the database side, I love using Navicat because it has a very easy "database sync" process that lets me quickly compare my Dev database copy to my Prod copy and update as required.

    On larger accounts we have three separate machines: Development, Test and Production. I test on Development, the client tests on Test, and then I copy appropriate files to Production, and it is tested again. The Prod in thsi case is totally isolated on the network for security reasons and so getting updated files from Test to Prod is a little more difficult.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: Production vs development

      I wouldn't use same app for development and production. to me it is messy and will get messed up in time.
      I would use two separate apps one for development one for production whether they are in the same computer or not.
      when you develop the components and test them and then publish to the production when happy. as far as db is concerned it is the opposite of what you do with app. you update the development from the production. just like steve I use navicat and dump my MySQL files and execute them in the development app.

      for components, development is current
      for db, production is current
      the direction of update is important.

      I just publish the whole folder over and over again. over time the files will be less and less. since I only work on small samples.
      thanks for reading

      gandhi

      version 11 3381 - 4096
      mysql backend
      http://www.alphawebprogramming.blogspot.com
      [email protected]
      Skype:[email protected]
      1 914 924 5171

      Comment


        #4
        Re: Production vs development

        Thanks Steve good insight.
        I'll try the second instance, and take a look at Navicate.

        Comment


          #5
          Re: Production vs development

          For clarity - I don't use the dump app, then restore. I use the streamlined Structure Synchronization.

          And everything else you said, I would never do it that way for a critical app. There should only be one master copy of the app, you must fully test in a separate Test environment, and then copy, not publish, updates from Test to Production. (Or from Dev to Production if you do not have that middle Test machine.) The reason you should not publish from Dev directly to Production is because Dev is often a couple steps ahead of what you want to go live with. If you publish from Dev to Production it is likely to publish objects that are in draft mode and not ready for use. Unless you know how to control what Alpha will publish, it will publish objects you do not want published. But again, on smaller less critical apps with no real Release/Build protocol, just publish direct to Production as you say.
          Steve Wood
          See my profile on IADN

          Comment


            #6
            Re: Production vs development

            I develop locally and test locally then publish live. I usually test on my production server as well using a filter so that ONLY I see the test component, then once I am satisfied remove the filter. So far so good and Alpha has come to the rescue with auto backups every time! The only thing you really need to watch is when working with sql - if you leave off a where clause you can devastate a table, #learningcurve.
            NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

            Comment


              #7
              Re: Production vs development

              steve, it makes sense.

              so far i develop and test locally and when happy i publish to the server, it is working without any problem. but your method of intermediary test server makes sense. i will try to implement that and see how it goes.
              as far as mysql dump and restore, that is the easiest for me. since i work with more than two computers with that db and use dropbox to send and receive the sql file and restore works well. ( also i use navicat lite, free version)

              thanks for sharing the information.
              thanks for reading

              gandhi

              version 11 3381 - 4096
              mysql backend
              http://www.alphawebprogramming.blogspot.com
              [email protected]
              Skype:[email protected]
              1 914 924 5171

              Comment


                #8
                Re: Production vs development

                Gandi,

                As soon as you get other people involved, typically a larger client, you need the intermediate layer. It also is a safeguard for the developer as the developer "should alone not test their own code" in mission critical applications. The triple layer "DEV / TEST / PRODuction" are more in line with an agile development process with build numbers, Release cycles, checks and balances.
                Last edited by Steve Wood; 09-30-2016, 03:11 PM.
                Steve Wood
                See my profile on IADN

                Comment

                Working...
                X