[Seaside] Web Calendar for Seaside

Adrian Lienhard seaside@lists.squeakfoundation.org
Fri, 22 Nov 2002 22:27:40 +0100


Hi Derek

It looks realy nice! Thanks.

Here some first feedback:

There seems to be a problem (not with your code but with Seaside's) with
handling the stylesheet. After the counter of the requests (the last number
in the url) has reached about 50 and you change to edit or from edit to the
month view, you loose the stylesheet (the stylesheet url returns: "That Page
has expired"). As far as I see it's that the key created by
"Session>>urlForDocument: ..." will expire (like the other pages) and so
Seaside can't serve the css anymore.

>The application is registered on your server under the name 'sandcaster'.
the name is just "calendar" (not a big deal - or have you posted an old
version?)

The saving doesn't work (though there is a new file named "events.fd.toc"
created. But it's empty).
Ah, I now on your laptop ;-) there is a "Write events to distk" link...

Design: I can't say too much because I make my first real experiences at the
moment writing an web-app (it is a Team-/Project-Management web application.
If you are interested in what I plan to do have a look at the requirements
collection at http://swiki.netstyle.ch:8080/Adrian/3. There will also be a
Calendar... ;-). I'll then also try to factor out components and give them
to the community.)

Ideas for possible improvements:
- regular occurances
- date spans (e.g. "Holydays from day x to day y")
- repeating events ("meeting each tuesday")
- jump to a specific month (a selectbox for months in year + a selectbox for
years)
- filtering
- show/hide event details
- PDF generation of a month view. For a high quality printout or just to
save offline. (We have some experiences creating pdfs dynamicaly. So I'll
maybe do this. Somebody interested?)

Adrian

_____________________
Adrian Lienhard
www.adrian-lienhard.ch
www.netstyle.ch


> Hi Seasiders,
> As per a suggestion from Avi, I've been plugging away at a Web Calendar
> for Seaside modeled after Kalendus on Source Forge.  It is code-named
> "SandCaster" because sand is related to time and the seaside.  Here's
> what I have so far:
> http://24.68.112.62:8000/sandcaster/    (if my laptop is online)
>
> Installation instructions follow at the end of the email.
>
> I am surprised at how easy it is to do many things in Seaside that are
> much harder to do in php.  So job well done to Avi and Julian and others
> who built the Seaside framework.  I hope to produce a tutorial once I
> get some implementation feedback from you guys.
>
> There are some nice widgets that can be harvested from this project:
> - TabComponent
> - general framework for editing common objects like collections, dates,
> times and anything else you define an editor for.  This has proven
> pretty powerful.
>
> I would like some design feedback.  I don't think I'm making full use of
> the Continuation framework in Seaside.  Maybe this isn't needed in my
> application yet?  I am kind of confused about how to use WAComponents
> and WAViews effectively.
>
> Still to be added: (recurrences, all-day and multi-day events, and nifty
> features).
>
> Installation intstructions (not tested yet):
> Install Mark Guzdial's SmartFileDictionary:
> http://guzdial.cc.gatech.edu/st/SmartFileDictionary.st (events are
> written to disk in a file named events.fd.
> Install the attached DVS package WebCalendar.st.
>
> The application is registered on your server under the name 'sandcaster'.
> Cheers,
> Derek
>


----------------------------------------------------------------------------
----


>
>
> Nerd on a Wire: Web and Information Solutions
> Website Design - Database Systems - Site Hosting
> 604.874.6463
> mailto:info@nerdonawire.com
> For more information, visit http://nerdonawire.com
>