For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > September 2007 > Aida/Web is worth trying out









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Aida/Web is worth trying out
Emptist

2007-09-14, 10:10 pm

Hi,

Instead of spend my spare time moving to OmniBase, I continued to use
my previous BOSS approach and try out Aida/Web for the first time.

Hey, it works like magic! Very easy to understand and follow.

I learned some SeaSide a year ago, and I feel Aida is easier. So
those who are interested in web application dev must spend 3 minutes
to try it out, using any of your existing domain objects to fill the
web :)

Firstly, how to install (for VW, Squeak, Dolphin), see:
http://www.aidaweb.si/download.html
for instruction.

To save your time, here is the process I try it out:

SwazooServer demoStart.
"open a brower, url: http://localhost:8888, user: admin,
password:password"

AIDASite allInstances inspect.
"to find a usable website name, and I see 'aidademo'"

myObject:= anInstanceOfMyClass.
"this is an instance of MyClass"

(AIDASite named: 'aidademo') urlResolver defaultURL: '/myobject.html'
forObject: myObject.

Smalltalk defineClass: #MyClassApp
superclass: #{AIDA.WebApplication}
indexedType: #none
private: false
instanceVariableNames: ''
classInstanceVariableNames: ''
imports: ''
category: 'my aida/web'
"Note:
use MyClass+App as classname, for aida to know your MyClass "

viewMain
| we ob |
we := WebElement new.
ob := self observee someInstanceSideMessageOMyClass.
we addTextH1: 'This is' , ob class name printString.
we add: (WebText text: 'whatever you like' attributes: #bold).
we addBreak.
we addTextBold:ob somethingString.
self pageFrameWith: we title: 'whatever you want'
"Note:
create instance methods to show you objects naming view+Something, but
a main is needed. so viewMain first"
" Now open in browser:http://localhost:8888/myobject.html
It should have been there!

Now check out each of the left side menu to learn on...
"
SwazooServer demoStop.

That's it. Enjoy!

Regards,

Jim G

postmax@doramail.com

2007-09-15, 4:24 am

On Sep 14, 8:02 pm, Emptist <jimg1...@gmail.com> wrote:
> Hi,
>
> Instead of spend my spare time moving to OmniBase, I continued to use
> my previous BOSS approach and try out Aida/Web for the first time.
>
> Hey, it works like magic! Very easy to understand and follow.
>
> I learned some SeaSide a year ago, and I feel Aida is easier. So
> those who are interested in web application dev must spend 3 minutes
> to try it out, using any of your existing domain objects to fill the
> web :)
>


I agree that Aida/Web does look very nice. The example that you
provided makes it look so easy. Unfortunately, the documentation is
very sparse. Can someone provide a complete sample application such
as the Sushi Store example found in Seaside?

Indeed, I think that would be a very way to compare the two
frameworks. By examining the code required to implement the Sushi
Store, one can get an idea of how the two frameworks compare in
simplicity and ease of programming.

Max

Janko Mivšek

2007-09-15, 7:11 pm

Hi Max,

postmax@doramail.com wrote:
> On Sep 14, 8:02 pm, Emptist <jimg1...@gmail.com> wrote:
>
> I agree that Aida/Web does look very nice. The example that you
> provided makes it look so easy. Unfortunately, the documentation is
> very sparse. Can someone provide a complete sample application such
> as the Sushi Store example found in Seaside?


Pretty complete yet simple example is WebDiscussions, which is included
in Aida and runs immediately you start a demo site, on the first page.
It contains most patterns you'll usually encounter when developing your
own web apps.

> Indeed, I think that would be a very way to compare the two
> frameworks. By examining the code required to implement the Sushi
> Store, one can get an idea of how the two frameworks compare in
> simplicity and ease of programming.


That's good idea! Any volunteers to do that? This would be an nice
exercise for everyone who wants to understand Aida better.

Best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
dh5114@gmail.com

2007-09-27, 7:13 pm

On Sep 15, 5:41 am, post...@doramail.com wrote:
> On Sep 14, 8:02 pm, Emptist <jimg1...@gmail.com> wrote:
>
>
>
>
>
> I agree that Aida/Web does look very nice. The example that you
> provided makes it look so easy. Unfortunately, the documentation is
> very sparse. Can someone provide a complete sample application such
> as the Sushi Store example found in Seaside?
>
> Indeed, I think that would be a very way to compare the two
> frameworks. By examining the code required to implement the Sushi
> Store, one can get an idea of how the two frameworks compare in
> simplicity and ease of programming.
>
> Max


I'm new in this and I started a blog[1] about writing web app with
Aida. It'll be billing app for small company, as that is what I need.
You can track my progress there.

1. www.aidingtheweb.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com