Jump to content

mierlp

uniGUI Subscriber
  • Posts

    572
  • Joined

  • Last visited

  • Days Won

    35

Posts posted by mierlp

  1. Hi Sergio

    Thanks for the compliment. In daily life I am an IT Solutions Architect for the government. I am involved in all kinds of IT developments.
    This can be server, storage, network concepts, workplace concepts, virtualization, SAAS, IAAS, PAAS, etc. to fiber optic concepts in
    the city for 5G, fiber optic concepts for traffic control installation in the city, but also concepts for camera surveillance and everything
    that goes with it.

    In addition, I have my own company Eventsoft, which focuses on the festival / events industry with our software and hardware.
    The software is the registration of volunteers, guests, artists and suppliers and a whole lot moren :) . The reason for this is my
    own festival www.bospop.nl.

    KEMA is certainly known in the Netherlands. I went there 8 years ago for a presentation

    Regards Peter

    • Like 1
  2. Hi

    See answers in red:

    Question 1 - How does the provider VPS work?:

    In my current provider I access the Windows Remote Area that they have made available, I place the program's DLL in the 😄 /MyDLLDirectory , adjust the ISS and then just enter the address in the browser. Everything equal to what I do here at home on localhost. Before, I installed MySql in the remote area.

    My doubt is if In CONTABO and other VPS providers  the procedure is the same
     

    A VPS server (virtual private server) is no more than your own virtual server based on a hypervisor, eg Microsoft Hyper-V or VMware or another variant. You should see this as follows:
    - Layer 1: Physical server / hardware / storage
    - Layer 2: Hypervisior (Microsoft Hyper-V or VMware)
    - Layer 3: Virtual machine with an OS (Windows server 201x / Linux)
    You make optimal use of your hardware and within the hypervisor layer you have several virtual machines.

    Your virtual machine is allocated, among other things, cpu, memory, disk capacity via the hypervisor layer.
    You install an operating system in your virtual machine (vps). This has often already happened with a VPS server. Then you can install everything on this ... your MySQL server, uniGui runtime, you're .dll and IIS (often only turned on).

    Access to your VPS server for management or installations is usually based on an RDP session or Plesk or cPanel of other solutuions..
    You usually get this login information from your VPS provider.

     

    Question 2 - which plan to choose:
    I will put 1 or 2 “calculators” with a 32MB DLL that uses a small MySql database. These are specific calculations and I think should never have more than 2 to 3 simultaneous users. Most likely to have only one user at a time and from time to time.

    Do the plan that you listed meet my needs. I think YES

    You don't need much for the application you describe. All processing is done on the server.
    The Contabo VPS S SSD is sufficient with 200 GB and 8 GB of memory.
    Almost all VPS configurations are made up of a C and D partition.
    This will be approximately:
    - Partition C 70-80 GB for OS and eg MySQL
    - Partition D:  remaining GB

    You can of course install everything on the D partition (also advised). This is to prevent that when you get a Windows update
    you don't have enough space on C. The maxim is often:
    - Partition C Windows OS only and what is really needed or can not be installed on a other drive
    - Partition D programs and data

     

    Question 3 :

    If it is a Remote Area the common thing is to have available a MySql and ISS operating or do I need to install?

    First you set up a Remote Desktop Session to the server and you take over the server. So you just see the OS as you are used to with a
    local computer and it works the same too. You see the local drives/folder of you're local machine AND  drives/folder of the remote machine.

    What you often cannot do is download from, for example, MySQL via the browser on the VPS server.
    What you do is download MySQL on your PC and upload it to your VPS server and then install it.
    IIS is part of Windows 2019 server and stands for VPS server in 95% ON by default

     

    Question 4:

    If I want to put in the same remote area - in another directory - besides the DLL one -  a very  little html PHP site does this work?

    An html / php site also works. You must then convert / link the domain name to this VPS server. Otherwise the '' internet '' will not know where to look where the site is located. This has to do with DNS. Roughly speaking, it means that a name is linked to an IP address. That is the IP address of, for example, your VPS server.

    vmware.png

  3. See Hosting - uniGUI Discussion Forums

    I think there are several satisfied users on the forum using Contabo.com. I have a test VPS server myself at Strato.com.
    Price difference is often in:
    - number of memory
    - Processor
    - bandwidth (you pay extra for traffic when you use more as in the contract) 
    - disk space

    If you need 200 MB of bandwidth then you have a good solution at Contabo.
    But take a good look at what they offer in addition, such as snapshots, backup, ip addresses, etc

    Contabo                                                   Strato
    - 4vCPU                                                   - 4 vCPU 
    - 8 GB RAM                                              - 4 GB RAM  
    - 200 GB SSD storage                             - 200 GB SSD storage
    - 200 Mbit traffic                                     - unlimited traffic    
    - Windows 2019                                       - Windows 2019
    - € 10,98                                                   - € 20,00   

  4. Hi,

    Personally, I am not a fan of sending email via gmail, hotmail etc. As Fred also points out, there are many rules that you have to take into account.
    Rules that change often and that you often cannot set yourself. You also often have to take into account the relationship between an e-mail address
    and the domain from which you send it.

    Be aware that when you send a lot of mail VIA gmail (bulk mail), you will soon be blocked because of spam.
    Much is then a relative concept because mail is monitored on the ip address / domain from which it is sent,
    number per minute, hour, etc., sender and replay address, etc.

    A number of guidelines apply to (bulk) mail:
    - link to domains, not IP addresses in email html body.
    - do not include JavaScript in email html body.
    - do not include embedded Object (ActiveX / Flash) in email html body.
    - don't include HTML forms in email html body.

    Providers such as hotmail, gmail, yahoo impose many restrictions on sending e-mail. You do not have this when you send mail
    from your own domain or take one of the options from my previous message

    Some guidelines
    https://support.google.com/mail/answer/81126
    https://support.google.com/mail/thread/9912589?hl=en
    https://help.yahoo.com/kb/emails-arent-received-yahoo-mail-sln28074.html

    If you really want to use it for business to send mail from your application, you can better:
    1. send mail from your own domain, so via the domain where your application is started/hosted
    2. use an smtp / relay server
    3. send mail via an account of the customer

    Option 1: send from your own domain
    You can then create an email address for each customer. Suppose your application domain name is "myapp.com". You have 2 customers who use your application. These are the companies:
    - company-X (have their own website / mail)
    - company-Z (have their own website / mail

    You now create an e-mail address for every customer, namely:
    - company-X@myapp.com
    - company-Y@myapp.com

    When the company uses the e-mail functionality within your application, they use the above e-mail address.
    Mail will now be sent FROM your own domain name WITH the same domain e-mail address, namely @ myapp.com

    The next step is to ensure that when a reply is given to this e-mail, it also reaches the relevant company.
    After all, one answers to Company-X@myapp.com and the mail ends up in your mail environment.

    You now put a forward line on the mailbox of company-X@myapp.com whereby the mail is forwarded to an email address
    of the company, for example info@company-X.com.

    Now the mail is forwarded to the company and the communication takes place directly between company and customer
    who has replyd on that mail. Company-X must, however, submit an spf record in their web environment take from myapp.com.
    This indicates that company-X trusts myapp.com when sending e-mail.

    Option 2: use a relay server
    This is the most reliable way of sending mail. A smtp provider has everything set up to send mail optimally, continuously adapting the changing
    mail rules of eg gmail, hotmail, outlook, etc. All you have to do is create accounts per customer, etc. Examples of smtp / relay server providers
    are for example (there are in every country). Mostly all relay server providers have test account to send a x-amount mails for testing,:
    - https://www.sendinblue.com/
    - https://www.mailchimp.com/
    - https://www.serversmtp.com/
    - https://sendgrid.com/
    - https://www.flowmail.com

    You then pay an x amount for an x number of mails to be sent per month, usually it starts at 15.000-20,000 per month.

    Option 3: use mail server client
    This option is also applied, but may result in mail being seen as a spam.
    You ask your customer to create an email address with a password. What you actually do is use this data to log in to the mail server
    of the customer and send mail via that mail server.

    All 3 options have advantages and disadvantages. Sending mail from a different mail address than your domain (where your application is located)
    is often seen as spam. Especially when you are going to send multiple mails to the same e-mail domain within a certain time.
    This specific time is different for each provider (gmail, hotmail, outlook). 

    Do not forget to include the correct header information in your mail, especially when you send mail using options 1 and 2.
    Header information is important because the domain is often mentioned there and then you run the risk that app domain and
    mail domain are different to be.

    You also have a number of other settings such as Dkim, Dmarc, Tls that affect the security of mail.

    Regards Peter

  5. Hi

    I use the code below in the ServerModule.CustomCSS to modify my treemenu. See attachment.

    File TreeMenu_default is when no actions are done
    File TreeMenu_select is when i have clicked on a item and as you can see the background is lighter. 

    How can I make the background of a selected item the same color as the background of the treemenu
    AND that the light blue vertical stripe (left of an item) remains visible.

     

     

    .treemenu .x-treelist, .treemenu .x-treelist-row{
      background-color: $00161616;
      height: 40px;  
    }
    
    .treemenu .x-treelist-row-over, .treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{
      background-color: #222831 !important;
    }
    
    .treemenu .x-treelist-item-text, .treemenu .x-treelist-item-icon, .treemenu .x-treelist-item-expander {
        color: #FFFFFF;; 
        font-size: 12px; 
        font-family: Roboto;
        vertical-align: middle;       
    }
    
    .treemenu .x-treelist-item-wrap {
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

     

    treemenu_default.png

    treemenu_select.png

  6. Hi Dominique

    Is a proxy server active OR take a look at LAN settings. If the checkbox is checked at the option 'proxy server'
    turn it off and see what happened

    Other options

    • clear browser history for the browser and see if it works
    • allow google chrome through the Windows firewall by adding Google Chrome as allowed program
    • flush the dns, but i think based on you're description it's related to google, flushing can be done from the command prompt with ipconfig /flushdns

     

    Greetz Peter

     

  7. you mean after compile ... then your .dll is in the same folder as the .exe of your project. \win32\debug

    When it comes to the .dll in your isapi environment, you can place it where you want as stated in the manual

    Or do you mean something else?

  8. Hi

    I use the same solution as Abakasoft.

    I have a database table with standard messages. A standard message contains variables that can be used in the message. This will look like this for example. This is typed in a dbmemo field.

    Dear [DRIVER], please move your vehicle with license plate [NUMBER PLATE] directly to P3.

    In the screen where you can send an SMS message you can choose from the standard messages. The data of the variable is replaced with data from a database to personalize it. This will look like this:

    Dear Peter van Mierlo, please move your vehicle with license plate AA-BB-123 to P3 immediately.

    The merged SMS message is stored in its entirety in a separate database for sending. Another process checks the database and sends the
    message and moves it to an archive. Keep in mind the maximum number of characters that you can send in 1 SMS. This is often 160 characters.
    If you are above this, a second text message will be charged or your credit will be deducted.

    See attached screenshot...it's dutch but you got a idea how it looks. This is a win32 application, but i have something simular with unigui.

    Also the user can set the priority to high or normal for the sms message. The difference is when using priority high the message directly
    showed on the screen without opening you're sms app on the phone. Priority normal you have to open you're sms app to view the complete
    message.

    You don't need a expensive  gsm modem. Take a look at www.aliexpress.com and search gsm modem of wavecom modem.
    https://www.aliexpress.com/item/32703915582.html?spm=a2g0o.productlist.0.0.1a953654pbk4IZ&algo_pvid=d4071e00-3e66-482c-b36b-11325bca75cd&algo_expid=d4071e00-3e66-482c-b36b-11325bca75cd-1&btsid=0b0a050b16134312210398176e9ee0&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

    Check the modem gsm band if it's supported in your country. You buy a modem for about € 25-€ 30.
    Buy a simcard with you're phone provider in your country and you are ready to go. 

    Best is to use a usb modem...mostly you don't need a driver. I use several wavecom modems for sending sms messages
    from desktop and uniGui applications without problems. When a customer has internet on his event location they can
    use the internet variant but can also use a connected modem. When using internet providers you can create sub-accounts
    per customer and set the sender-ID (company name or something else.) The person who receives a sms message also 
    sees the sender-ID...for example the company name.

     

    iTransport_wxwj80fpjg.png

    • Upvote 1
  9. Hi

    For TSplus, - just like with almost all RDP or RDS solutions, a license per user, NOT per application.
    You can make multiple applications available via the portal function. It is also possible to start that
    one application immediately after logging in. After closing you log out automatically.

    All RDP / RDS solutions have advantages and disadvantages ... it is exactly what you are looking
    for in terms of functionality. TSplus licenses are considerably cheaper than competitor. 

    Printing is the same as in other RDP / RDS solutions and does not cause any problems.
    In a web application you will now just get more issues when you want to print directly on the printer of your user.
    You will then always have to offer it in your browser as a PDF and then print from your browser.

    If you do not have many users, you can also put 2 cheap desktops somewhere with 1 own rdp license
    and one can then connect to your rdp machine / application.

    @wilton_rad
    your system even accessing through a url in the browser, it cannot be called a web system. if you are
    already migrating to unigui, it makes no sense to

    Correct ... you cannot call it a web system. But there are many companies in the transition from client / server to web.
    RDS solutions are then used as a bridge in order to allow their application to be accessed via the web.
    The customer no longer has to install any software himself.

  10. Hi

    98% of developing a uniGui application is to deliver it as a SAAS service.
    That means any time, anywhere and any device. You can realize the first 2 yourself.
    BUT any device and therefore responsive must be realized by the framework -> uniGui
    When applications are not responsive (2021), and therefore cannot be used from any device, this is an obstacle for (potential) customers.

    Prio 1: responsive
    Prio 2: Gantt, Scheduler and Calendar components from Bryntum (uniGui Quasar 2.0 (Q1 / 2020-Q2-2020)
    Prio 3: Source code...what has been arranged from FMSoft when Farshad falls out ... nobody knows
    Prio 4: Let the many workarounds on component basis be part of the compent properties.
    Prio 5: improve communication from FMsoft (part of prio 3) and update roadmap. Be open to help from forum members instead of trying to do everything yourself.

  11. Hi,

    First think it is important to know what the cloud and the different variants look like. In the picture the different variations and who manages
    what and where the differences are.For example, if you purchase a VPS server with Windows 2016 from a hosting party, they will do the
    network, storage, server, virtualization platform and you manage the OS. The license of the OS is then included in your VPS contract.
    In the picture you then arrive at Infrastructure As A Service (IAAS). You can go a step further and purchase a VPS server as a Managed Server,
    then the management of the OS and application is done by the supplier.

    For the customer it is SAAS, namely your application is offered as a service. SAAS can therefore consist of several suppliers. In this case the supplier of the IAAS platform supplemented with your software and forms the SAAS

    In order to achieve what you want, you actually do not have to incur any additional costs than just purchasing a VPS server. Windows CALS (Client Access Licenses) only apply when you run a Windows server within your own infrastructure and when you connect a device to the server.

    In short ... purchase a VPS server, uniGui runtime and install your application in an IIS environment, purchase a domain name and you're done.
     

    cloud.jpg

    windowsserver2016-licensing-guide.pdf

    • Like 1
    • Upvote 1
  12. Hi Wilton

    Isn't this a bit cumbersome?
    Why not make more multi-tenant?

    I also have several clients using the same application. Indeed every customer has its own database.
    Then I have a user and tenant database. The tenant database contains a few customer details and a connection string that refers to the database and the username / password for this database.
    Then there is a user, groups, members, rights tables with the user accounts and the correct rights, etc. Each user is linked to a tenant.
    After logging in, the connection string refers to the correct customer / tenant database.
    You only need 1 url to host your application.

    • Like 1
×
×
  • Create New...