Delphi Can

Delphi Can > Delphi > Web Technologies with Delphi > TMS Web Core - Overview

Click to see the original: TMS Web Core - Overview

You are currently viewing (Archive) mode. View Original Version

Pages: 1 2 3 4 5 6

rmzgenius

08-03-2022, Time: 18:02

Hello friends, in this article, I would like to give you a brief information about TMS's Web Core product, inspired by the article named UniGui Overview by dear @vkamadan master.



As you know, Delphi has IntraWEB, UniGUI etc. We can develop web software with tools. After years of doing projects using the IntraWEB+CGDevTools duo, I switched to UniGUI. Although I continue to use UniGUI these days, I am slowly transitioning to a product called Web Core developed by TMS. 

Why TMS?
In frameworks such as IntraWEB and UniGUI, your application has to be compiled either as an ISAPI DLL file or as an EXE file.This is not a bad thing, either you use UniGUI's internal web server using the EXE file, or you use the DLL file over IIS by mounting it on the Internet Information Server. All your business will be solved. The good thing about TMS is that when your project is compiled , HTML+CSS+JS files are created , not DLL or EXE files . This means that you can run your web software on any web server or platform you want.

At the same time, TMS is open-ended in many areas, from making full-screen mobile websites called PWA, using Bootstrap, developing web applications that can run on desktop with Electron as if it were a normal VCL application, developing web software for Miletus, RaspBeryPI and some other IoT environments. offers development opportunities.You can also install TMS Web Core on Lazarus.

My favorite thing is that it allows the use of component packages that TMS calls FNC, which they also call "revolutionary", used in both VCL, FMX and WEB environments in a single installation. So besides Web Core, FNC UI Pack etc. If you buy one of the dozens of FNC packages, you can develop applications with incredible visuals.


Installation of TMS is done with EXE File. After installing with EXE like UniGUI, it is not necessary to open the project files and compile them again and then install from the compiled packages. TMS handles the entire installation process itself. TMS Web Core is ready to use when you open Delphi.

Let's get started
First, let's create a new project in Delphi. Let's choose New > Other:



As you can see in the Window that opens, we can develop web software for many environments with TMS Web Core. Let's choose TMS Web Application as the most basic:



The design screen that we are used to from VCL forms will appear. I put an edit and a button as an example. I wanted the click feature of the button to send the text entered in the edit with the showmessage function as a message. On this screen, you can design the screen as you are used to, such as VCL forms. No need to do anything extra.



When TMS Web Application is selected, all the tools we can use in this project will appear in Delphi's Toolbox:



When you buy FNC packages as well as TMS Web, you have around 500+ components that you can use in design and code, which is more than any other development environment. There is a control for almost everything you can think of. Whether you access the camera, scan the barcode, use ReCaptcha or set the device orientation, there is a component ready for you to do everything. Actually, I thought I'd take a screenshot of the Toolbox showing each component, but I couldn't fit them all on the screen.

When we run our application, the browser window will open and our application will appear as we designed:



If we do not have a web server that we use on our computer, or if we have not set the server in the project settings, just like the temporary web server that works while testing Asp.Net projects in Visual Studio, the web server that TMS runs to try the applications will come into play: (TMS, this web
server He says he has developed the server for only one user (in this case, the developer of the software) to test the application and it is not appropriate to distribute it as 'production') When we double-click on the server icon, it will show us which project is running from which folder



:



When we look at our project's folder If so, we will only see HTML and JavaScript files. 



Here, you will notice that the size of the Project1.JS file is a bit large. If you want, we can set it to generate a single .JS file for the entire project or .Js files for each form separately. For this, we just need to make the following setting from the Project Options window:



You can use any component you want on the form screen, just like you would design a normal website in the project: 



Here, we are talking about a product that is very simple to use, easy to install and learn, has a very rich component package, and is easy to distribute the resulting project. . But unfortunately UniGUI, IntraWEB etc. Like all other frameworks, this one is paid.I'm lucky enough to get both Web Core and FNC packages, and I can easily say this. I felt incredibly free when I switched from Unigui to TMS. Just the other day, we ran our software on a Linux server with zero errors. 

Unlike UniGUI, there is also a Runtime package etc. You don't need to install either. I'll admit, as you can see above in the new project window, I haven't developed a web application for a long time in any other environment than TMS, even though I have uniGUI installed on my computer. 

