empty | 8 Feb 15:43
Gravatar

can't find out how use Javascript libs such as HighStock

Hi 
I'm very new to JavaScript as well as Aida/Web.
The task is to show chart in HighStock JavaScript on a page that represents
an object that holds the data.
The chart lib has several js files, namely, a "js/highchart.js",
"/adapter/prototype-adapter.js", "/adapter/mootools.js" and
"/modules/exporting.js" and some /themes/xyz.js
In WebStyle I manually added  methods for those JavaScript, after the
examples found in WebStyle such as jQurery, including xyzResource and
ensureXYZ etc.
And I added lines to WebElement intending to add those JavaScript into the
<head>.
After this I used scriptAfter: to insert the code for charting. The code is
just a copy of original example code.
Well, it doesn't work.
Any advises?

Yours,

JG

P.S.
Here are some code:

viewChart

	| e |
	e := WebElement new.
	e ensureId.
	e addTextH1: 'highstock charts'.
(Continue reading)

Robert Calco | 7 Feb 14:45
Picon
Gravatar

Aida Internals and upcoming 6.5

I want to understand Aida's internal design. Does anyone have a sort of 30,000 ft view of what happens in the course of multiple HTTP requests internally to preserve state in the components in Aida? I am trying to study all the individual objects in each package but I could benefit from a high-level understanding of what's going on, and how the different pieces relate.

Also I would like to know how (and whether) others are providing web service APIs in Aida. I understand the new 6.5 Aida coming out soon will have more explicit support for REST (which I need, like, yesterday :) ), but maybe some other people have rolled their own support and I'm curious how you did it and what you learned along the way.

Thanks,

Bob
Robert Calco | 6 Feb 14:17
Picon
Gravatar

Roles/Parties/etc.

Janko et al.,


I like that Aida provides a framework for managing users and roles and was wondering if you could give a bit of detail about the use cases the current implementation does (and does not) support. 

I have a rather complex user access model I need to support and my hierarchy starts with Person also, so I'm wondering whether and how far I can base my implementation on the abstractions you supply (and indeed, whether I must as a matter of design of Aida)?

My model also requires capturing login dates, IP address, and other kinds of information when users log in, so we can detect irregular patterns of usage, etc. I was also wondering if you knew of any geo-location packages for VW that I can use to determine, for example, the country of origin for a given new user, so that the right locale can be selected and displayed to them.

TIA!

- Bob
Nicholas Moore | 4 Feb 19:17
Favicon

WebDav

Does anyone have an example of how to set up WebDav access using Aida?

Nicholas
--

Nicholas Moore

Robert Calco | 27 Jan 11:08
Picon
Gravatar

Tutorial bug with preferedUrl?

I have implemented the Aida tutorial but notice a quirk when adding new entries, namely, the URL of the new object is always "-c". For example, if you add 'Jack', 'Beanstalk', '1234567890', 'jack <at> beanstalk.com', the URL of the new entity is '/address/-c'. It seems to me it should generate correctly the URL '/address/beanstalk' instead.


In order to fix the situation I have to run

book addresses do: [ :each | URLResolver default changeToPreferedURL: each ].

... (fortunately I have the 'book' reference in my transcript which I don't dare lose). Then everybody's URL is right.

- Bob


David Jacobs | 26 Jan 12:10
Picon
Gravatar

Aida ToDo example - does not run out of the box

Hi,

New to SmallTalk but eager to learn. I tried the ToDo example
(http://www.aidaweb.si/todo-description) but it failed to run.

I've a fresh installed Pharo (OneClick) v. 1.3-13315.
I loaded Aida & the AidaTodoExample as mentioned on the webpage.
Going to http://localhost:8888/ works fine.
Going to http://localhost:8888/todo gives an error: http://imgur.com/kJto2

Any clues?
Wild guess: Does "task" need to be initialized somewhere?

Kind regards,
- david
Pablo Digonzelli | 10 Jan 03:32

ERP

Hi,  I am interesting to develop ERP like applications with smalltalk. I want a web enable interface . Some one have been doing this kind of applications with aida framework?

TIA

--
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
25 de Mayo 521
Email: pdigonzelli <at> softsargentina.com
pdigonzelli <at> gmail.com
Cel: 543815751016
Janko Mivšek | 7 Jan 20:36
Picon
Gravatar

Looking back in 2011

Dear Aiders!

Last year was one of the most productive for Aida which managed to
revive its fundamental architecture so that we can say we are now on the
frontiers of the rapidly advancing web technology.

So, what were the main achievements in last year:

1. Three versions were released in one year: 6.1, 6.2, 6.3!

2. New event framework was a major architectural redesign, which started
from idea by Herbert König from a wish list and evolves through the year
into really robust but yet simple event framework for those days very
popular asynchronous event driven web development (pretty like node.js).

3. Some other achievements:

  - updating some element on the webpage simply by 'e update'
  - image based persistency by hourly image snapshot
  - mobile support
  - HTML5
  - realtime (WebSocket) support
  - much improved Widgets
  - fully ajaxified forms including validation.

4. @aidaweb on Twitter was started to report about interesting web
technology news, blogs, articles and of course about Aida and Smalltalk
in general. We have currently 128 followers and what is interesting -
from many other communities like Ruby, web design etc. Idea of that
effort is also to spread the awareness of Smalltalk in broader web
technology world.

5. Comparison of Aida vs Seaside and Iliad Smalltalk web frameworks[1].
Well, that one was hard. Initial idea was to make a balanced comparison,
but puting facts on the table obviously don't please everyone, so
comparison is now still Aida centric, from our viewpoint how good we
compete with others and where are our weaknesses.

1. ToDo example application [2] was done as part of "Comparison by
example" initiative by Hannes Hirzel. This ToDo example is so far the
best showcase of what Aida is able to achieve including Ajax form
validation, widgets, realtime support etc.

2. Aida is now continously integrated with Pharo by Jenkins CI server
provided by ESUG and French INRIA [3], which allow us to detect early
any problem running on bleeding edge Pharos.

Any additional thought about our last year performance is greatly
appreciated!

Best regards
Janko

[1] Comparison of web frameworks
https://docs.google.com/spreadsheet/ccc?authkey=CJva7-8L&pli=1&key=0Atnb1W9vuq9ndGRTUFIzT3VON0lTQ3JxdlZYTUxhOFE&hl=en&authkey=CJva7-8L#gid=0
[2] Description of ToDo excample http://www.aidaweb.si/todo-description
[3] Jenkins CI server https://ci.lille.inria.fr/pharo/

--

-- 
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 | 2 Jan 17:26
Picon
Gravatar

[ANN] Aida 6.4 Christmas Edition released

Dear Smalltalkers,

Well, Christmas is over but to keep with a tradition here is a new Aida
6.4 on Squeak/Pharo and VisualWorks, as a present for Smalltalk
community in New Year :)

This one is mostly a maintenance release with two new features:

 * image backup before hourly snapshot
 * event handling: WebElement #on: anEventSymbol do: aBlock

Enhancements:

  * Widget simplifications and enhancements
  * form support now works in all possible combinations
  * Widget examples added to demos

More in Release notes: http://www.aidaweb.si/release-notes-6.4

The easiest way to Aida is One-Click Pharo image accessible from:

	http://www.aidaweb.si/download

If you want to load by yourself: on Pharo it is really simple to load,
just evaluate this script:

  Gofer new
     squeaksource: 'MetacelloRepository';
     package: 'ConfigurationOfAida';
     load.

  (Smalltalk at: #ConfigurationOfAida) load.	

Then simply open http://localhost:8888 .

Best regards
Janko

--

-- 
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
Janko Mivšek | 31 Dec 19:23
Picon
Gravatar

Happy New Year!

Dear members of Aida community!

Let me wish all the best to you, your friends and families in a year to
come. Of course I wish all the best to our Aida as well!

More about a look back to achievements and forward to Aida plans and
wishes in comming days.

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
Dirk Verleysen | 24 Dec 00:27
Favicon

WebDialog

I have the following problem:

I have an entry form and a submit button. After the submit button is 
pressed some actions are done and afterwards I would like to show a 
WebDialog with the required information or state of the execution.

I tried with "WebDIalog newInform text: aString" but that did nothing.  
The code "self show: (WebDialog newInform text: aString)" also shows 
nothing but on Chrome the page seems to remain busy and not accessible 
afterwards. On IE the page comes free after some time but no dialog is 
shown.

Any hints on how to do this ?

Dirk


Gmane