Jump to content
jglosz

Meta-Delphi question about web hosting..

Recommended Posts

Hi..  I'd like to create a niche-ecommerce platform, like ebay but between very specific customers for the web, for starters. It would need access to a large DB (so, using AWS or Azure) and I'd love to create a Delphi FMX app to be hosted on a standard Windows (or Linux?) host which would present dynamic pages to the user (based on their search terms).. and then they can choose and then order/buy something..    My questions:

 

1.  Is using Delphi overkill in your opinion? I'm very comfortable with Delphi, but is the hassle of getting an application hosted on a web host too difficult? Looks to me like some hosts (like GoDaddy) don't allow such things.  So would just something web-native like Javascript be a better choice? 

 

2. If a web-hosted Delphi application is workable, would you have a particular host recommendation? Is there one you like? 

 

3. And of course, a phone app (both Android and iOS) ..  I created a simple iOS app once, about 10 years ago, and even got it in the Apple store, but man were there a LOT of hoops to jump through.  I haven't revisited the iOS side of Delphi since, but I hope it's gotten easier, lol! 

 

Thank you for any advice you may have!  [heart emoji here] 

 

Joseph

Share this post


Link to post

You need a data centre hosted server, either a physical machine you rent or own, or a virtual private server running on data centre hardware, you then have complete control over what applications are installed, not sure why you want FMX unless for Linux. 

 

I have a hosted Dell rack server in one data centre, and a secondary VPS in another, running all my Delphi servers.  But many companies just order virtual servers from Azure, AWS and others, which have the benefit of scaling, but can be horribly expensive.  

 

Azure seems easy to buy, I've been getting spam emails from 50 or more Azure VPSs in India, USA, Netherlands and the UK, Microsoft seems to sell VPS to anyone. 

 

Angus

 

  • Thanks 1

Share this post


Link to post

I second the recommendation for TMS WEB Core. It's just like building a VCL or FMX app, but it runs in the web browser. The language has been enhanced a bit to deal with async issues, but it's easy to learn. (Once you do, you wonder why it's not in Delphi's core.)

Share this post


Link to post
On 11/5/2024 at 3:35 PM, Die Holländer said:

or https://thinfinity-vui-v3-docs.cybelesoft.com/

It seems it delivers the whole environment needed..

Delphi Demo

For an internal app in a company or paid users Thinfinity can be a good simple solution.
For a public website it's too expensive. Use Delphi as a server on Windows or Linux if you want and dynamic website solutions (from Delphi or others).

 

For an e-commerce site it could be easier to use an existing solution like LiteCart (simple, easy to use) or Prestashop (more complex but full of features for any commerce) and synchronize its database to your real DB.

Share this post


Link to post
On 11/5/2024 at 6:35 AM, Die Holländer said:

or https://thinfinity-vui-v3-docs.cybelesoft.com/

It seems it delivers the whole environment needed..

Delphi Demo

Thank you for the details...  it would be a public website, but it has to be dynamic content, meaning people or companies will upload something, and then that something will be available to others.  Every shopping cart I've ever seen just has static sites.

Share this post


Link to post
9 hours ago, jglosz said:

Thank you for the details...  it would be a public website, but it has to be dynamic content, meaning people or companies will upload something, and then that something will be available to others.  Every shopping cart I've ever seen just has static sites.

Perhaps you can tell us more about your project ? Depending on what you want to do we could help to find the better solution.

Share this post


Link to post
On 11/22/2024 at 4:44 PM, jglosz said:

Thank you for the details...  it would be a public website, but it has to be dynamic content, meaning people or companies will upload something, and then that something will be available to others.  Every shopping cart I've ever seen just has static sites.

If you've ever seen a FOREX dashboard built in Delphi running on a high-speed link, you wouldn't be asking these questions about whether it's possible. Yes, it absolutely is.

 

What problem are you REALLY trying to solve?

 

Also, shopping carts are DESIGNED to be STATIC, so they're an inappropriate example.

 

Stock, bond, and FOREX trading are examples of HIGHLY dynamic apps, and Delphi has been used to build all of them.

  • Thanks 1

Share this post


Link to post

My preferred stack for web dev is asp dotnet for the back end and React for the front end.

 

If you must use delphi - https://github.com/danieleteti/delphimvcframework would be a good option for the back end. I hadn't looked at it in a long while, but it's come a long way in the last few years.

 

asp dotnet and delphi mvc have a ton of functionality which scale really well. I steer clear of asp dotnet for the UI part because it changes too often and updating applications becomes a major task (ask anyone who updated from asp.net 4.x to asp dotnet core). 


On the front end, you could use what ever web ui framework you want, React, Vue and Svelte are all good options - but they all come with a learning curve. 

  • Thanks 1

Share this post


Link to post
On 11/27/2024 at 4:26 PM, David Schwartz said:

If you've ever seen a FOREX dashboard built in Delphi running on a high-speed link, you wouldn't be asking these questions about whether it's possible. Yes, it absolutely is.

 

What problem are you REALLY trying to solve?

 

Also, shopping carts are DESIGNED to be STATIC, so they're an inappropriate example.

 

Stock, bond, and FOREX trading are examples of HIGHLY dynamic apps, and Delphi has been used to build all of them.

Yes, a trading platform that's accessed via a regular web URL is kind of what I need.  I'd like to do something like eBay, except with very specific business logic for this particular area, so I'd really prefer to develop it in Delphi since I am pretty good with that.  And then that Delphi "app" would be hosted on a web host like GoDaddy or such.  GoDaddy seems very clunky though, as it seems to want to force you into specific paradigms. I need a "naked" web host to which I can FTP or otherwise upload complete HTML pages (or an app like the Delphi app I am considering building which would push dynamic pages to the client) ..

I once created, from scratch, a complex shopping cart entirely in Javascript, and I supposed that or Python or such is the standard way to go here.  However, I want to do this myself, and I don't know Python, and Javascript is painful (to me) and I love Delphi - its just phenomenally powerful - so I wouldn't mind shoehorning this into a Delphi application that serves up dynamic web pages on the internet to users, based on their input search criteria.  There would also have to be a database.. could be local on the web server, initially as least. Then, ported to AWS or Azure, possibly.

So, I would also like any recommendations for a web host as well. Long ago, I used a really good one called "Infinity" I believe, but they went out of business. 

Anyway, that's about it...  I sincerely thank you and welcome any input you and anyone may have.  🙂

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×