Jump to content

WagnerAlexandre

Recommended Posts

The unigui always have compatibility with new versions of Delphi? What can we expect from unigui for years to come?
 
We are thinking of starting a large project with unigui, we are enjoying what we are seeing, but I wonder if we can believe that the project will last for many years out.
 
Thank you

 

Link to comment
Share on other sites

  • Administrators

As long as uniGUI is maintained new Delphi versions will be supported as expected. In order to see what you can expect in future, you can take a look at past 5 years; the time frame where uniGUI has been under active development .

 

Same question can be asked for Delphi itself. Does anyone know how many more years Delphi will stay in the market? Personally I have no idea! No company can give such a guarantee for this.

 

All that I can say is that we're in same situation with other 3rd Party Delphi component developers in the market.

  • Upvote 3
Link to comment
Share on other sites

  • Administrators

 

Thank Farshad,
 
hope that both Unigui as the Delphi last for many years, as both are amazing tools.
 
You and your team are doing a great job keep this way.

 

 

Thank you.

 

I wish we could do better than what we've done yet. Nevertheless currently we're doing our best to improve the framework.

Link to comment
Share on other sites

  • 1 month later...

It would be interesting to be able to use the unigui in Lazarus, because that way we could use this solution on various platforms, among them Linux.

 

 Having Unigui for Lazarus and make it work on Linux server, will make unbeatable web solution for Delphi.

 

Farshad, Can this happend?

Link to comment
Share on other sites

  • Administrators

 Having Unigui for Lazarus and make it work on Linux server, will make unbeatable web solution for Delphi.

 

Farshad, Can this happend?

 

It has been said that Embarcadero is working on a Linux compiler. I hope this will happen soon.

 

Let me remind that you may not gain anything extra by switching to Linux. Maybe a bit more stability + reduced cost. OTOH, you will need to deal with Linux which is not as user friendly as a Windows Server.

I'm sure that even when an option for Linux is present many of us will still stay with Windows for ease of use and other reasons.

Another reason is that you need to upgrade all of your 3rd party components to work with Linux provided that the developer will port them to Linux.

  • Upvote 2
Link to comment
Share on other sites

Le me comment a little on costs :

 

1. Embarcadero Deplhi XE7    2000+ USD ( workable version !! )

2. Windows Server 2012         1000+ USD

3. UniGui                                    500 USD

4. Server Antivirus                     100 USD ( debatable !)

5. Professional Firewall            ????

 

As compared to :

 

1. Lazarus               0

2. Linux server        0

3. UniGui            500

4. No need for Antivirus

5. Just configure iptables !!

 

Multiply this on some number of serveres and any number of developers in a company

and see the difference !!

Link to comment
Share on other sites

It has been said that Embarcadero is working on a Linux compiler. I hope this will happen soon.

 

Let me remind that you may not gain anything extra by switching to Linux. Maybe a bit more stability + reduced cost. OTOH, you will need to deal with Linux which is not as user friendly as a Windows Server.

I'm sure that even when an option for Linux is present many of us will still stay with Windows for ease of use and other reasons.

Another reason is that you need to upgrade all of your 3rd party components to work with Linux provided that the developer will port them to Linux.

 

The problem is EMB linux compiler will only support x86 architecture. Lazarus (or fpc) compatibility will allow to run web servers on ANY Iots device like Raspberry, beagle bone , whatever! Is a huge difference and yes, we will gain a lot if you take the time to take unique working on lazarus and allowing to be cross compiled.

 

I don't get what have to do the thirst party components here? Are not supported for Unigui anyway.. I think if we see your code can bets it is easy to migrate to linux if you don't use winapi calls (and i bet you don't).

Link to comment
Share on other sites

  • Administrators

Le me comment a little on costs :

 

1. Embarcadero Deplhi XE7    2000+ USD ( workable version !! )

2. Windows Server 2012         1000+ USD

3. UniGui                                    500 USD

4. Server Antivirus                     100 USD ( debatable !)

5. Professional Firewall            ????

 

As compared to :

 

1. Lazarus               0

2. Linux server        0

3. UniGui            500

4. No need for Antivirus

5. Just configure iptables !!

 

Multiply this on some number of serveres and any number of developers in a company

and see the difference !!

 

Windows:

1. You can go with Pro version of Delphi which is ~1000 USD

2. There is no need to have an in-house server. Go with a VPS which is a bit more expensive than a Linux VPS.

4. Antivirus may not be needed.

5. Windows internal firewall is enough.

 

Linux:

1. First of all even if we support FPC we will not support Lazarus IDE. It will be a tremendous task to port our designers to Lazarus. Lazarus IDE is a totally different thing.

uniGUI IDE is based on Delphi OTAPI which is not available in Lazarus. In short you still need Delphi IDE to develop your uniGUI project.

 

Even if I find a way to integrate uniGUI editors into Lazarus I will not do this because it will turn to a support nightmare for us. Consider the number of different OSes Lazarus supports. Multiply it with number of distros available for Linux.

 

Today I installed Ubuntu 14 inside a VM. Installation was fast and smooth with no issues. Then I decided to install Lazarus under Ubuntu. None of my attempts was fully successful. At first attempt it installed but it couldn't compile anything. 2nd attempt was better but this time I got other errors related to path and missing units. I searched the net for answers and tried lots of things. Finally I could compile a project, but IDE itself crashes randomly on startup. Sometimes it starts normally sometimes it hangs on startup. After 4 hrs I gave up. I'm sure that I could succeed it, but what's the point of spending this much time to get Lazarus work on Linux? Sometimes free software is the most expensive software. What I see is that Lazarus has not changed a lot since a few years ago when I tried it. It is still very fragile under non-Windows OSes and things can easily go wrong if you miss some small details. At least I can say that Lazarus is not stable under Ubuntu 14.

 

OTOH, under Windows Lazarus seems to be stable enough. I think best way is to use Lazarus under Windows for main development and then cross compile for other OSes.

 

That said, I don't ignore possibility of cross compile of uniGUI app with FPC, I'm just trying to find the optimum and the most hassle free way of doing it. I really like to see uniGUI running under Linux.

  • Upvote 1
Link to comment
Share on other sites

  • Administrators

The problem is EMB linux compiler will only support x86 architecture. Lazarus (or fpc) compatibility will allow to run web servers on ANY Iots device like Raspberry, beagle bone , whatever! Is a huge difference and yes, we will gain a lot if you take the time to take unique working on lazarus and allowing to be cross compiled.

 

 

 

I agree that ARM can be an exciting target considering all those tiny computers based on ARM CPUs. Indeed it will require a unique and difficult path to be taken. uniGUI uses Winapi calls to some certain point which must be replaced with respective methods in each OS.

 

 

I don't get what have to do the thirst party components here? Are not supported for Unigui anyway.. I think if we see your code can bets it is easy to migrate to linux if you don't use winapi calls (and i bet you don't).

 

 

Are there any good reporting tools for Linux? FastReport for Lazarus is still beta with a fraction of features it supports under Delphi. uniGUI uses WINAPI methods especially for handling ICONS and BITMAPS.

 

Link to comment
Share on other sites

That said, I don't ignore possibility of cross compile of uniGUI app with FPC, I'm just trying to find the optimum and the most hassle free way of doing it. I really like to see uniGUI running under Linux.

 

Using FPC as Cross compiler to compiler UniGui for Linux will be fair enough, I like what EMB* with Delphi compiler to cross-platforms from Windows IDE, I think most of us likes Delphi IDE much more than Lazarus, and adding the linux support is more important than to make UniGui works on Lazarus.

 

There's was a good idea called CrossFPC http://www.crossfpc.com/ , but seems it's dead now.

Link to comment
Share on other sites

  • Administrators

Unfortunately the above app could not pass our standard stress tests. It went into deadlock two times under heavy load. Perhaps a Wine issue or something else which I couldn't detect. Maybe it has something to do with version of Wıne I installed.

 

In general I think while Wine helps you to quickly run your Windows app under Linux, the reasonable way is to deploy uniGUI servers as native Linux binaries.

Link to comment
Share on other sites

Hi Farshad,

IMHO, Big demo on Linux runs a little slow, I think.

However, it runs !!!!

Additionally, would you share us some details and tools used in your stress test? Please. I like to test my apps too.

Thanks.

Link to comment
Share on other sites

This weekend was my Linux weekend!

 

I got an Ubuntu VPS from Contabo and after 3-4 hrs I could get our big demo running under Wine:

 

here is the demo running on Ubuntu:

http://5.189.136.26:8077/

 

I will share more details tomorrow.

 

Fasrhad, while this seems to be big news is not likely to run a windows app under wine. The main problem is all the Iot i mentioned (raspberry PI, beagle bone, ..) run ARM processor and don't run WINE!

 

You say the problem is you use some winapi to format image, lazarus have FULL support for this. If you want i can help you to convert that parts only, that will be very easy for me.

 

Regarding to reports, you can offer pdf reports on lazarus, work perfects. Also the support of fast report works, why do you think this don't?

 

Anyway, i hope you reveal this point. i Will buy a license if you deliver a REAL linux version /that need to be lazarus compilable, sorry) 

Link to comment
Share on other sites

This weekend was my Linux weekend!

 

I got an Ubuntu VPS from Contabo and after 3-4 hrs I could get our big demo running under Wine:

 

here is the demo running on Ubuntu:

http://5.189.136.26:8077/

 

I will share more details tomorrow.

 

3, rich controls (recommended to install the Lazarus integrated environment http://www.pilotlogi....php/codetyphon)

4, practice has proved a lot of VLC controls after appropriate modifications can support Lazaurs (installed CodeTyphon can see a lot of transplantation of Vcl controls)

Link to comment
Share on other sites

×
×
  • Create New...