`
chemingliang
  • 浏览: 131314 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Photran Tutorial [reprint]

 
阅读更多

this article comes from "http://www.fesb.hr/~psarajce/photran.html"

 

----------------------------------------------------------------

 

Photran Tutorial  

 

Photran is a full featured Fortran IDE for Linux OS (IDE - Integrated Development Environment). It can be bundled with various Fortran compilers (e.g. Intel Fortran Compiler, F compiler, G95, gfortran, etc.), which means that it is not dependent upon any particular Fortran compiler. It is completely GUI interfaced, with included front-end for underlaying fortran debugger. Project development is maintained through the use of standard "make" utility and a user written makefiles. This means that user writes its own makefile and uses underlying Fortran compiler present on his system to build and execute programs, directly from the Photran IDE. Latest version of the Photran IDE at the time of writing this is 4.0, which includes a Managed Make Fortran Projects, which means that Photran automatically creates makefiles for new Fortran projects. By using the version 4.0 of Photran IDE user doesn't need to write his own makefile (Photran automatically creates one for his project), as will be explained later. This is only the case with Intel Fortran Compiler and Gnu Fortran compiler. This Fortran IDE is based on Eclipse and hence highly adaptable. Its editor has a syntax highlighting for Fortran 90/95 programming language (including the brackets matching feature). It has also syntax highlighting support for the built in makefile editor, which simplifies the process of writing makefiles, without leaving this application. It can be said that Photran IDE supports FORTRAN 77 syntax as well and thus can be used to develop these type of Fortran projects. Due to the fact that Fortran 90/95 routines could flawlessly call routines written in FORTRAN 77, legacy code could be easily exploited through "mixed language" (F90/95 + F77) source code projects, developed within this Fortran environment. This environment is called the Workbench . The term Workbench refers to the desktop development environment. The Workbench aims to achieve seamless tool integration and controlled openness by providing a common paradigm for the creation, management, and navigation of workspace resources. Each Workbench window contains one or more perspectives.  Perspectives contain views and editors and control what appears in certain menus and tool bars.  More than one Workbench window can exist on the desktop at any given time.

Photran screencapture

Photran application (Workbench) can be extensively configured by positioning its window parts in a manner desired by the user itself. Example of the window positions / configurations is given in the figure above. On the left side of that figure the files included in the project are alphabetically listed. Central area in the mentioned figure features a pane / window where the source files are displayed for editing. Photran editor supports tabs for editing several source code files simultaneously. It is in fact a full-featured Fortran programming language editor with syntax highlighting (as can be seen from the above figure). It fully supports Fortran 90/95 programming language! Multiple source code files could be opened in the editor, which are shown in the form of tabs above the editors window. User jumps from one source code file to the other just by clicking on the desired tab. Active tab is shown in blue. Bottom part of the figure shows a build window where the compiler information is displayed during the build process. All compiler warnings and errors are shown in this window, including the line number in the source code where the error is detected. By clicking on the error line in this window a cursor is positioned on the source code line in editor window where the error is found. This greatly simplifies the process of hunting down compilation errors. Several other windows could be opened and positioned according to the users needs. One possible configuration is presented in the above figure.

Photran software package has different workspace perspectives; one for the Fortran project development (writing source code and building application) which is opened by default, and the other for debugging the fortran project / application. Workspace persppective for developing fortran application is shown in the above figure, which is signified with the active Fortran tab on the upper right corner of the application / workbench window. Photran supports debuggers for the Fortran programming language, which are bundled with this IDE. Hence, one can debug his Fortran projects directly from the Photran IDE! Debugging process initiates a new workspace perspective designed for debugging a Fortran projects / programs. This perspective can be extensively configured as well. 

When using Photran, your code is organized into workspaces and projects. A project usually will contain the code for one complete program, consisting of a main program, several subprograms and possibly some modules organized in several source code files. These files, and others used by the Photran system, usually are stored in one directory whose name is the name of the project. A workspace consists of projects; it uses a directory whose name is the name of the workspace to store the project directories. A workspace might contain only one project or several of them. Only single project can be active at any given time. You can freely open and close projects within the workspace, but only the currently active project can be modified. In order to use Photran for Fortran 90/95 development, you must create a project, which is part of some workspace. You then add source code files to that project, either by copying existing files into the project or by creating new source code files and typing in the code. Then, using the Photran, the project can be built, run, and debugged.

As a conclusion of the introduction to the main Photran features it can be stated that extensive documentation regarding Eclipse platform can be obtained within this application (Help => Workbench user guide ). All of this documentation regarding the Eclipse workspace (Workbench) organization and usage is directly applicable to the Photran environment.

Photran screencapture

User is advised to get familiar with this documentation which is bundled directly into the Help system of the Photran software package. Above figure presents this Help system with documentation regarding The Workbench. Here user can find extensive description of all concepts and get detailed step-by-step instructions on creating and managing projects and files. As a part of this official Photran Help system there is a C/C++ Development User Guide (which can be seen on the above figure). This guide can be applied (with minor modifications on the lines described in this document) to Fortran 90/95 development.

Installation procedure

 

Installation process for the Photran IDE application on Linux platform is very easy. One only needs to download the application from eclipse project web pages. Best is to use the Full versions, such as: Full Photran for Linux/GTK (32 bit architectures) or Full Photran for Linux/GTK x86/64 (64 bit architectures). It is a "tar ball" which needs to be extracted somewhere. By extracting this tar ball a new directory is created named: eclipse and the process of installation of Photran is finished! Application is executed by running the program: eclipse in the same directory. You can make a symbolic link to the executable file: eclipse to make it more convenient to launch the application.

Info

If you already have eclipse or eclipse and CDT installed on your system you can for example create a new directory called: Photran and extract this tar ball here, in order not to collide with the existing directory called: eclipse (which contains your standard eclipse application).

 

In newer versions of Photran, installation procedure is somewhat different from tha described above. To install Photran 4.0 beta 5,

  1. you must have Eclipse 3.4 (Ganymede) installed,
  2. you must have the C/C++ Development Tools (CDT) 5.0 installed,
  3. Eclipse must be running on a Java 1.5 or later JVM (to get reasonable performance, we recommend Sun [1] or IBM's [2] JVM), and
  4. if you want to compile and build Fortran applications, you must have a make utility and a Fortran compiler in your system path. Many Linux/Unix systems include these; details on installing them in Windows are below.

 

Firstly you need to download and install Eclipse version 3.4. Installation instructions for Eclipse could be found on their web site. It is a very straightforward task, which basically involves an extraction of a tar ball somewhere in your home directory. You end up with an eclipse directory which containes project directories and executable (called eclipse). You might want to put a simbolic link to this executable in order to be able to access it more rapidly. Once that has been taken care of you can proceed with the installation of Photran plugin. To install Photran, start Eclipse 3.4, then...

  1. Download the latest Photran zip file from [3]
  2. Click on Help => Software Updates...
  3. Click on the "Available Software" tab
  4. Click on "Add Site..."
  5. Click Archive...
  6. Choose the zip file you downloaded from [4]
  7. Click OK to close the Add Site dialog
  8. The zip file should appear in the list as jar:file:/path/to/photran-master-4.0.5-something. Expand it.
  9. Expand "Photran (Eclipse Fortran Development Tools)" and check the box next to "Photran (Eclipse Fortran Development Tools) (Eclipse Technology Incubation)"
  10. If you have Intel Fortran installed on Linux then expand "Photran Compiler Support" and select the appropriate compiler as well.
  11. Click on the "Install..." button in the upper-right corner of the dialog box.


Installation has been tested by the author of this file on openSUSE Linux distribution (several versions of openSUSE, e.g. 10.0, 10.2, 10.3 and with different versions of Linux kernel) and can be reported to work without any problems. Photran, once installed, just "picks up" any Fortran 90/95 compiler which is present on the system, through the provided makefile. It has been tested by the author with the Intel Fortran Compiler for Linux (several versions, e.g. 8.1, 9.0, 9.1) and can be reported to work flawlessly. It has been also tested with the gfortran (which is a part of the GCC) and G95 Fortran compiler and works without any problems.

Building projects


This part of the Tutorial is intended for the 3.2.0 version of the Photran IDE. Tutorial for the Photran 4.0 version is given later in the text. Process of building a new Fortran 90/95 project in Photran IDE is very similar to the project building process in any other Development Environment (including those on Windows OS, e.g. Compaq Visual Fortran Development Environment). One starts with the: File => New => Project... which opens a dialogue box presented in the following figure.
 
Photran screenshot

In this dialogue, under the Fortran category one must select: Standard Make Fortran Project and press on the Next> button. A new dialogue box, presented in the following figure, opens. It needs to be said that at this stage of Photran IDE development Managed Make Fortran Projects are NOT supported  (in the version 3.2.0 of the Photran IDE)!

Photran screenshot

Here one needs to define the name of the project (e.g. HelloWorld is the name selected for the project considered in this tutorial) and the directory to hold this project. Projects could be saved / accumulated in the default workspace directory of the eclipse application. This is recommended practice. Press on the Next> button and then on the dialogue box which opens select the Make Builder tab , as shown in the following figure.

Photran screenshot

Here, specify Build command (make), Incremental build (all) and Clean (clean) as shown in the above figure. This will be used in combination with the makefile to build the project (or incrementally build it, or clean the project for the so-called clean build). Other tabs shown in the above figure are not crucial (significant) for the creation of the project and can be left with default values. Once the project is created these values can be changed by choosing: Project => Properties and selecting the category: C/C++ Make Projects  (in the version 3.2.0 of the Photran IDE). Press on the Finish button and you have just created a new Fortran project, which is completely empty. Hence, you need to add some source code fi
les and finally a makefile.

Info

If you already have Fortran 90/95 source files somewhere on the system you can import them into this newly created project. This can be accomplished by selecting the: File -> Import... which opens the import dialogue box (same thing could be accomplished by right clicking on the Project icon in the left side pane and selecting the Import ... command from the drop down menu. Otherwise you need to create new Fortran 90/95 source code files.


To add new Fortran source code files into this project select: File => New => Source File which opens the dialogue box presented in the following figure.

Photran screencapture

Enter the name of the source code file, including the file extension .f90 and the press the Finish button. This source code file is automatically opened in the Fortran editor ready to be edited. This process can be repeated for any number of source code files which will comprise the final project.

In order to build this project one needs to create a makefile . In order to create a new makefile select: File => New => File which opens the following dialogue box, presented in the figure below.

Photran screencapture

In the file name field enter: makefile and press Finish button. A new makefile is opened in the editor window of the Photran IDE  application ready to be edited / created.

Info

If you already have a makefile created for this project (or some other makefile which you will edit for this project) somewhere on the system, you can import it into this newly created project. This can be accomplished by selecting the: File => Import... which opens the import dialogue box (same thing could be accomplished by right clicking on the Project icon in the left side pane and selecting the Import ... command from the drop down menu.


Makefile must be created in the distinct way (as will be explained later in this section) in order to be compatible with the commands selected on the Make Builder dialogue box during the process of creating the Fortran project. This is in regard with the use of all and clean parts of the makefile. Strict rules need to be followed, as explained below, otherwise project might not compile or link properly.

Let us say for example that one has only one source code file called: hello.f90 containing all the source code for the project. In that case the makefile could be something like this:

# This makefile uses Intel Fortran Compiler for Linux
# Start of the makefile
all: hello
hello: hello.o
    ifort -o hello hello.o
hello.o: hello.f90
    ifort -c hello.f90
# Cleaning the project
clean:
    rm hello.o hello
# End of the makefile


In the makefile above a name hello is selected for the executable file. More advanced makefiles which include variables and other advanced features could be crated as well. It should be noted that the rule all must be the first rule in the makefile, with Make Builder configured as explained earlier.

Once the source code file(s) is(are) edited / created and a particular makefile is created for the project in question, one can proceed with the actual building of the project. Building procedure consists of the compile and link stages, which are defined through the makefile. In order to build the project choose: Project => Build All . Any compiler errors and warnings will be displayed in the Problems
pane of the Photran application window. This pane is usualy positioned at the bottom of the Photran IDE window and can be activated by selecting its tab. By selecting the line with the displayed compiler warning in the Problems pane the cursor is automatically positioned in the source code line in editor window where that error is found. This greatly simplifies the process of hunting down bugs in the compilation phase of the Fortran project development.

Running the successfully built (compiled and linked) application is accomplished by selecting: Run => Run As => Run Local C/C++ Application which executes that Fortran application. Yes it says Run Local C/C++ Application by you are running the Fortran Application (in the version 3.2.0 of the Photran IDE)! It should automatically open the console window and display any Fortran application text that is sent to default output stream. If the console window is not opened click on the console window icon (whose position depends on the organization of the Photran workspace) and console window will open. Console window is usualy positioned at the bottom portion of the Photran IDE window and can be activated by clicking on its tab.

Interaction of the user with the Fortran program can be accomplished through the console window and / or data files, which could be created and maintained directly within Photran workspace. To add new data file (with any extension which is supported by Fortran language) for the input data, select: File => New => File and in the opened dialogue enter the file name with the extension (e.g. input.dat). A new file will automatically open in the editor window, where you can input the necessary data. Output files could be browsed from the Photran workspace as well. Just choose Navigator pane and double click on the file that holds output data. It will display in the editor.

Several Fortran projects could be managed at the same time in the Photran workspace. Once you have temporarily finished working with one project close it and open the other one for editing (or create a new project). Only a single active project can be edited and / or executed at any given time.

Photran version 4.0


This version of Photran uses CDT 4.0.1 and Eclipse 3.3.1 and have some additional useful features which weren't present  with previous versions (e.g. version 3.2.0 of the Photran IDE). This version (Photran 4.0.1) includes the Managed Make Fortran Projects for the Intel Fortran Compiler for Linux and GNU Fortran compiler. This means that the Photran IDE is automatically creating makefile for the user. Hence, one only needs to create or import source code files and Photran takes care of the makefile. This is a useful feature for those Fortran programmers  / developers which are not used to writing their own makefiles. For those Fortran programmers  / developers which are used to writing their own makefiles, this version can be used in the manner described above. Photran software package, due to the fact that it is a part of the Eclipse project, is under constant development and improvement. Hence, each new version is more user friendly with additional built-in functionality. It needs to be said that Photran 4.0 has more than enough functionality even for the advanced user (software developer) and could be considered as fully functional Fortran 90/95 IDE for Linux OS. Every newer version will bring additional functionality and hence could certainly satisfy Fortran developers.

For example, if one would want to create a Managed Make Fortran Project with Photran 4.0 IDE and have an Intel Fortran Compiler for Linux (link ) installed on the system, it can proceed as follows: File => New => Project... which open the followng dialogue box shown in the figure below. From that dialogue select the Fortran Project under the Fortran category as shown in the figure below.

Photran screencapture

Press the Next> button, which will open the following dialogue box, preseneted in the figure below.

Photran screencapture

Under the Project types on the opened dialogue box select the Executable (Intel(R) Fortran) , as shown in the figure above. Under the Project name enter the name of the Fortran project (e.g. HelloWorld is selected for the Fortran project used in this example). Press the Finish button and a new Fortran project is created. Now all one needs is to add new (or import) source code file(s) and build the project. Makefile for the project is automatically created by the Photran IDE! Building the Fortran project is the same as has been previously described. It needs to be said that Intel Fortran Compiler for Linux is available free of charge for non-commercial development. This is a great, extremely fast compiler, especially tuned for Intel processors (dual and quad core, 32 and 64 bit). This compiler supports OpenMP as well as automatic vectorization and parallel optimization of the source code (through various compiler options).

Info

If you want to use the "standard" procedure with user created makefile, from the above presented dialogue box, under the Project types: append the Executable category and select the Empty project ! Now you need to create or import source code files and a makefile for the Fortran project.


Running the successfully built (compiled and linked) application is accomplished by selecting: Run => Run As => Run Local C/C++ Application which executes that Fortran application. It should automatically open the console window and display any Fortran application text that is sent to default output stream.

Managing data files is accomplished in the exactly the same way as previously described. Several Fortran projects could be managed at the same time in the Photran workspace. Once you have temporarily finished working with one project close it and open the other one for editing (or create a new project). Only a single active project can be edited and / or executed at any given time.

Final notes


I would definitely recommend an upgrade to the newest version of the Photran, which is at the time of this writing Photran 4.0 with CDT 4.0.1 and Eclipse 3.3.1. This Fortran IDE, through the Managed Make Fortran Projects feature, simplifies the procedure of building Fortran projects. For those Fortran programmers / developers which are used to building their own makefiles, everything is the same as has been with the older versions. Though, user interface for defining Fortran project features is more user friendly in this version. Photran 4.0 IDE has been tested with openSUSE 10.3 (KDE) and Intel Fotran Compiler 10.1. It works without any problems, including Managed Make Fortran Projects feature. Debugging Fortran projects is also tested and works just fine. Finally, Photran software package, due to the fact that it is a part of the Eclipse project, is under constant development and improvement. Hence, each new version is more user friendly with additional built-in functionality. As a final note it needs to be said that Photran 4.0 has more than enough functionality even for the advanced user (software developer) and could be considered as fully functional Fortran 90/95 IDE for Linux OS.

分享到:
评论

相关推荐

    eLyrics:eLryrics,Android 应用程序,通过流行歌曲和带有歌词的 TED 视频学习英语

    http://photran.me/elyrics/ ========================== MIT 许可证 (MIT) 版权所有 (c) 2015 Pho Tran 特此授予任何人免费获得本软件和相关文档文件(“软件”)副本的许可,不受限制地处理本软件,包括但不...

    Eclipse(中文语言包

    • BabelLanguagePack-tools.ptp.photran-zh_3.6.0.v20101211043401.zip (28.68%) • BabelLanguagePack-webtools.common-zh_3.6.0.v20101211043401.zip (57.76%) • BabelLanguagePack-webtools.dali-zh_3.6.0.v...

    node-v0.10.13-sunos-x86.tar.gz

    Node.js,简称Node,是一个开源且跨平台的JavaScript运行时环境,它允许在浏览器外运行JavaScript代码。Node.js于2009年由Ryan Dahl创立,旨在创建高性能的Web服务器和网络应用程序。它基于Google Chrome的V8 JavaScript引擎,可以在Windows、Linux、Unix、Mac OS X等操作系统上运行。 Node.js的特点之一是事件驱动和非阻塞I/O模型,这使得它非常适合处理大量并发连接,从而在构建实时应用程序如在线游戏、聊天应用以及实时通讯服务时表现卓越。此外,Node.js使用了模块化的架构,通过npm(Node package manager,Node包管理器),社区成员可以共享和复用代码,极大地促进了Node.js生态系统的发展和扩张。 Node.js不仅用于服务器端开发。随着技术的发展,它也被用于构建工具链、开发桌面应用程序、物联网设备等。Node.js能够处理文件系统、操作数据库、处理网络请求等,因此,开发者可以用JavaScript编写全栈应用程序,这一点大大提高了开发效率和便捷性。 在实践中,许多大型企业和组织已经采用Node.js作为其Web应用程序的开发平台,如Netflix、PayPal和Walmart等。它们利用Node.js提高了应用性能,简化了开发流程,并且能更快地响应市场需求。

    课设毕设基于SSM的高校二手交易平台-LW+PPT+源码可运行.zip

    课设毕设基于SSM的高校二手交易平台--LW+PPT+源码可运行

    软件设计师讲义.md

    软件设计师讲义.md

    时间序列预测,股票方向应用,使用transformer-lstm融合的模型算法

    适用人群 针对有一定机器学习和深度学习背景的专业人士,特别是那些对时间序列预测和Transformer以及LSTM模型有兴趣的人。需要一定的Python知识基础 适用场景 用于处理时间序列数据,尤其是在金融领域,示例是股票价格预测。Transformer模型和LSTM的混合使用表明,代码的目的是利用这两种模型的优势来提高预测准确性。 目标 代码的主要目标是利用Transformer模型和LSTM模型来预测时间序列数据,如股票价格。通过实现这两种模型,代码旨在提供一个强大的工具来进行更准确的时间序列分析和预测。

    Autojs-PJYSDK-泡椒云网络验证-v1.15.zip

    Autojs-PJYSDK-泡椒云网络验证-v1.15.zip

    nodejs-ia32-0.10.20.tgz

    Node.js,简称Node,是一个开源且跨平台的JavaScript运行时环境,它允许在浏览器外运行JavaScript代码。Node.js于2009年由Ryan Dahl创立,旨在创建高性能的Web服务器和网络应用程序。它基于Google Chrome的V8 JavaScript引擎,可以在Windows、Linux、Unix、Mac OS X等操作系统上运行。 Node.js的特点之一是事件驱动和非阻塞I/O模型,这使得它非常适合处理大量并发连接,从而在构建实时应用程序如在线游戏、聊天应用以及实时通讯服务时表现卓越。此外,Node.js使用了模块化的架构,通过npm(Node package manager,Node包管理器),社区成员可以共享和复用代码,极大地促进了Node.js生态系统的发展和扩张。 Node.js不仅用于服务器端开发。随着技术的发展,它也被用于构建工具链、开发桌面应用程序、物联网设备等。Node.js能够处理文件系统、操作数据库、处理网络请求等,因此,开发者可以用JavaScript编写全栈应用程序,这一点大大提高了开发效率和便捷性。 在实践中,许多大型企业和组织已经采用Node.js作为其Web应用程序的开发平台,如Netflix、PayPal和Walmart等。它们利用Node.js提高了应用性能,简化了开发流程,并且能更快地响应市场需求。

    Java项目之jspm足球俱乐部网上商城系统(源码 + 说明文档)

    Java项目之jspm足球俱乐部网上商城系统(源码 + 说明文档) 第二章 技术介绍 5 2.1 结构简介 5 2.2MySQL 介绍 5 2.3MySQL环境配置 5 2.4Java语言简介 6 2.5JSP技术 7 2.6 SSM框架 7 第三章 系统分析与设计 9 3.1系统说明 9 3.2系统可行性分析 9 3.2.1技术可行性 9 3.2.2经济可行性 9 3.2.3操作可行性 10 3.2.4运行可行性 10 3.3系统的设计思想 10 3.4系统功能结构 11 3.5系统流程分析 12 3.5.1操作流程 12 3.5.2添加信息流程 13 3.5.3删除信息流程 14 第四章 数据库设计 15 4.1数据库概念设计 15 4.2数据表设计 16 第五章 系统的详细设计 23 5.1系统首页的设计 23 5.2后台功能模块 25 5.2.1管理员功能模块 25 5.2.2用户功能模块 27 第六章 系统测试 29 6.1系统测试方法 29 6.2系统功能测试 29

    2024年第九届数维杯数学建模挑战赛题目.rar

    2024年第九届数维杯数学建模挑战赛题目.rar

    springboot(火车站订票管理系统)

    开发语言:Java JDK版本:JDK1.8(或11) 服务器:tomcat 数据库:mysql 5.6/5.7(或8.0) 数据库工具:Navicat 开发软件:idea 依赖管理包:Maven 代码+数据库保证完整可用,可提供远程调试并指导运行服务(额外付费)~ 如果对系统的中的某些部分感到不合适可提供修改服务,比如题目、界面、功能等等... 声明: 1.项目已经调试过,完美运行 2.需要远程帮忙部署项目,需要额外付费 3.本项目有演示视频,如果需要观看,请联系我v:19306446185 4.调试过程中可帮忙安装IDEA,eclipse,MySQL,JDK,Tomcat等软件 重点: 需要其他Java源码联系我,更多源码任你选,你想要的源码我都有! https://img-blog.csdnimg.cn/direct/e73dc0ac8d27434b86d886db5a438c71.jpeg

    springboot(英语知识应用网站)

    开发语言:Java JDK版本:JDK1.8(或11) 服务器:tomcat 数据库:mysql 5.6/5.7(或8.0) 数据库工具:Navicat 开发软件:idea 依赖管理包:Maven 代码+数据库保证完整可用,可提供远程调试并指导运行服务(额外付费)~ 如果对系统的中的某些部分感到不合适可提供修改服务,比如题目、界面、功能等等... 声明: 1.项目已经调试过,完美运行 2.需要远程帮忙部署项目,需要额外付费 3.本项目有演示视频,如果需要观看,请联系我v:19306446185 4.调试过程中可帮忙安装IDEA,eclipse,MySQL,JDK,Tomcat等软件 重点: 需要其他Java源码联系我,更多源码任你选,你想要的源码我都有! https://img-blog.csdnimg.cn/direct/e73dc0ac8d27434b86d886db5a438c71.jpeg

    node-v0.8.27-x64.msi

    Node.js,简称Node,是一个开源且跨平台的JavaScript运行时环境,它允许在浏览器外运行JavaScript代码。Node.js于2009年由Ryan Dahl创立,旨在创建高性能的Web服务器和网络应用程序。它基于Google Chrome的V8 JavaScript引擎,可以在Windows、Linux、Unix、Mac OS X等操作系统上运行。 Node.js的特点之一是事件驱动和非阻塞I/O模型,这使得它非常适合处理大量并发连接,从而在构建实时应用程序如在线游戏、聊天应用以及实时通讯服务时表现卓越。此外,Node.js使用了模块化的架构,通过npm(Node package manager,Node包管理器),社区成员可以共享和复用代码,极大地促进了Node.js生态系统的发展和扩张。 Node.js不仅用于服务器端开发。随着技术的发展,它也被用于构建工具链、开发桌面应用程序、物联网设备等。Node.js能够处理文件系统、操作数据库、处理网络请求等,因此,开发者可以用JavaScript编写全栈应用程序,这一点大大提高了开发效率和便捷性。 在实践中,许多大型企业和组织已经采用Node.js作为其Web应用程序的开发平台,如Netflix、PayPal和Walmart等。它们利用Node.js提高了应用性能,简化了开发流程,并且能更快地响应市场需求。

    node-v0.11.7-sunos-x86.tar.gz

    Node.js,简称Node,是一个开源且跨平台的JavaScript运行时环境,它允许在浏览器外运行JavaScript代码。Node.js于2009年由Ryan Dahl创立,旨在创建高性能的Web服务器和网络应用程序。它基于Google Chrome的V8 JavaScript引擎,可以在Windows、Linux、Unix、Mac OS X等操作系统上运行。 Node.js的特点之一是事件驱动和非阻塞I/O模型,这使得它非常适合处理大量并发连接,从而在构建实时应用程序如在线游戏、聊天应用以及实时通讯服务时表现卓越。此外,Node.js使用了模块化的架构,通过npm(Node package manager,Node包管理器),社区成员可以共享和复用代码,极大地促进了Node.js生态系统的发展和扩张。 Node.js不仅用于服务器端开发。随着技术的发展,它也被用于构建工具链、开发桌面应用程序、物联网设备等。Node.js能够处理文件系统、操作数据库、处理网络请求等,因此,开发者可以用JavaScript编写全栈应用程序,这一点大大提高了开发效率和便捷性。 在实践中,许多大型企业和组织已经采用Node.js作为其Web应用程序的开发平台,如Netflix、PayPal和Walmart等。它们利用Node.js提高了应用性能,简化了开发流程,并且能更快地响应市场需求。

    【课程设计】实现的金融风控贷款违约预测python源码.zip

    【课程设计】实现的金融风控贷款违约预测python源码.zip

    Java面向对象综合实验,实现拼图游戏.zip

    游戏的最终成品展示,然后再一步一步的从0开始,完成游戏里面每一个细节。 游戏运行之后,就是这样的界面。 刚开始打开,是登录页面,因为是第一次运行,需要注册。点击注册就会跳转到注册页面 在注册页面我们可以注册账号,用户名如果已存在则会注册失败。 在游戏主界面中,我们可以利用上下左右移动小图片去玩游戏,还有快捷键A可以查看最终效果,W一键通关。 我们在写游戏的时候,也是一部分一部分完成的。 先写游戏主界面,实现步骤如下: 1,完成最外层窗体的搭建。 2,再把菜单添加到窗体当中。 3,把小图片添加到窗体当中。 4,打乱数字图片的顺序。 5,让数字图片可以移动起来。 6,通关之后的胜利判断。 7,添加其他额外的功能。

    学位英语复习资料 学位英语复习资料

    学位英语复习资料

    1plusx_1_proj_test_231125_答案.zip

    1plusx_1_proj_test_231125_答案.zip

    人工智能+深度学习+深度学习数学基础+整理完整版

    【项目资源】:汇聚了云计算、区块链、网络安全、前端设计、后端架构、UI/UX设计、游戏开发、移动应用开发、虚拟现实(VR)、增强现实(AR)、3D建模与渲染、云计算服务、网络安全工具等各类技术项目的素材和模板。包括AWS、Azure、Docker、Kubernetes、React、Vue、Angular、Node.js、Django、Flask、Unity、Unreal Engine、Blender、Sketch、Figma、Wireshark、Nmap等项目的素材和模板。【项目质量】:所有素材和模板都经过精心筛选和整理,确保满足专业标准。在发布前,我们已经对功能进行了全面测试,确保其稳定性和可用性。【适用人群】:适合对技术充满热情的初学者、希望提升专业技能的中级开发者、以及寻求创新解决方案的高级工程师。无论是个人项目、团队合作、课程设计还是商业应用,都能在这里找到合适的资源。【附加价值】:这些项目资源不仅具有很高的学习价值,而且能够直接应用于实际项目中,提高开发效率。对于有志于深入研究或拓展新领域的人来说,它们提供了丰富的灵感和基础框架,帮助你快速构建出令人惊艳的作品。

    课设毕设基于SSM的人才公寓管理系统-LW+PPT+源码可运行.zip

    课设毕设基于SSM的人才公寓管理系统--LW+PPT+源码可运行

Global site tag (gtag.js) - Google Analytics