Archive for the ‘Cloudfork’ category

CloudforkSSO on Pharo with stunnel

February 23, 2011

The latest version of CloudforkSSO (version 1.1.0) on Pharo uses the Zinc-HTTP library. This library contains a good http client. Actually it contains multiple http clients, depending on your requirements you can pick one of them. One feature Zinc-HTTP doesn’t support (yet?) is secure http. Most of the OAuth and OpenID providers require https connections [...]

CloudforkSSO – OpenID and OAuth support for Smalltalk

February 15, 2011

With the CloudforkSSO library you can let the users of your Seaside web application login using their Google or Yahoo accounts. This works using the OpenID2 protocol. CloudforkSSO also contains OAuth support. With this protocol you can ask users for permission to access their data on other websites. Some providers that you can integrate with: [...]

EC2 AMI with Smalltalk and Seaside: Update 3

October 10, 2010

Today I published a new version of the Amazon EC2 image with Smalltalk and Seaside. The third version contains the following software: Ubuntu Server 32bit 10.04 LTS (release 2010-09-23) Apache HTTP Server 2.2 SqueakVM 4.0.3.2202 Unix VM PharoCore 1.1.1 Seaside 3.0 The AMI identification: ami-c2fe0aab The update to the Ubuntu server makes it easier to [...]

A new public EC2 AMI with Smalltalk and Seaside

August 29, 2010

This weekend I created a public Amazon Machine Image (AMI) setup as a Smalltalk web server with a Linux SqueakVM, a Pharo 1.1 Smalltalk image and the Apache2 web server. Anyone can use this AMI as a robust and scalable runtime platform for their Seaside applications. In this article I will try to explain how [...]

Amazon AWS Region Endpoints in Europe

June 1, 2010

To use the Cloudfork classes for services located in Europe (Ireland), you need to change the serviceUrl property such as: Service URL SimpleDB sdb.eu-west-1.amazonaws.com SQS eu-west-1.queue.amazonaws.com EC2 eu-west-1.ec2.amazonaws.com SNS sns.eu-west-1.amazonaws.com S3 Set Bucket location constraint to EU RDS rds.eu-west-1.amazonaws.com A comprehensive list can be found over at Elastician

Testing Cloudfork AWS SimpleDB based classes

September 20, 2009

The Cloudfork framework includes an alternate implementation of CFSimpleBase that stores all items in memory. The CFSimpleDBEmulator was initially created to support the unit testing of the ActiveItem framework. With the exception of some query constructs, it implements the complete api and therefore is suitable for unit testing your own applications as well. | emulator [...]

Secure access to AWS from VisualWorks

July 9, 2009

Cloudfork implements the REST API of the Amazon Web Services using both secure (https) and non-secure (http) communication. In order to use the https protocol to access S3,SimpleDB,SQS or EC2, you need to prepare the Smalltalk image by registering a trusted certificate. Without that certificate, your application will produce an error saying “CA Not in [...]

HTTP Clients for Squeak

May 25, 2009

Cloudfork-AWS makes the Amazon Web Services (AWS) S3, SQS and SimpleDB easily accessible from Smalltalk. All the communication between the Smalltalk image and AWS is done via HTTP. So a HTTP Client is an important requirement for Cloudfork-AWS. Cloudfork-AWS needs more than just handling simple HTTP GET and POST requests, the following features are also [...]

Composition relations in Cloudfork-ActiveItem

April 20, 2009

In UML, the composition relation between objects is a special association that is used to model a “private-container” relationship. The typical class-room example is the Car object having 4 Wheel objects. Although you can replace wheels on a car, one particular Wheel object is never shared with other Car objects. In Amazon SimpleDB there is [...]

Problems with Daylight saving time in VA Smalltalk

March 29, 2009

All the requests that Cloudfork-AWS sends to the Amazon web services contain the current date and time in Coordinated Universal Time (UTC). If this timestamp differs more than a few seconds from the current time you get an error. For example the S3 error: RequestTimeTooSkewed – The difference between the request time and the current [...]


Follow

Get every new post delivered to your Inbox.