Nicolas Petton | 17 May 02:46
Picon

Aida-Roles and Aida-Parties

Hi all,

I'm thinking about the usefulness of Aida-Roles and Aida-Parties...
I don't think those 2 packages should be included Aida. First, IMHO it
has nothing to do in a web framework, and it makes Aida bigger for
almost nothing. Maybe we should keep only the Person class, or move it
to Scribo?

Janko, if you use it for BiArt, maybe you could just move it from Aida
to BiArt?

What do others think?

Cheers!

Nico
--

-- 
Nicolas Petton
http://nico.bioskop.fr
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.bioskop.fr/pgp-key.html
(Continue reading)

Nicolas Petton | 15 May 14:30
Picon

SPM: a Squeak project manager

Hi all,

I was recently working on a project called SPM (Squeak Project Manager).
It's an application to manage squeak projects, with:

- a Monticello repository accessible from the website
- a tracking system including a timeline, roadmap, milestones and
tickets (or issues)
- a wiki
- news (or blog)
- an interface to Monticello, which allows you to browse the code
online, with bookmarkable urls

Each user also has a personal page, with an editable todo, a list of all
tickets assigned to him, and the list of the recent events in the
timeline.

It's not finished yet, but we already use it for Scribo:
http://scribo.bioskop.fr

SPM is based on Aida/Scribo, and will be released under MIT licence.

Please tell me what you think.

Cheers!

Nico
--

-- 
Nicolas Petton
http://nico.bioskop.fr
(Continue reading)

Janko Mivšek | 12 May 18:02
Picon

Partial port on Smalltalk/X

Dear all,

James Hayes did a partial port of Sport, Swazoo and Aida to Smalltalk/X:

	ftp://ftp.eranova.si/aida/aida-stx-partial.tar.gz

Jaroslav Havlin from Technical university in Prague offered help and he 
will soon continue his work so that ST/X will be supported too.

Thanks you both for that!

Best regards
Janko

--

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Janko Mivšek | 12 May 12:20
Picon

Localization - a proposal

Dear all,

With Nico we just had a long IRC brainstorming about how to do 
localization support in Aida. Here is the proposal:

	e addText: #fr->'Salut'

So, all texts are added as associations with initial language as a key 
and text in that language as value. Such association then implies that 
this text can be later shown in many languages as soon as translations 
are provided.

And how will translations be done?

In two ways: in-line directly on the web page or in special web app with 
the translation table. In-line will be preferable for translators, 
because they will see the complete context in which the text resides.

Scope of i18 texts:

Question is how to do translations of apps wich are usually made of 
reusable web elements/components. Shall we provide some global message 
catalog as is in case of GetText? Such a global catalog is hard to 
maintain if there is a lot of text. But it avoids duplicates. Our 
proposal is not to have global but a local message catalogs, one per 
each element generating method in WebComponent/WebApp.   Yes, there will 
be a lot of duplication of translations that way but this is still much 
simpler to translate and maintain than some global catalog. Also keep in 
mind that we translate reusable components, which will reduce duplicate 
translation work at the end.
(Continue reading)

Nicolas Petton | 11 May 21:12
Picon

Localization

Janko,

I thougth about your idea.

Inline editing is more complex than it looks like because of Aida
structure (components, webstyle, etc), so I would leave it for later.

For symbols, I don't know if it's a good idea, because it's not obvious
at all, and it will be very tricky and intrusive! I would instead use
something like:

self translate: #welcome

