Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I design Web pages with Delphi?

Tags:

delphi

I have been programming with Delphi for a long time, and I focused on desktop applications. I decided to enter the web-page programming world. How can I have an interface like Delphi but with a scripting environment for web programming? Is there any version of Delphi I can make web pages with?

Can the applications created by IntraWeb can be uploaded as a whole site?

like image 890
Armin Taghavizad Avatar asked Jul 28 '10 09:07

Armin Taghavizad


People also ask

Can you make a website with Delphi?

If you are a Delphi or C++Builder developer, you can build Web apps in the same way you use Delphi and C++Builder to build native Windows apps. VCL for the Web is a great solution for building data-driven Web apps for purchase order processing and human resources.

What Delphi 7?

Delphi 7 is a Windows based Object Pascal development environment. Like all Delphi versions it is a Rapid Application Development environment. Delphi 7 builds on the new features developed in Delphi 6.. Delphi 7 appeared in 2002. Like Delphi 5 it is still one of the most widely used Delphi versions to this day.


9 Answers

I have used the following

  1. Thinfinity - Very quick to get started. Just requires one line of code in your source. An advantage is that you can use any third party components. Licensing is per user. It only has to be renewed for new features. You still have to sort out folder/file access into server side and client side. It has a property so you can flip it to suit at runtime.
  2. TMS Web Core - It produces "javascript", so your whole application is in "javascript" files (one or many to suit). And you still need a backend for webservices and data access, which it has support for. The application has to be re-written from scratch.
  3. UniGui - You need to replace all your components to theirs. This wasnt an issue for me as I already subclass all components I use. I just had to change it one place. It has support for css and javascript. The downside is that its a lot harder to use any third party components. This is because their source has to be changed too.

For quick and dirty progress I would use "Thinfinity". For the long term I would use "UniGui". I am still evaluating "TMS Web Core:, so the jury is still out.

like image 116
Rohit Gupta Avatar answered Oct 01 '22 15:10

Rohit Gupta


For Delphi Web Development you have :

1 - Unigui unigui (Server side Tecnology and client side using Sencha Framworke
2 - Intraweb atozed
3 - Tms WebCore - cliente Side javascript Tms sofware Webcore
4- Elevate Builder -Elevate Software
5 - Smart mobile Studio - Smart Mobile Studio

For Mvc and Rest you have
6- Mars curiosity - MARS-Curiosity Delphi REST Library
7- Delphi Mvc framework - Mcv Framework
8- Mormot (fantastic ORM and REST and other stuff ) - Mormot

and there's more out there. So as you can see, Delphi is not dead, Delphi is algo great for web development.

like image 36
José Manuel Morango Avatar answered Oct 02 '22 15:10

José Manuel Morango


Delphi for PHP

For small applications you may use IntraWeb

like image 43
histrio Avatar answered Sep 30 '22 15:09

histrio


Delphi is focused primarily on developing native applications for Windows (Win32), however there are a couple of alternatives for creating web pages or web applications using Delphi.

  • ISAPI/CGI
  • The IntraWeb components.
  • extpascal (Ext JS wrapper for Object Pascal), check this link for some demos.

Another option is to use Delphi-prism, you can create ASP.NET, and Silverlight applications using a syntax very similar to Delphi.

like image 35
RRUZ Avatar answered Sep 30 '22 15:09

RRUZ


I think that the best tool is Morfik : IDE very close to Delphi ans use Pascal Object.

like image 39
philnext Avatar answered Sep 30 '22 15:09

philnext


Unigui is what you want. Create ajax extjs web applications inside your Delphi IDE.

like image 43
Clóvis Valadares Junior Avatar answered Oct 03 '22 15:10

Clóvis Valadares Junior


I've been using the pre-release of Evelate Software's Web Builder and it is the most Delphi-like experience for making web applications that run in a web browser. Very focused, quite capable, and not a lot of learning for a Delphi-head. There are other more general solutions, but EWB should be included in any shortlist if Delphi-on-a-page is what you want.

like image 38
mj2008 Avatar answered Oct 01 '22 15:10

mj2008


The normal Delphi IDE (for Win32) has not been designed as a IDE for the creation and layout of HTML pages, CSS (style sheets) or JavaScript code.

The Delphi IDE can create a new JavaScript file, by default it will contain only this lonely line:

// insert JavaScript source code here

The IDE will not give you any further support specific to JavaScript from this point. At least, it tells you what you have to do next :)

The IDE can also create new CSS files with this minimalistic content:

BODY {

}

That's all, no further IDE support like style preview, validation or CodeInsight. I don't know if it is possible for Delphi add-on developers to write plugins to close these gaps.

The HTML editor in Delphi IDE offers some support for tables and forms. No preview, no formatting, no CodeInsight. New files are always ANSI encoded, if you need UTF-8 you have to change it manually for every single file because the IDE does not have an option to change this default. HTML files also have the classic *.htm extension (from the old DOS era), so if you prefer the .html extension you have to fix this for every file again.

Fortunately there are many free and very comfortable editors and IDEs. For example NetBeans, it has a very small storage space footprint, and is also a good PHP development environment. And it is free. And last but not least, it is an impressive example of a GUI built with Java.

like image 31
mjn Avatar answered Oct 03 '22 15:10

mjn


Inspired by work I did in (old) ASP, Cold Fusion and (old) PHP, I wanted to use the power and speed of the Delphi compiler to build Web server back-ends, with Delphi (Object Pascal) source and HTML in the same files, and created http://xxm.sourceforge.net/

like image 37
Stijn Sanders Avatar answered Sep 29 '22 15:09

Stijn Sanders