Common or primary file extensions used (not a complete list, just the basics).
Common source code file extensions include:
Note: Delphi 2009 changed the project file to acommadatte new features. When you open a project file from a previous version, it will be upgraded. In addition to .bdsproj, D2009 also uses a .dproj project file.
.asp is the default extension for Active Server Pages (ASP) although some developers will change the default extension in an effort to add an additional security level. Although there is no clear standard for include files, using .INC is common but you must make sure that .INC files are not executed nor displayed.
//Sample code snippet from the .csproj project file:
<ItemGroup> <Compile Include="Cyborg.cs" /> <Compile Include="Cyborg600.cs" /> <Compile Include="Form1.cs"> <SubType>Form</SubType> </Compile>
//...
Important standard C++ file extensions:
Some important Visual C++ file extensions:
Some important C++Builder file extensions:
The C++/CLI standard file extensions are the same as standard C++. Important C++ file extensions:
Paradox for Windows has two primary file types: source files and delivered files:
Source FilesSource files in Paradox are binary but can can be opened in later versions of Paradox and even in earlier versions if you don't use any new features.
Since Paradox source files do not compile to an EXE, Paradox developers tend to use a startup form or script to start the application.
Delphi Prism common source code file extensions include:
The customary primary source file extension for Java code is ".java" which could contain anywhere from a single class to the entire source code.
Other important files:
.js is the common standard for browser-side JavaScript and .jsp is the common standard for server-side JavaScript.
.pl is the traditonal default extension for Perl although some developers will change the default extension in an effort to add an additional security level and .cgi is still popular as a Perl associated extension as well as .plex and .aspl.
.php is the default extension for PHP although some developers will change the default extension in an effort to add an additional security level. If your code is tied to a particular version of PHP then some developers at the major PHP version number to the extension as in .php3, .php4, .php5, etc.
.phtml is also sometimes used especially for files that contain both HTML and Perl code.
//Sample code snippet from the .vbproj project file:
<ItemGroup> <Compile Include="Cyborg.vb" /> <Compile Include="Form1.vb"> <SubType>Form</SubType> </Compile>