How to combine Pharo Desktop and Seaside?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

How to combine Pharo Desktop and Seaside?

steliosgan
Hello,

I am a newbie at smalltalk and I do not feel so comfortable with the following question  :

I have created an application with Pharo 2.0 and I would like to know if I could present dynamically some results to an html page, using seaside. (Actually, I have a class that creates an OrderedCollection and I want to create an html table to fill it with the data from the collection).Is it feasible?

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

kilon.alios
Καλώς ήρθες στον Φάρο , Στέλιο :) (welcome to pharo stelio)

Its great to have another fellow Greek here. I dont know how Seaside works exactly but yes you can generate dynamically hmtl pages. I have only used Amber that also works with Pharo and it has objects to generate html dynamically.  Most likely Aida-Web can do this too as well and there even more pharo libs for such tasks. I will let other members to tell you exactly how to do this in Seaside since they are much more experienced than me. 


On Fri, Nov 22, 2013 at 3:11 AM, steliosgan <[hidden email]> wrote:
Hello,

I am a newbie at smalltalk and I do not feel so comfortable with the
following question  :

I have created an application with Pharo 2.0 and I would like to know if I
could present dynamically some results to an html page, using seaside.
(Actually, I have a class that creates an OrderedCollection and I want to
create an html table to fill it with the data from the collection).Is it
feasible?

Thank you



--
View this message in context: http://forum.world.st/How-to-combine-Pharo-Desktop-and-Seaside-tp4724166.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

philippeback
Hi,

Very easy to do.

Have a look at http://book.seaside.st 

You can also load my configuration from http://www.smalltalkhub.com/#!/~philippeback/Hackathon/source

This will load the HOWebStack properly, and an app I did for an hackathon.

This will give you a sample to work from.

There are a bunch of packages in there, get ready for quite a load.

If you have issues with this tell me, I'll put a pre made image on my web server for you.

Regards,

---
Philippe Back
Dramatic Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
 



On Fri, Nov 22, 2013 at 9:10 AM, kilon alios <[hidden email]> wrote:
Καλώς ήρθες στον Φάρο , Στέλιο :) (welcome to pharo stelio)

Its great to have another fellow Greek here. I dont know how Seaside works exactly but yes you can generate dynamically hmtl pages. I have only used Amber that also works with Pharo and it has objects to generate html dynamically.  Most likely Aida-Web can do this too as well and there even more pharo libs for such tasks. I will let other members to tell you exactly how to do this in Seaside since they are much more experienced than me. 


On Fri, Nov 22, 2013 at 3:11 AM, steliosgan <[hidden email]> wrote:
Hello,

I am a newbie at smalltalk and I do not feel so comfortable with the
following question  :

I have created an application with Pharo 2.0 and I would like to know if I
could present dynamically some results to an html page, using seaside.
(Actually, I have a class that creates an OrderedCollection and I want to
create an html table to fill it with the data from the collection).Is it
feasible?

Thank you



--
View this message in context: http://forum.world.st/How-to-combine-Pharo-Desktop-and-Seaside-tp4724166.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

kilon.alios
is there a pdf I can download ? I would love to take a look at seaside :) 


On Fri, Nov 22, 2013 at 11:48 AM, [hidden email] <[hidden email]> wrote:
Hi,

Very easy to do.

Have a look at http://book.seaside.st 

You can also load my configuration from http://www.smalltalkhub.com/#!/~philippeback/Hackathon/source

This will load the HOWebStack properly, and an app I did for an hackathon.

This will give you a sample to work from.

There are a bunch of packages in there, get ready for quite a load.

If you have issues with this tell me, I'll put a pre made image on my web server for you.

Regards,

---
Philippe Back
Dramatic Performance Improvements
Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140" target="_blank">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027" target="_blank">+32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
 



On Fri, Nov 22, 2013 at 9:10 AM, kilon alios <[hidden email]> wrote:
Καλώς ήρθες στον Φάρο , Στέλιο :) (welcome to pharo stelio)

Its great to have another fellow Greek here. I dont know how Seaside works exactly but yes you can generate dynamically hmtl pages. I have only used Amber that also works with Pharo and it has objects to generate html dynamically.  Most likely Aida-Web can do this too as well and there even more pharo libs for such tasks. I will let other members to tell you exactly how to do this in Seaside since they are much more experienced than me. 


On Fri, Nov 22, 2013 at 3:11 AM, steliosgan <[hidden email]> wrote:
Hello,

I am a newbie at smalltalk and I do not feel so comfortable with the
following question  :

I have created an application with Pharo 2.0 and I would like to know if I
could present dynamically some results to an html page, using seaside.
(Actually, I have a class that creates an OrderedCollection and I want to
create an html table to fill it with the data from the collection).Is it
feasible?

Thank you



--
View this message in context: http://forum.world.st/How-to-combine-Pharo-Desktop-and-Seaside-tp4724166.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

bahman
On 11/22/2013 13:30, kilon alios wrote:
> is there a pdf I can download ? I would love to take a look at seaside :)
>

This will definitely help you get started:
http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial


--
Bahman Movaqar  (http://BahmanM.com)

ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)



signature.asc (565 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

kilon.alios
thank you both, I love good documentation. 


On Fri, Nov 22, 2013 at 12:02 PM, Bahman Movaqar <[hidden email]> wrote:
On 11/22/2013 13:30, kilon alios wrote:
> is there a pdf I can download ? I would love to take a look at seaside :)
>

This will definitely help you get started:
http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial


--
Bahman Movaqar  (http://BahmanM.com)

ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)



Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

steliosgan
In reply to this post by philippeback
First of all...Thank you all for the instant response (Ευχαριστώ πατριώτη).
I would like more precise directions as I am soooo new at this. I have the Pharo app, which returns an OrderedCollection. I created a class PrintHtml (inherents from WAComponent) with an instance variable in which I bind the ordered collection. Then, in workspace, I am trying to create an object for each of these classes, but in PrintHtml renderContentsOn: html, the instance variable looks undefined. I hope that you understand my problem. :D
Reply | Threaded
Open this post in threaded view
|

Re: How to combine Pharo Desktop and Seaside?

Ben Coman
Hi & welcome.

I'm not in a position to help directly, but just suggest that the more
specific advice the advice you are seeking, the more use it is to paste
here the specific code you have defined and the specific Workspace
snippets you are executing. This reduces the chance for
misunderstanding. Also while you may only know enough to ask about "X",
someone looking at your code might be able to advise that you should
really be asking about "Y" and  here is its answer "Z".    The code you
paste should be reduced to the minimal self contained app that
highlights your need.

hope things are well with you,
cheers -ben

steliosgan wrote:

> First of all...Thank you all for the instant response (Ευχαριστώ πατριώτη).
> I would like more precise directions as I am soooo new at this. I have the
> Pharo app, which returns an OrderedCollection. I created a class PrintHtml
> (inherents from WAComponent) with an instance variable in which I bind the
> ordered collection. Then, in workspace, I am trying to create an object for
> each of these classes, but in PrintHtml renderContentsOn: html, the instance
> variable looks undefined. I hope that you understand my problem. :D
>
>
>
> --
> View this message in context: http://forum.world.st/How-to-combine-Pharo-Desktop-and-Seaside-tp4724166p4724301.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>
>