Lukas Renggli | 5 Aug 2010 20:55
Picon
Gravatar

Re: Magritte2

Hi Elliot,

I reply to the Magritte list, because other people might be interested
or provide other answers too:

> I'm wanting to do something like http://www.nakedobjects.net but with
> Pharo/Magma/Magritte2 (and later seaside for web view).  I've looked at the
> Magritte tutorial that is dated Feb 5, 2007 but it seems to be a little
> outdated and geared specifically towards seaside.  Is there a later tutorial
> for Magritte or other material that I can reference to learn it?  I've
> loaded the Magritte2 package from squeaksource and it looks a little
> daunting!

The tutorial is not outdated, Magritte was relatively stable in the
past few years. I've been repeatedly using the tutorial in the past
few years in various training sessions.

The Seaside book has a chapter on Magritte:
<http://book.seaside.st/book/advanced/magritte>; and of course the
other links from <http://www.lukas-renggli.ch/smalltalk/magritte>.

The package Magritte-Core can be used without Seaside, in fact there
is nothing that depends on Seaside. However, most people (including
myself) have been using Magritte in the context of Seaside, that's why
the support there is the most sophisticated. There is Magritte-Morphic
that creates basic Morphic interfaces.

> Is Pharo/Magma/Magritte2 the right stack for this type of project in your
> opinion?http://www.lukas-renggli.ch/smalltalk/magritte

(Continue reading)

Reza Razavi | 6 Aug 2010 11:26
Picon
Favicon

Embedding JQuery examples using Pier Components

Hi,

Starting with the latest one-click Seaside image, I registered a Pier 
application following [1], then successfully embedded on-line many of 
JQuery examples using Pier Components. It's impressive to observe how 
smoothly it works! I only had a minor issue that is reported in [2].

Regards,
Reza

[1] Procedure for registering a Pier application for the needs of the 
above tests:
    A) Add the following libraries to PRPierFrame class >> 
configureApplication: JQDeploymentLibrary, JQUiDeploymentLibrary, and 
JQUiLightnessTheme
    B) Execute PRDistribution new register

[2] When embedding the JQWidgetBoxJQToolsTabsExample, the following 
sequence raises MessageNotUnderstood
    A) JQWidgetBoxJQToolsTabsExample >> updateRoot:
    B) In the #removeAllSuchThat: loop, the message #attributes is 
sent to a WAOpeningConditionalComment

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lukas Renggli | 9 Aug 2010 08:42
Picon
Gravatar

Re: Fw: small Pier question? 8-Aug

Welcome. What is your question?

Lukas

On Monday, August 9, 2010, c parks <crparks_24 <at> yahoo.com> wrote:
> Another attempt....
>
> Thanks!
>
> --- On Sun, 8/8/10, smallwiki-owner <at> iam.unibe.ch <smallwiki-owner <at> iam.unibe.ch> wrote:
>
> From: smallwiki-owner <at> iam.unibe.ch <smallwiki-owner <at> iam.unibe.ch>
> Subject: small Pier question?  8-Aug
> To: crparks_24 <at> yahoo.com
> Date: Sunday, August 8, 2010, 10:52 PM
>
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  If you think that your messages are
> being rejected in error, contact the mailing list owner at
> smallwiki-owner <at> iam.unibe.ch <http://mc/compose?to=smallwiki-owner <at> iam.unibe.ch>.
>
>
>

--

-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
(Continue reading)

Stephan Eggermont | 10 Aug 2010 16:52
Picon
Favicon
Gravatar

Re: Magritte2


On 5 aug 2010, at 20:55, Lukas Renggli wrote:

> Hi Elliot,
> 
> I reply to the Magritte list, because other people might be interested
> or provide other answers too:
> 
>> I'm wanting to do something like http://www.nakedobjects.net but with
>> Pharo/Magma/Magritte2 (and later seaside for web view).

If you're interested in a naked objects style interface, you might
be interested in maui, jmatter and glamour. In the early days of NakedObjects
I was a contributor (and to Sanssouci). 

They work fairly well for simple domain models, but are weak when you use 
type objects/knowledge level. 

You'll probably want to make some changes in describing relationships
in Magritte, and add ActionDescriptions.

Stephan
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Reza Razavi | 10 Aug 2010 23:41
Picon
Favicon

Optimizing #isRestful

Hi Lukas, all,

#isRestful is called by PRContext >> urlOn:, typically via the 
PRMenuRenderer (so, upon every page refresh), which delegates to the 
current Command, which, in the case of PRViewCommand, delegates in 
turn to its 'viewComponent'.

To avoid creating an instance of the #viewComponentClass just to 
check if its #isRestful, would it make sense to:
1) Move to the class side the four occurrences of #isRestful 
implementation in the PRViewComponent hierarchy, and then
2) Change the code in PRViewCommand to delegate to #viewComponentClass?

Regards,
Reza

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lawson English | 14 Aug 2010 00:51
Picon

Step by step on how to create pier-based blog?

http://www.lukas-renggli.ch/blog/installation

The video doesn't load in either safari, firefox or chrome on my Mac.

Are there more resources I should be looking at for this?

Lawson
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lawson English | 14 Aug 2010 07:16
Picon

Re: Step by step on how to create pier-based blog?

On 8/13/10 3:51 PM, Lawson English wrote:
> http://www.lukas-renggli.ch/blog/installation
>
> The video doesn't load in either safari, firefox or chrome on my Mac.
>
>
> Are there more resources I should be looking at for this?
>

OK, so managed to get Pier installed into the squeak 4.1 one-click 
distribution and clicked on blog. I can leave a comment but I get stuck 
in a loop where I can't cancel the comment request.  Has pier, 
especially the blog component, been tested with the 4.1 one click 
distribution?

Lawson
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Nick Ager | 14 Aug 2010 07:52
Picon
Gravatar

Re: Step by step on how to create pier-based blog?

Hi Lawson,





OK, so managed to get Pier installed into the squeak 4.1 one-click distribution and clicked on blog. I can leave a comment but I get stuck in a loop where I can't cancel the comment request.  Has pier, especially the blog component, been tested with the 4.1 one click distribution?



Some ways of registering Pier:

1) PRPierFrame registerAsApplication: 'pier' kernel:  PRDistribution new kernel. 
2) PRPierFrame registerAsApplication: 'pier' kernel: (PRKernel named: 'aSimpleKernel').
3) PRPierFrame registerAsApplication: 'pier' kernel: (PRKernel new root: (PRPage new title: 'test title'; contents: 'Pier on Seaside 3.0'; name: 'testPage'); name: 'aVerySimpleKernel').

AFAIK all Pier development takes place on Pharo - might be worth trying the Pharo Seaside30rc and seeing if you have the same problem there.

Nick
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Lukas Renggli | 14 Aug 2010 08:01
Picon
Gravatar

Re: [Seaside] starting pier from one-click image?

There is no one-click image for Squeak 4.1 AFAIK. Please try the
official image from piercms.com, or a daily build from
hudson.lukas-renggli.ch.

Lukas

On Saturday, August 14, 2010, Lawson English <lenglish5 <at> cox.net> wrote:
> so using the oneclick squeak 4.1 image, there's no default entry point for pier, nor any explanation of how
to set one up.
>
>
> Lawson
> _______________________________________________
> seaside mailing list
> seaside <at> lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

--

-- 
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Reza Razavi | 14 Aug 2010 09:48
Picon
Favicon

Re: Step by step on how to create pier-based blog?

At 09:07 14/08/2010, Nick Ager wrote:
>How about downloading one of Lucas' daily builds or use Seaside30rc on Pharo

Hi Lawson, Nick, all,

I actually downloaded and tried both. I didn't 
notice the following issue you mentioned in a previous email.

>I can leave a comment but I get stuck in a loop 
>where I can't cancel the comment request.

My understanding is that you refer a 
functionality that is not an endless loop, but 
actually part of the blog's design. The "leave a 
comment" dialog appears systematically, even if 
you cancel it, as far as the post still accepts comments (there is a timeout).

This being said, I observed better development 
performances with the Hudson download. It seems 
that the Seaside30rc on Pharo package comes with 
some development packages pre-loaded that 
sometimes make you wait a while before accepting 
a method, or rendering a text typed in a 
workspace, etc. (I'm still under Vista and not OSX, sorry for that).

With the Husdon image, Build #200 (13 août 2010 
10:40:23), I only had a small issue with the 
settings dialog. MCConfiguration >> 
updateFromImage seems missing. From a comparison 
of the packages for MonticelloConfigurations 
between Seaside30rc on Pharo and Hudson images in 
http://www.squeaksource.com/Pharo, it appears 
that the version of Hudson is outdated. I loaded 
the latest one 
(MonticelloConfigurations-StephaneDucasse.61) and 
it seems working just fine now.

Hoping this helps,
Regards,
Reza

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


Gmane