List Info

Thread: Re: Working onuploadingattachmenttoaTopic-FR1088181




Re: Working onuploadingattachmenttoaTopic-FR1088181
country flaguser name
Canada
2007-02-07 19:42:29
Hello,

The other wikis I've seen are divided in 2 categories
regarding 
attachments, wiki level attachments and topic level
attachments.
The upload.aspx script fits in the wiki level attachment
category where 
an attachment is "contained" by the wiki and in
this example the file is 
served directly by IIS without going through FW.

But I guess this comment adds a new dimension to the
attachment debate.

In my very limited wiki usage experience I have personally
felt that 
topic level attachments give more flexibility and are more
intuitive ( 
email like ).

Here are some differences I note

    * It's easier to secure the access to attachments at
topic level
      since the link to an attachment rely on
wiki/namespace/topic rights.
    * Topic level attachments can have the same name for
different
      topics ( i.e. Resume.doc )
    * Wiki level attachments are easier to share in many
topics.


John Davidson wrote:
> To start I agree that being able to add attachments to
a Topic is a
> mandatory requirement. The problem I have been having
is in following
> the need to add an Attachment model to the existing
FlexWiki Object
> model.
>
> FlexWiki, even 1.8, currently supports attachments to a
Topic. The
> implementation is via an extremely simply hyperlink on
the page. To
> make this work the upload.aspx must have been
implemented to move the
> document to be attached into the virtual directory
structure
> accessible by the Wiki Namespace hosting the Topic to
hold the
> attachment.
>
> This is not to say that the upload.aspx implementation
is in itself
> the best method, but all the required elements are
there and can
> suitably be tweaked to fulfill all requirements (except
one of
> attachments - which I will address separately below).
The code that
> runs the upload.aspx page could be implemented in a
button on a page
> being edited that caused a second page to be displayed
in a new
> window. This page would allow the navigation to the
local version of
> the attachment, process the upload into the virtual
directory
> structure of the Namespace, gather a set of agreed upon
hidden
> properties about the attachment and then create the
hyperlink to the
> uploaded attachment and the hidden properties into the
edited page at
> the place where the editing cursor was when the
attachment button was
> pushed. Dispaly off the attachment button in the border
area of the
> edit topic should be configurable and managed by the
wiki
> administrator. There has been prior discussion of the
metadata about
> the attachment that could be retained in the hidden
properties. A
> WikiTalk macro would be able to expose a desired
selection of those
> hidden properties automatically.
>
> The upload.aspx implementation already includes file
size limits to
> prevent huge uploads (I occassionally reset it to allow
files upto 5
> GB when required).
>
> The only requirement not currently covered by this
implementation, but
> discussed above is the ability to have a hyperlink to
an image display
> as the hyperlink, rather than the the actual image.
>
> The only additional thought I have is that the
capability to decorate
> the attachment hyperlink with an icon meaning an
attachment (would a
> folder icon violate certain copyrights?).
>
> The advantage of this implementation is that there are
no changes to
> the core Object code and all changes are implemented
within the
> userspace portion.
>
> The enduser gets to decide what happens with respect to
versioning of
> the attachment.
>
>
> John Davidson
>
>
------------------------------------------------------------
-------------
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki
-users
>   


------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Flexwiki-users mailing list
Flexwiki-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki
-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )