简体   繁体   English

在哪里可以找到Pharo + Seaside3 + Magritte图像来尝试“海滨入门”一书?

[英]Where can I find a Pharo+Seaside3+Magritte image for experimenting with the “An Introduction to Seaside” book?

Where can I find a Pharo image to run the code from this book: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial 我在哪里可以找到Pharo图像来运行本书中的代码: http : //www.swa.hpi.uni-potsdam.de/seaside/tutorial

Scoured the mailing lists for a Pharo alternative and they were supposed to be http://www.lukas-renggli.ch/job/Magritte%202/ , then moved http://source.lukas-renggli.ch/ but I'm unable to pin it down. 搜寻了Pharo替代品的邮件列表,它们应该是http://www.lukas-renggli.ch/job/Magritte%202/ ,然后移动了http://source.lukas-renggli.ch/但我我无法确定。

The printed version (using the old Seaside 2.8.4) referenced Squeak images that were supposed to be available here: http://www.seaside.st/download/squeak#167943699 打印版本(使用旧的Seaside 2.8.4)引用了Squeak图像,该图像应该在此处提供: http : //www.seaside.st/download/squeak#167943699

As far as I can tell moved somewhere else? 据我所知,搬到别的地方了吗? Found Squeak images that work http://ftp.squeak.org/various_images/seaside/Squeak4.1/ but can't tell if they are the right ones. 找到可以正常使用的Squeak图像http://ftp.squeak.org/various_images/seaside/Squeak4.1/,但无法确定它们是否正确。

Thank you! 谢谢!

The tutorial was written with Squeak in mind and should work for Seaside 3. 本教程在编写时就牢记了Squeak,应该适用于Seaside 3。

You can install Seaside in a Squeak image with the installation instructions from the Squeak Website ( http://squeak.org/projects/#seaside ). 您可以按照Squeak网站( http://squeak.org/projects/#seaside )的安装说明,在Squeak映像中安装Seaside。

The latest pre-built Squeak image with Seaside (Squeak 4.4 with Seaside 3.0.8) can be found on Squeak's file server at http://ftp.squeak.org/4.4/seaside/ . 可以在http://ftp.squeak.org/4.4/seaside/上的Squeak文件服务器上找到带有Seaside的最新预构建Squeak映像(带有Seaside 3.0.8的Squeak 4.4)。

At the time of writing, a more current image based on Squeak 5 and Seaside 3.2 is being prepared. 在撰写本文时,正在准备基于Squeak 5和Seaside 3.2的最新图像。

[EDIT] [编辑]

Execute the following in Squeak 4.5, 4.6, or 5.0 to get a current Metacello (taken from https://github.com/dalehenrich/metacello-work ): 在Squeak 4.5、4.6或5.0中执行以下操作以获取当前的Metacello(摘自https://github.com/dalehenrich/metacello-work ):

"Get the Metacello configuration (for Squeak users)"
Installer gemsource
    project: 'metacello';
    addPackage: 'ConfigurationOfMetacello';
    install.

"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project 
  version: #'previewBootstrap') load.

"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
  configuration: 'MetacelloPreview';
  version: #stable;
  repository: 'github://dalehenrich/metacello-work:configuration';
  load.

"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://dalehenrich/metacello-work:master/repository';
  get.
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://dalehenrich/metacello-work:master/repository';
  load.

Then, the following will install Seaside+Magritte 然后,以下将安装Seaside + Magritte

Metacello new
    configuration: 'Seaside3';
    repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
    version: #stable;
    load: 'OneClick'.

Metacello new
    configuration: 'Magritte3';
    repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main';
    version: #stable;
    load: 'Magritte-Seaside'.

In Pharo 4 & 5, use the last part of Tobias' answer to first load Seaside and then Magritte. 在第4和第5阶段中,请使用Tobias回答的最后部分首先加载Seaside,然后加载Magritte。 Pharo has Metacello loaded by default. Pharo默认情况下已加载Metacello。

After loading, open the Seaside Control Panel to add an adapter (ZnZincServerAdaptor), and start that. 加载后,打开Seaside控制面板以添加适配器(ZnZincServerAdaptor),然后启动它。

On the pharo contributions ci there are several builds that already have Magritte & Seaside loaded (like QCMagritte) pharo贡献ci上,已经加载了Magritte和Seaside的多个版本(例如QCMagritte)

Here try this one: https://ci.inria.fr/pharo-contribution/job/PharoWeb/PHARO=50,VERSION=stable,VM=vm/lastSuccessfulBuild/artifact/PharoWeb.zip 在这里试试这个: https : //ci.inria.fr/pharo-contribution/job/PharoWeb/PHARO=50,VERSION=stable,VM=vm/lastSuccessfulBuild/artifact/PharoWeb.zip

Use this image with the pharo 5.0 vm. 将此图像与pharo 5.0虚拟机一起使用。 You can get it from the pharo site. 您可以从pharo网站获得它。

This is part of a Pharo MOOC: http://files.pharo.org/mooc/ . 这是Pharo MOOC的一部分: http : //files.pharo.org/mooc/ I highly recommend taking this MOOC. 我强烈建议您参加此MOOC。 It helped me a lot. 这对我帮助很大。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM