Aida is a web framework. You create the domain first and then register that, which is unlike Seaside. Then you can choose views for it. The word "style" means more in Aida, as I think it informs the entire view. SqueakSite has some classes like SqueakSiteApp and SqueakSitePageApp, but I don't know that they do anything. SqueakSiteStyle does a lot. It manages the SqueakSite and SqueakSitePage instances, where the content is for the site. The content is in the instances, not the classes, which are just for presenting/formatting that data.
Aida has a "frame" which is a banner with a link bar on the left side of the page. Or it can, like the SqueakSite, have two menu bars - one on each side of the page. The content, then, can go in the middle of this upside down U. If you use Scribo, then the middle of the upside down U will be a Scribo interface for making a wiki, blog, or webpage. And extensive set of tools are provided for you to click, type, and link. You don't need to make the site programmatically at all. Scribo stores it all in the instances.
So, using Scribo, it's a mystery why the instances look the way they do, as the user interface is so human friendly. I imagine using Aida, you have to add things programatically. On the Squeak site to change the content with Scribo is easy. To change a menu requires some coding in a Workspace, it seems . Each link on a page is a key in a dictionary to a value object containing all the content. They are stored in the #pages instvar of the Site class. Your site is a subclass of that.
The image is used for persistence, which means all those instances need to be pulled out of one image and into another either with an image segment or using SIXX to draw down the instances with XML. Aida iterates over the instances with #allInstances, which is something I haven't seen in HTTPView2 or Seaside (which doesn't have a default persistence solution). (ie AIDASite allInstances do: [:each | each wiki parent: each]. )
OK, that's everything I know about Aida. If there is anything materially wrong here, I hope somebody will point it out.
Thanks, Chris
Chris, thanks that was helpful. Especially as I never looked into scribo. For errors in your text I dunno, nothing contradicts what I know about Aida.
Aida is a web framework. You create the domain first and then register that, which is unlike Seaside. Then you can choose views for it. The word "style" means more in Aida, as I think it informs the entire view.
Snip ..............
Yesterday I made the experiment to upgrade the current Squeak website (3.10 image) to a current Aida just to see what to expect.
-SwazooAida stop -Sport has no changes -Swazoo changes the base class of some Aida classes. -Merging Aida 6.4 throws some syntax errors, some classes seem to have instvars named "object" and the code has local vars of that name. Renaming those local vars to "xobject" made it load. -Trying to start the server (SwazooAida start) shows that there are problems related to the fact that I believe in Squeak 3.8 we had "Smalltalk" in 3.9 and / or 3.10 we had Smalltalk image and in Trunk we have Smalltalk again. Havent fully overcome those.
So tonight I will load Aida5.6 and the old Swazoo in a trunk image and see if this confirms my suspicions.
Our current plan is to have an old Aida run in trunk then move the content from the old Image to the new image and then upgrade Aida (maybe scribo and SqueakSite too, haven't looked).
I understand Chris' text as if the content of the Squeak site is stored in Dictionaries. If we only had to migrate some Dictionaries that seems easier than migration of Aida which is quite big with lots of opportunities to make mistakes.
So I feel it might be easier to set up a Trunk image with the current versions of all mcz, get that working and then just migrate that Dictionary of SqueakSitePages.
I'll continue experimenting tonight.
Cheers
Herbert
I understand Chris' text as if the content of the Squeak site is stored in Dictionaries. If we only had to migrate some Dictionaries that seems easier than migration of Aida which is quite big with lots of opportunities to make mistakes.
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
I'm going to review the Aida tutorial and get a better grip on the split between the two, how to change a menu and such.
Chris
Hi,
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
ok, I loaded the latest scribo (not the beta) on top of Aida 6.4 into trunk.
Before successfully loading SqueakSite on top of that I had to make WebWidget subclass#WebComponent because WebWidget seems to be a much evolved WebComponent but still understands the old protocol of WebComponent which is still used in SqueakSite.
After that when logging into localhost:8888 to follow the scribo instructions I start getting debuggers.
I'm currently into that unless someone has already done that, then please stop me.
Cheers,
Herbert
Nice work.
I think you're up against the big issue here: getting Scribo to work in Squeak, as Aida 6.4 does. This is a developer's issue and I'm hoping Janko will assist with this.
A working Aida&Scribo in a Squeak, and then the rest of it is something for end users like myself, I'd say. The rest would be tweaking and importing the data (I hope.)
Thanks, Chris
On 2012-06-20, at 2:46 PM, Herbert König wrote:
Hi,
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
ok, I loaded the latest scribo (not the beta) on top of Aida 6.4 into trunk.
Before successfully loading SqueakSite on top of that I had to make WebWidget subclass#WebComponent because WebWidget seems to be a much evolved WebComponent but still understands the old protocol of WebComponent which is still used in SqueakSite.
After that when logging into localhost:8888 to follow the scribo instructions I start getting debuggers.
I'm currently into that unless someone has already done that, then please stop me.
Cheers,
Herbert _______________________________________________ Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
On 20. 06. 2012 20:57, Chris Cunnington wrote:
Nice work.
I think you're up against the big issue here: getting Scribo to work in Squeak, as Aida 6.4 does. This is a developer's issue and I'm hoping Janko will assist with this.
A working Aida&Scribo in a Squeak, and then the rest of it is something for end users like myself, I'd say. The rest would be tweaking and importing the data (I hope.)
Thanks, Chris
On 2012-06-20, at 2:46 PM, Herbert König wrote:
Hi,
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
ok, I loaded the latest scribo (not the beta) on top of Aida 6.4 into trunk.
Before successfully loading SqueakSite on top of that I had to make WebWidget subclass#WebComponent because WebWidget seems to be a much evolved WebComponent but still understands the old protocol of WebComponent which is still used in SqueakSite.
After that when logging into localhost:8888 to follow the scribo instructions I start getting debuggers.
I'm currently into that unless someone has already done that, then please stop me.
Cheers,
Herbert _______________________________________________ Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
On 2012-06-20, at 3:18 PM, Janko Mivšek wrote:
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
Hi Janko,
Which Scribo should work in Squeak 4.3?
I tried Scribo-jm.192.mcz and I didn't get the impression it was the right one. Which would you recommend?
Thanks, Chris
On 20. 06. 2012 21:21, Chris Cunnington wrote:
On 2012-06-20, at 3:18 PM, Janko Mivšek wrote:
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
Hi Janko,
Which Scribo should work in Squeak 4.3?
I tried Scribo-jm.192.mcz and I didn't get the impression it was the right one. Which would you recommend?
Latest Scribo on latest Aida. AFAIK, to be honest, my memory is a bit rusty those hot days here ... :)
Thanks, Chris
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Any of ScriboForum Scribo-Persistence and Scribo-Plugins needed?
Found those on mc.aidaweb.si too
Herbert
On 20. 06. 2012 21:21, Chris Cunnington wrote:
On 2012-06-20, at 3:18 PM, Janko Mivšek wrote:
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
Hi Janko,
Which Scribo should work in Squeak 4.3?
I tried Scribo-jm.192.mcz and I didn't get the impression it was the right one. Which would you recommend?
Latest Scribo on latest Aida. AFAIK, to be honest, my memory is a bit rusty those hot days here ... :)
Thanks, Chris
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
On 20. 06. 2012 21:39, Herbert König wrote:
Any of ScriboForum Scribo-Persistence and Scribo-Plugins needed?
No, those packages certainly not.
Found those on mc.aidaweb.si too
Herbert
On 20. 06. 2012 21:21, Chris Cunnington wrote:
On 2012-06-20, at 3:18 PM, Janko Mivšek wrote:
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
Hi Janko,
Which Scribo should work in Squeak 4.3?
I tried Scribo-jm.192.mcz and I didn't get the impression it was the right one. Which would you recommend?
Latest Scribo on latest Aida. AFAIK, to be honest, my memory is a bit rusty those hot days here ... :)
Thanks, Chris
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
ok, i downloaded the latest and restart with a fresh image so I get a repeatable process.
Cheers,
Herbert
On 20. 06. 2012 21:39, Herbert König wrote:
Any of ScriboForum Scribo-Persistence and Scribo-Plugins needed?
No, those packages certainly not.
Found those on mc.aidaweb.si too
Herbert
On 20. 06. 2012 21:21, Chris Cunnington wrote:
On 2012-06-20, at 3:18 PM, Janko Mivšek wrote:
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
Hi Janko,
Which Scribo should work in Squeak 4.3?
I tried Scribo-jm.192.mcz and I didn't get the impression it was the right one. Which would you recommend?
Latest Scribo on latest Aida. AFAIK, to be honest, my memory is a bit rusty those hot days here ... :)
Thanks, Chris
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Am 20.06.2012 21:50, schrieb Herbert König:
ok, i downloaded the latest and restart with a fresh image so I get a repeatable process.
Same empty class needed to make scribo happy, everything loads fine. For the record: Sport 2.031; Swazoo 2.3beta2.6; Aida6.4-janko.5; scribo1.0-beta-janko.9; SqueakSite jm.19.
I get another debugger (see pic) when logging in. I rise early, so I'll continue tomorrow.
I did not start SwazooAida demoStart and the defaultURL... maybe that's it. Tomorrow...
Cheers
Herbert
Janko,
using towards 6.5 Version was what I suggested so I'll happily do this.
but the debugger I get hints to a problem in WebStyle so please read the message I'll send soon.
Herbert
Hi guys,
Please use http://mc.aidaweb.si for code because Aida and Scribo code there is much more evolved and it should actually be in sync eith Scribo working as expected. You can even use the latest Aida (towards 6.5), so that we will be even upfront with website update :)
Best regards Janko
On 20. 06. 2012 20:57, Chris Cunnington wrote:
Nice work.
I think you're up against the big issue here: getting Scribo to work in Squeak, as Aida 6.4 does. This is a developer's issue and I'm hoping Janko will assist with this.
A working Aida&Scribo in a Squeak, and then the rest of it is something for end users like myself, I'd say. The rest would be tweaking and importing the data (I hope.)
Thanks, Chris
On 2012-06-20, at 2:46 PM, Herbert König wrote:
Hi,
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
ok, I loaded the latest scribo (not the beta) on top of Aida 6.4 into trunk.
Before successfully loading SqueakSite on top of that I had to make WebWidget subclass#WebComponent because WebWidget seems to be a much evolved WebComponent but still understands the old protocol of WebComponent which is still used in SqueakSite.
After that when logging into localhost:8888 to follow the scribo instructions I start getting debuggers.
I'm currently into that unless someone has already done that, then please stop me.
Cheers,
Herbert _______________________________________________ Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
I think you're up against the big issue here: getting Scribo to work in Squeak, as Aida 6.4 does. This is a developer's issue and I'm hoping Janko will assist with this.
oh, it's nott hat bad my first debugger seems to point to an old relic that imho could never have worked.
In the end of the method returning javascript Smalltalk (the Webstyle) tries to determine whether the the browser is MSIE. A webstyle IMHO cannot know this, the javascript perfectly should know this. The debugger comes up in WebStyle>>isBrowserMSIE ^self session isFromMSIE
Janko can prove me wrong but a Webstyle is for many simultaneous sessions so self session is just useless here?
Curious
Herbert
A working Aida&Scribo in a Squeak, and then the rest of it is something for end users like myself, I'd say. The rest would be tweaking and importing the data (I hope.)
On 20. 06. 2012 21:28, Herbert König wrote:
I think you're up against the big issue here: getting Scribo to work in Squeak, as Aida 6.4 does. This is a developer's issue and I'm hoping Janko will assist with this.
oh, it's nott hat bad my first debugger seems to point to an old relic that imho could never have worked.
In the end of the method returning javascript Smalltalk (the Webstyle) tries to determine whether the the browser is MSIE. A webstyle IMHO cannot know this, the javascript perfectly should know this. The debugger comes up in WebStyle>>isBrowserMSIE ^self session isFromMSIE
Janko can prove me wrong but a Webstyle is for many simultaneous sessions so self session is just useless here?
There is one instance of WebStyle per each AIDASite, so tehre are omany sessions per one webstyle.
WebStyle>>session finds a current session on which this method is called, by "climbing on the stack", that is, going up on the stack to find a first reference to the session this call is executing. See Object>>firstSessionFromStack method.
This also means that #session method must be called always while processing a web request. If you call it from debugger or workspace, it won't find a session of course and you'll end up in error.
Curious
Herbert
A working Aida&Scribo in a Squeak, and then the rest of it is something for end users like myself, I'd say. The rest would be tweaking and importing the data (I hope.)
Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
Hi Herbert,
On 20. 06. 2012 20:46, Herbert König wrote:
Now that you say it, that sounds like a manageable plan. As far as I can see all of the SqueakSite>>pages does have a lot of what we need to transport.
ok, I loaded the latest scribo (not the beta) on top of Aida 6.4 into trunk.
Before successfully loading SqueakSite on top of that I had to make WebWidget subclass#WebComponent because WebWidget seems to be a much evolved WebComponent but still understands the old protocol of WebComponent which is still used in SqueakSite.
Exactly
After that when logging into localhost:8888 to follow the scribo instructions I start getting debuggers.
I'm currently into that unless someone has already done that, then please stop me.
So you actually working to make an empty Squeaksite running on latest Aida and Scribo first. Remember that we need to migrate content too and such migration will be possible only from old to a new image but with the same version of Aida and Scribo as in old image.
But because there is not much content on Squeaksite we can actually just copy&paste it manually after that. Hm, but we will loose history of every page, but is that needed?
Best regards Janko
Cheers,
Herbert _______________________________________________ Webteam mailing list Webteam@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/webteam
webteam@lists.squeakfoundation.org