and then we keep the symbol, and at least you immediately know what's
going on (I'm thinking about newcommers).

For storing, I would do as we do for css in WebStyle, ie use a
convention. For example in a WebApp class, all methods beginning with
translation are translating methods, then follows the language, and then
the view name. For example:

#translateFrMain for the translation in french of view main
#translateDeEdit for the translation in deutch of view edit

and each translation method would return an collexion, like this:

#translateFrMain
    ^(#welcome 'Bienvenue'
    #login 'Connexion'
    #bye 'A bientot'
(Continue reading)

Nicolas Petton | 11 May 16:43
Picon

Aida-Localization

Hi all,

I started a to work on a localization support for Aida.
It's available at: http://mc.bioskop.fr/AidaLocalization

It's quite simple for now: AIDASite has a #preferedLanguage accessor
which return a symbol (by default #en), and has a translator, an
instance of AIDATranslator.

A translator knows how to translate a sentence:

(AIDASite named: 'aidademo') translator addTranslation:
('Hello'->'Bonjour') language: #fr

then 

(AIDASite named: 'aidademo') translator translate: 'Hello' to: #fr
>>>'Bonjour'

in views we can translate a sentence with:

self translate: aString

for example:

#viewMain
    | e |
    e := WebElement new.
    self title: (self translate: 'Hello').
    e addTextH1: self title.
(Continue reading)

Rob Rothwell | 11 May 02:42
Picon

Starting a Site in a Development Package

Just wondering what I am missing when trying to use Nico's development package Aida5.6-np.48.mcz (I thought some of the Scriptaculous stuff might be fun to play with).

When I load it into a clean image and try
     SwazooAida demoStart

then go to the site in a browser, I get
     MessageNotUnderstood:  AIDASite>>defaultUserService.

I get the same results when trying to create a site manually.

What is the difference between the stable Aida 5.6 and the development image in this regard?  Is there something new I need to do to start I site?

Thanks,

Rob

<div><p>Just wondering what I am missing when trying to use Nico's development package Aida5.6-np.48.mcz (I thought some of the Scriptaculous stuff might be fun to play with).<br><br>When I load it into a clean image and try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SwazooAida demoStart<br><br>then go to the site in a browser, I get<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageNotUnderstood: &nbsp;AIDASite&gt;&gt;defaultUserService.<br><br>I get the same results when trying to create a site manually.<br><br>What is the difference between the stable Aida 5.6 and the development image in this regard? &nbsp;Is there something new I need to do to start I site?<br><br>Thanks,<br><br>Rob<br></p></div>
Rob Rothwell | 10 May 16:47
Picon

Re: Question about Aida vs Seaside

Sure...I think best "out loud" around other people, so I hope you don't mind going "back and forth!"

I don't think I can call myself a compete Smalltalk "novice" anymore, though I still feel like it compared with everyone else out there.  My programming experience is purely procedural:  Assembly, VisualBasic, etc..., but I was always trying to do Smalltalk-ish stuff.  It has taken me a LONG time to be able to do "useful work."

Also keep in mind that I COMPLETELY missed the web-programming movement while I was in the Army.  I have NO experience with HTML, CSS, Javascript, etc, etc, etc...

With that in mind, I found Seaside challenging because it builds on your [pre-existing] web knowledge.

Aida, in my mind, is much "simpler" in this regard, or at least more "abstract."  I could actually (for the most part) "figure it out" by browsing the classes and the WebDemoApp methods.

The idea of "naming conventions" confused me at first about Aida--you MUST have a domain object (MyObject) that is the domain model for your application (MyObjectApp).  Starting and stopping your site is a bit rough, and styling your site can be confusing.  I can change the style now, but am no good at CSS, so I am limited in what I can change.

For Squeak, Nicolas is doing some great Scriptaculous work (http://nico.bioskop.fr/).  I found all the Ajax integration in Aida much easier to understand than in Seaside, where I just didn't have a clue what was going on.  In fact, Ajax is buried at the bottom of the Aida framework, so it feels very much "built-in."

I the big reason I am using Aida is because it was "simple enough" for me.  I always thought of myself as a "smart" programmer:  I have a long-ago degree in Physics, and have been "programming" since I was 11.  I do process improvement and Decision Support work at a hospital.  But Seaside still escapes me because I am NOT a programmer, meaning I need to program to "get things done," not to write a "great program," and so Aida was a great choice for me because I could almost just sit down and get started, and Janko and the Aida community are VERY willing to help when you have a question.  There are very few things I have wanted to do that they haven't been able to explain to me--usually within HOURS.

So...depending on what you are writing (I am working on basic business data-collection applications), and depending on how you feel about the CSS style guidelines, you can very quickly and read ably get many components up and running, nicely pre-wired to your domain model object(s). I mention the style guidelines only because the easiest way for me to layout forms in Aida is using tables, which does not bother me for the applications I am writing, but is apparently a big faux pas in the CSS world!

I would be happy to help any way I can; I have been given much by the Aida community and have been lax in my duties to provide more promised documentation on the Aida web site!  (There are so many interlocking pieces of a good demonstration showing off the many parts of Aida that I get lost in "Scope Creep.")  So...ask away, and I will answer as best I can!

Hope this is somewhat useful,

Rob

P.S.  I should really figure out this IRC thing someday as well...

On 5/10/08, Germán Arduino <garduino <at> gmail.com> wrote:
Hi Rob:

Sorry bothering you with this question, but on IRC Janko commented me that I can ask you about your experience using Aida against Seaside.

I'm familiar with Seaside, developed several apps, but I'm interested in give a try to Aida and if you can comment you own experience, surely will be a lot useful to me.

Thanks in advance by your help.

Cheers.

--
Germán S. Arduino
http://www.arsol.biz
http://www.arsol.net

<div>
<p>Sure...I think best "out loud" around other people, so I hope you don't mind going "back and forth!"<br><br>I don't think I can call myself a compete Smalltalk "novice" anymore, though I still feel like it compared with everyone else out there. &nbsp;My programming experience is purely procedural: &nbsp;Assembly, VisualBasic, etc..., but I was always trying to do Smalltalk-ish stuff. &nbsp;It has taken me a LONG time to be able to do "useful work."<br><br>Also keep in mind that I COMPLETELY missed the web-programming movement while I was in the Army. &nbsp;I have NO experience with HTML, CSS, Javascript, etc, etc, etc...<br><br>With that in mind, I found Seaside challenging because it builds on your [pre-existing] web knowledge.<br><br>Aida, in my mind, is much "simpler" in this regard, or at least more "abstract." &nbsp;I could actually (for the most part) "figure it out" by browsing the classes and the WebDemoApp methods.<br><br>The idea of "naming conventions" confused me at first about Aida--you MUST have a domain object (MyObject) that is the domain model for your application (MyObjectApp). &nbsp;Starting and stopping your site is a bit rough, and styling your site can be confusing. &nbsp;I can change the style now, but am no good at CSS, so I am limited in what I can change.<br><br>For Squeak, Nicolas is doing some great Scriptaculous work (<a href="http://nico.bioskop.fr/">http://nico.bioskop.fr/</a>). &nbsp;I found all the Ajax integration in Aida much easier to understand than in Seaside, where I just didn't have a clue what was going on. &nbsp;In fact, Ajax is buried at the bottom of the Aida framework, so it feels very much "built-in."<br><br>I the big reason I am using Aida is because it was "simple enough" for me. &nbsp;I always thought of myself as a "smart" programmer: &nbsp;I have a long-ago degree in Physics, and have been "programming" since I was 11. &nbsp;I do process improvement and Decision Support work at a hospital. &nbsp;But Seaside still escapes me because I am NOT a programmer, meaning I need to program to "get things done," not to write a "great program," and so Aida was a great choice for me because I could almost just sit down and get started, and Janko and the Aida community are VERY willing to help when you have a question. &nbsp;There are very few things I have wanted to do that they haven't been able to explain to me--usually within HOURS.<br><br>So...depending on what you are writing (I am working on basic business data-collection applications), and depending on how you feel about the CSS style guidelines, you can very quickly and read ably get many components up and running, nicely pre-wired to your domain model object(s). I mention the style guidelines only because the easiest way for me to layout forms in Aida is using tables, which does not bother me for the applications I am writing, but is apparently a big faux pas in the CSS world!<br><br>I would be happy to help any way I can; I have been given much by the Aida community and have been lax in my duties to provide more promised documentation on the Aida web site! &nbsp;(There are so many interlocking pieces of a good demonstration showing off the many parts of Aida that I get lost in "Scope Creep.") &nbsp;So...ask away, and I will answer as best I can!<br><br>Hope this is somewhat useful,<br><br>Rob<br><br>P.S. &nbsp;I should really figure out this IRC thing someday as well...<br><br></p>
<div>
<span class="gmail_quote">On 5/10/08, Germ&aacute;n Arduino &lt;<a href="mailto:garduino <at> gmail.com">garduino <at> gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote">
Hi Rob:<br><br>Sorry bothering you with this question, but on IRC Janko commented me that I can ask you about your experience using Aida against Seaside.<br><br>I'm familiar with Seaside, developed several apps, but I'm interested in give a try to Aida and if you can comment you own experience, surely will be a lot useful to me.<br><br>Thanks in advance by your help.<br><br>Cheers.<br clear="all"><span class="sg"><br>-- <br>Germ&aacute;n S. Arduino<br><a href="http://www.arsol.biz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.arsol.biz</a><br><a href="http://www.arsol.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.arsol.net</a><br></span>
</blockquote>
</div>
<br>
</div>
Nicolas Petton | 10 May 01:49
Picon

Localization

Hi all,

There is currently no localization support in Aida/Web. I'm currently
working on a french site made with Scribo under Squeak, and then I have
two choices: 
- Manually translate all strings in french (ouch!)
- Add #translated to all strings I want to translate and translate them
with the Squeak localization support.

Both choices are bad. I need to manually change the code.

So, I think that a localization support in Aida would be really great. 
It wouldn't be very difficult, but would take some time. At the end we
could have Aida and Scribo in many languages!

What do you think?

Cheers!

Nico 
-- 
Nicolas Petton
http://nico.bioskop.fr
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.bioskop.fr/pgp-key.html
Hi all,

There is currently no localization support in Aida/Web. I'm currently
working on a french site made with Scribo under Squeak, and then I have
two choices: 
- Manually translate all strings in french (ouch!)
- Add #translated to all strings I want to translate and translate them
with the Squeak localization support.

Both choices are bad. I need to manually change the code.

So, I think that a localization support in Aida would be really great. 
It wouldn't be very difficult, but would take some time. At the end we
could have Aida and Scribo in many languages!

What do you think?

Cheers!

Nico 
--

-- 
Nicolas Petton
http://nico.bioskop.fr
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.bioskop.fr/pgp-key.html
Rob Rothwell | 6 May 12:30
Picon

Re: Aida on Smalltalk/X

On 5/6/08, Jaroslav Havlín <jaroslav.havlin <at> gmail.com> wrote:
Hello Rob,

as Janko said, I am going to try to port Aida/Web to Smalltalk/X, because I would like to use it as a part of my diploma work.
Unfortunately I have to finish my current school projects now, so I will start working on it probably at the beginning of July.
I will let you know as soon as I have some news.


Thanks for the information.  

Let me know if there is any "grunt work" I could do to help you (I have neither a Web Server or Web Programming background)? 

Rob


<div>
<span class="gmail_quote">On 5/6/08, Jaroslav Havl&iacute;n &lt;<a href="mailto:jaroslav.havlin <at> gmail.com">jaroslav.havlin <at> gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote">
Hello Rob, <br><br>as Janko said, I am going to try to port Aida/Web to Smalltalk/X, because I would like to use it as a part of my diploma work.<br>Unfortunately I have to finish my current school projects now, so I will start working on it probably at the beginning of July. <br>
 I will let you know as soon as I have some news.</blockquote>
<div>
<br><br>Thanks&nbsp;for&nbsp;the&nbsp;information.&nbsp;&nbsp;<br><br>Let me know if&nbsp;there&nbsp;is&nbsp;any&nbsp;"grunt&nbsp;work"&nbsp;I&nbsp;could&nbsp;do&nbsp;to&nbsp;help&nbsp;you&nbsp;(I&nbsp;have&nbsp;neither&nbsp;a&nbsp;Web&nbsp;Server&nbsp;or&nbsp;Web&nbsp;Programming&nbsp;background)?&nbsp;<br><br>Rob<br>
</div>
<br><br>
</div>
Rob Rothwell | 6 May 00:36
Picon

Aida on Smalltalk/X

I recently torture tested Squeak, VisualWorks, and Smalltalk/X with a simple but intense text file conversion utility and VisualWorks was the only one left standing "out of the box."  That doesn't mean that the others are not capable, but they each have their strengths, and for a novice "business" programmer, VW seems good if we can afford the license.

However, I am intrigued enough by Smalltalk/X for future consideration and wondered how hard it would be to get Aida running on it, and was wondering if anyone has tried yet or has some pointers.  The image I have has some Seaside stuff in it, but Swazoo isn't even present, so I imagine I would need to start there!

Thanks,

Rob

<div><p>I recently  torture tested Squeak, VisualWorks, and Smalltalk/X with a simple but intense text file conversion utility and VisualWorks was the only one left standing "out of the box." &nbsp;That doesn't mean that the others are not capable, but they each have their strengths, and for a novice "business" programmer, VW seems good if we can afford the license.<br><br>However, I am intrigued enough by Smalltalk/X for future consideration and wondered how hard it would be to get Aida running on it, and was wondering if anyone has tried yet or has some pointers. &nbsp;The image I have has some Seaside stuff in it, but Swazoo isn't even present, so I imagine I would need to start there!<br><br>Thanks,<br><br>Rob<br></p></div>

Gmane