Although I cannot share the company name because it is commercial confidential information, let me tell you a secret, the software used by a famous e-commerce company used by hundreds of brands in our country was developed entirely with Delphi + TMS Web Core. Accurate information. So this can give you an idea of ​​how useful TMS is.

After this short introductory article about TMS Web Core, in my next article, I will explain how we can retrieve data from a database with HTML+JS binary and how we can operate on the data. If you've read this far, first of all, thank you for your patience.

More detailed information about TMS Web Core is here:
https://www.tmssoftware.com/site/tmswebcore.asp

Information about FNC Packages is also here:
https://www.tmssoftware.com/site/fnc-products.asp I extend my love and respect to everyone, especially our master @mrmarman

, whom I made a little angry with today . If you have any questions, you can write.

RAD Coder

09-03-2022, Time: 09:45

Thank you very much for your valuable contribution.
I had TMS Web Core on my review list for a long time. It still stands there.  Shy
I haven't been able to take the time to review it. 
In line with the suggestion of an experienced master like you, I have taken it from the review list to my target list.
Thanks again. I look forward to the next article.

narcotic

09-03-2022, Time: 11:56

Thanks

frmman

09-03-2022, Time: 12:49

Thanks @rmzgenius , it is very valuable to get such information from someone who is in the kitchen. We look forward to the continuation of the topic.

I am glad for myself that yesterday's issue did not prolong. You too, @mrmarman,
are very valuable for this forum.

rmzgenius

09-03-2022, Time: 14:31

@frmman It's not really an issue either. There was a problem of not being able to explain-understand for a short time. It turns out that there was an update-related error in the DNS and Firewall configuration of our company servers. I didn't know. I could neither see nor upload any image files originating from it. But it did, thank goodness.

SimaWB

09-03-2022, Time: 20:27

Good luck with your spirit.
Meanwhile;
the photos look great too  smile

Mr_Y

13-03-2022, Time: 09:49

Thank you very much for your valuable explanation and sharing. I will be looking forward to new posts on the subject.

pro_image

13-03-2022, Time: 20:41

@rmzgenius Thanks for the explanation , it was very helpful.

I would like to ask you to share your thoughts on the following topics.
-Grid component is visual like unigui, easy and functional.
-Is there anything that can be done with Unigui that cannot be done here or vice versa?
-Can applications be made Responsive? (Does the applications developed for the computer take shape according to the phone, HTML5)
-It is available on the licensing site, but is there any additional discounts etc.?
-The biggest problem on the Unigui side is that google cannot index and the application is created according to single page architecture, is there google indexing here and can each page have a separate link.

Thanks.


In addition to the above questions, there is a limit of 250 users at the same time in Uniguithis can be exceeded with Hyperserver. Is there such a limit in Web Core How is the Load Balancer done?

rmzgenius

13-03-2022, Time: 21:24

Master, I'll try to answer your questions as best I can.

1. Is the Grid component visual, easy and functional like unigui?
I am using TMS Web Core and FNC UI Pack together. Both Web Core and FNC have grid components. But I use FNC's Grid more. The other one works as well, but since FNC can also be used in Android and IOS projects, it's more at hand. It is both very useful and export etc. operations easier. So, until now, I wish there was this feature in UniGUI. (Except theme support)

2.  Is there anything that can be done with Unigui and not here, or vice versa?
Theme support in UniGUI was nice. There are Bootstrap controls here, after all, HTML+CSS codes are completely in your hands. This means that you can use any template you want in your project. In this case, the combinations are unlimited. The E-Commerce site I mentioned, for example, adapted the design for itself by applying CSS files that are completely suitable for its own corporate template. These processes are quite easy. If you know HTML+CSS, there is no obstacle in front of you.

3.  Can applications be made Responsive? (Do the applications developed for the computer take shape according to the phone HTML5)
Yes, it can be responsive. When you put a WebGridPanel on the form and create columns on it and place the necessary components in those columns, your project becomes responsive in a sense, as the Gridpanel also narrows and expands according to the size of the form. There's even a demo video of it on TMS's page on Youtube. At the same time, there is one Responsive Grid, which I am thinking of preparing an article about in 1-2 days.

