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

Using v8 web server general questions

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

    Using v8 web server general questions

    I am an experienced developer but with no alpha five expertise (yet). I am planning to re-develop an old legacy application in alpha five v8.

    I would appreciate it if someone could answer any or all of the questions below. I know its impossible but I have tried to phrase the questions so that a simple answer will suffice.

    1. I want the final application to run on web server. Is there a �best� hardware/software platform for the alpha five web-server. It will be running on an internal intra-net.
    2. The final application will need to support a minimum of ten, an average of 15, and a max of 20 users � is this a problem.
    3. Are there any pros to using alpha�s own dbf rather than say SQL server via alpha DAO. The database is not particularly big but there will be a high percentage of inserts and updates.
    4. Are there advantages to holding the db on a separate box other than resiliency. I do not need to keep web-server running 24/7 so I can stop it all to backup db.
    5. I want to keep a separate test environment, which will hold a copy of the live db from say 24 hours ago. How do I set up � do I need two boxes, two web-servers as well as two databases?
    6. Does any one have a feel for how many concurrent users alpha five web-server will support before it starts to slow up � for the purposes of the question you can assume that there is little or no database activity � I can factor that in myself; also can buy/use any hardware.
    7. My reading of the documentation seems to indicate that there is no way to add/remove users in the security model other than through alpha five � is this right?

    Sorry this is so long but could not find this by searching forum.

    I am UK based btw.

    #2
    Re: Using v8 web server general questions

    1. I want the final application to run on web server. Is there a �best� hardware/software platform for the alpha five web-server. It will be running on an internal intra-net.
    People have used everything from high-grade servers and server OS to Windows XP. The "best" or most common server arrangement seems to be Windows 2003 Server (not 2003 Web) with at least 2GB of memory. From my experience, Alpha performs poorly on a VPS.
    2. The final application will need to support a minimum of ten, an average of 15, and a max of 20 users � is this a problem.
    No problem at all.
    3. Are there any pros to using alpha�s own dbf rather than say SQL server via alpha DAO. The database is not particularly big but there will be a high percentage of inserts and updates.
    Most are using the native dbf's on large and small installations.
    4. Are there advantages to holding the db on a separate box other than resiliency. I do not need to keep web-server running 24/7 so I can stop it all to backup db.
    The db can go anywhere on your LAN. I can't see any advantage unless you were running on the Internet, where it would be an extra layer of protection for your database.
    5. I want to keep a separate test environment, which will hold a copy of the live db from say 24 hours ago. How do I set up � do I need two boxes, two web-servers as well as two databases?
    The "Alpha database", as in the development environment you open in order to create your application, the ".ADB" file if you will, is NOT required to run the web application. So you don't need to copy the "Alpha database". If you just want a copy of the data (not the web application), do a test Publish where you publish the database. See what gets published - that's what you need to copy from your master.

    Where the database resides has no impact on licensing.

    But if you want to run the web application itself on a different computer or outside of the given Document Root on the first computer, you would need a seperate license. If you created your seperate copy 'inside' of the Document Root (e.g.: //myserver/documentroot/app1, //myserver/documentroot/app2) there is no licnese issue.
    6. Does any one have a feel for how many concurrent users alpha five web-server will support before it starts to slow up � for the purposes of the question you can assume that there is little or no database activity � I can factor that in myself; also can buy/use any hardware.
    Database activity and pages submitted are the most important. If that number is small, then no problem. Actually, if that number is reasonably big, still no problem. Under 'average' conditions, hundreds of users would not be a problem. That's an unqualified statement, I have no hard statistics.
    7. My reading of the documentation seems to indicate that there is no way to add/remove users in the security model other than through alpha five � is this right?
    Yes, but you should explain what you want to do. It's quite possible to process a userlist from some other source, but it does have to end up in Alpha's Security Framework, and you do have to use Alpha functions to do that. And even though I said that, you can, if you know what you are doing, and at your own risk, update the Security Framework files from outside of Alpha.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: Using v8 web server general questions

      Steve

      Thank you very much for your prompt reply - I did not expect one over the weekend!

      I will take your answers and plan around them.

      One thing I am not quite sure about.

      If I use the same alpha "code" and publish to myserver\a5webroot\livesystem and myserver\a5webroot\testsystem and each of these looks at a test and a live database respectively, what code changes if any do I need to make to the test and live versions.

      Comment


        #4
        Re: Using v8 web server general questions

        I'm still a newbie at this, but in my experience there is no need for any code change, just a profile change (assuming both versions are using the same tables, etc.). Make sure that your profiles both post to the same root directory, of course. The Alpha 5 publish method seems to be pretty good at handling any path mangling that needs to happen.

        I'd try going in to detail, but I'd probably get it wrong. It took me awhile to get two versions of the same project working and I can't remember every little thing I had to mess with, but it is possible. :)

        Like Steve said, you will need to make a manual (or scripted) effort to copy the data files from your "live" to "test". I had a few problems with that as well, and finally just deleted every database related file in my "test" area before copying to it.

        Hopefully, someone with more experience can give you a good run down. You might try looking in the Documentation area, as that's where I got most of my pointers.

        Comment


          #5
          Re: Using v8 web server general questions

          Steve

          On reading your reply a bit more closely:

          "Alpha performs poorly on VPS" - what is a VPS?

          On point 7 - I think what I am asking is "what would I need to do on a live system if my customer rings me and asks for a new user to be added".

          Thanks again

          Mike

          Comment


            #6
            Re: Using v8 web server general questions

            A VPS is a Virtual Private Server. This means that one server is set up as a number of different servers, but to the user each one runs like an independent server.

            In a VPS, just like any other server, performance in a web application depends on available ram and processor speed. The Alpha Web Application Server needs more ram that a conventional web site...I first started with 320 and performance was very poor. Going to 640 made a lightly loaded site acceptable. In fact, I just had a client who tested going from 640 to 1 meg, and decided the performance gain was not sufficient to justify the extra cost and went back to 640. If your site uses large tables or complex Xbasic scripts, I would spec a minimum of 960.

            In your environment, the intranet, I would recommend, as Steve did, a 2 Gig machine.

            Alpha, however, does not benefit from multiple processors, so if I was recommending a machine, I would suggest a single processor, lots of ram and very fast hard disks set up in raid 5.

            As for adding users, there are two methods, and you can use one or both. You can add users throgh the A5V8 Pro (or enterprise) system on your development machine and publish the users to the web. Or, you can add users directly through web components. The risk in using both is that the two web security tables get out of synch and, when you publish the desktop, you overwrite the web data, losing some users added through the web. If users will not be signing themselves up, then just using the desktop version should suffice.

            Pat
            Pat Bremkamp
            MindKicks Consulting

            Comment


              #7
              Re: Using v8 web server general questions

              Thanks for all of your prompt replies - I think I understand now.

              The problem with "publishing" to create new users is that alpha will publish the whole of my development environment if I am not very careful - guess I will just have to watch carefully what is published.

              Comment

              Working...
              X