views:

289

answers:

5

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?

+1  A: 

Delphi is focused primarily for develop native applications for Windows (Win32), however there are a couple of alternatives to create web pages o 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 use Delphi-prism, you can create ASP.NET, and Silverlight applications using a syntax very similar to Delphi.

RRUZ
the applications created by IntraWeb can be uploaded as a whole site?
Armin
+3  A: 

Delphi for PHP

For small applications you may use IntraWeb

histrio
A: 

Delphi for PHP can be' easily integrate with Delphi (PHP is very "open" language). You can have the best from the two worlds.

Daniele Teti
+1  A: 

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.

mjustin
A: 

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

philnext