4.  It is available on the licensing site, but is there any additional discounts etc.?
I don't know that part. I sent an e-mail to Mr. Farhad while buying UniGUI. Fortunately, he had made a discount. (Later we had a little trouble with UniGUI in terms of licensing, UniGUI is a very strict company in this regard.) There is probably a possibility of discount in TMS as well. I didn't get the license, so I don't know much about the process unfortunately. 

5.  Is there Google indexing and can each page have a separate link  ?
That's the best part of it. You have a DLL or EXE file running in UniGUI, but you have HTML and CSS files in TMS. In other words, if you prepare the necessary SEO settings and keywords in the HTML file, Google can also index these HTML files. So basically, whatever you can do with HTML+CSS+JavaScript while making a website, you can do it here.

6.  There is a limit of 250 simultaneous users in Unigui.
In TMS Web, the web server is up to you. That is, the more connections your system supports, the more people can enter. We are using IIS, but Apache etc. You can also use web servers without any problems. There is no user limitation originating from TMS itself. There are tens of thousands of people entering the e-commerce site we built at the same time. (Of course, we do not use a single server, there are multiple servers, we use Windows Server and IIS's own Load Balancing services between servers)

Even though I have been using UniGUI for years, the only problem I still can't solve is that the application suddenly stops working. I don't know how it is locked. But somehow, I know that I have the server turned off and on almost every week, in case you didn't know, every 15 days. Therefore, instead of distributing my unigui projects as EXE, I always started to distribute them as DLLs and use them on a normal web server. 

What you didn't ask about, but what I like the most is that it can take a long time to get support in UniGui. I know I asked a question on the forum and didn't get an answer for weeks. At TMS, the support is super good because they have an incredible development team. 5 minutes after asking a question. Then I know I got the answer. In fact, they did not understand the question I asked once (AH, is there no English) and connected to my computer and produced a solution. Also the documentation is very good. Video training sets and books are already out. You can download and view PDF documents for free. So in summary, the support is very good.  

The second good thing is that it doesn't matter what platform or web server you host, as you have standard HTML5 files in hand. I don't know if anyone can run unigui on linux? But an application of mine, which is currently used by thousands of people, runs entirely on Red Hat Linux.

In summary, I recommend that you download and try the demo of TMS Web. Of course it's a great product in UniGUI. I still use it in some of my projects (especially mobile ones, and when I need to use the database itself directly). TMS communicates with databases like a web service. You don't have a direct connection. (I mean, we're talking about a simple HTML file, after all) But this also ensures portability of the application, its openness to the outside and the security of the database. Which is good and which is bad is debatable. UniGui has that advantage. But when I weigh the advantages and disadvantages, TMS is now weighing the weight as it frees me up on everything smile

UPDATE:You don't have to use TMS Web Core only on Rad Studio IDE. There is a separate version that can run on Visual Studio Code, which is used for free. So whichever you use more, you can get that version. Although Visual Studio Code is an environment where you can program without visual elements, which is completely thought about writing code, in this version of TMS, you can do visual design there as well. Thought I'd post for information. 

Love, greetings.

pro_image

13-03-2022, Time: 23:14

(13-03-2022, Time: 21:24) Quote from rmzgenius: [ -> ] Master, I will try to answer your questions as best I can.

1. Is the Grid component visual, easy and functional like unigui?
I am using TMS Web Core and FNC UI Pack together. Both Web Core and FNC have grid components. But I use FNC's Grid more. The other one works as well, but since FNC can also be used in Android and IOS projects, it's more at hand. It is both very useful and export etc. operations easier. So, until now, I wish there was this feature in UniGUI. (Except theme support)

2.  Is there anything that can be done with Unigui and not here, or vice versa?
Theme support in UniGUI was nice. There are Bootstrap controls here, after all, HTML+CSS codes are completely in your hands. This means that you can use any template you want in your project. In this case, the combinations are unlimited. The E-Commerce site I mentioned, for example, adapted the design for itself by applying CSS files that are completely suitable for its own corporate template. These processes are quite easy. If you know HTML+CSS, there is no obstacle in front of you.

3.  Can applications be made Responsive? (Do the applications developed for the computer take shape according to the phone HTML5)
Yes, it can be responsive. When you put a WebGridPanel on the form and create columns on it and place the necessary components in those columns, your project becomes responsive in a sense, as the Gridpanel also narrows and expands according to the size of the form. There's even a demo video of it on TMS's page on Youtube. At the same time, there is one Responsive Grid, which I am thinking of preparing an article about in 1-2 days.

4.  It is available on the licensing site, but is there any additional discounts etc.?
I don't know that part. I sent an e-mail to Mr. Farhad while buying UniGUI. Fortunately, he had made a discount. (Later we had a little trouble with UniGUI in terms of licensing, UniGUI is a very strict company in this regard.) There is probably a possibility of discount in TMS as well. I didn't get the license, so I don't know much about the process unfortunately. 

5.  Is there Google indexing and can each page have a separate link  ?
That's the best part of it. You have a DLL or EXE file running in UniGUI, but you have HTML and CSS files in TMS. In other words, if you prepare the necessary SEO settings and keywords in the HTML file, Google can also index these HTML files. So basically, whatever you can do with HTML+CSS+JavaScript while making a website, you can do it here.

There is a limit of 250 simultaneous users in Unigui.
In TMS Web, the web server is up to you. That is, the more connections your system supports, the more people can enter. We are using IIS, but Apache etc. You can also use web servers without any problems. There is no user limitation originating from TMS itself. There are tens of thousands of people entering the e-commerce site we built at the same time. (Of course, we do not use a single server, there are multiple servers, we use Windows Server and IIS's own Load Balancing services between servers)

Even though I have been using UniGUI for years, the only problem I still can't solve is that the application suddenly stops working. I don't know how it is locked. But somehow, I know that I have the server turned off and on almost every week, in case you didn't know, every 15 days. Therefore, instead of distributing my unigui projects as EXE, I always started to distribute them as DLLs and use them on a normal web server. 

What you didn't ask about, but what I like the most is that it can take a long time to get support in UniGui. I know I asked a question on the forum and didn't get an answer for weeks. At TMS, the support is super good because they have an incredible development team. 5 minutes after asking a question. Then I know I got the answer. In fact, they did not understand the question I asked once (AH, is there no English) and connected to my computer and produced a solution. Also the documentation is very good. Video training sets and books are already out. You can download and view PDF documents for free. So in summary, the support is very good.  

The second good thing is that it doesn't matter what platform or web server you host, as you have standard HTML5 files in hand. I don't know if anyone can run unigui on linux? But an application of mine, which is currently used by thousands of people, runs entirely on Red Hat Linux.

In summary, I recommend that you download and try the demo of TMS Web. Of course it's a great product in UniGUI. I still use it in some of my projects (especially mobile ones, and when I need to use the database itself directly). TMS communicates with databases like a web service. You don't have a direct connection. (I mean, we're talking about a simple HTML file, after all) But this also ensures portability of the application, its openness to the outside and the security of the database. Which is good and which is bad is debatable. UniGui has that advantage. But when I weigh the advantages and disadvantages, TMS is now weighing the weight as it frees me up on everything smile

UPDATE:You don't have to use TMS Web Core only on Rad Studio IDE. There is a separate version that can run on Visual Studio Code, which is used for free. So whichever you use more, you can get that version. Although Visual Studio Code is an environment where you can program without visual elements, which is completely thought about writing code, in this version of TMS, you can do visual design there as well. Thought I'd post for information. 

Love, greetings.


Thank you very much for the detailed answers, great answers. 

If someone who specializes in CSS is included in the team that develops TMS Web core, I generally understand that everything done with C# or PHP can be done with this tool.
I know Visual Studio Code has been good at this opening, it can save us from paying an annual license fee to the Embarcadero side, of course, it is important to experience it as someone who has never used it.

I have applications running on Unigui for 3-5 months without restarting. In terms of support, there was a situation where Mr. Farshad was connected remotely, but you are right that the returns in the forum are too late.

The web core book on documentation is very good with more than 600 pages of examples. 

The theme subject was very comfortable in the unigui, as it was important to examine and apply the sample ideos on how we can dress a ready-made theme you mentioned in the project.

As you emphasized, if the visual side is resolved, very large projects can be done.


Lots of love.

Pages: 1 2 3 4 5 6

Delphi Can > Delphi > Web Technologies with Delphi > TMS Web Core - Overview

English Translation: MCTR , Forum Software: MyBB , © 2002-2023 MyBB Group