Re: Nemethi's Tablelist widget vs. Hobb's Tktable widget




Vaclav Snajdr wrote:
> I use tablelist too and have tryied tk-table.
>
> The sort of a tablelist with 120.000 rows with 5 columns
> needs to much time, tk-table is quick enough because c-based.
> What is to do?
>
> An Cobol man would say - if I must be quickly I sort using
> memory otherwise I sort via key-indexed file.
>
> I mean to wrap tk-table's C-routines for build and sort with
> parameters and let call this routine from tcl-code (not only from
> tablelist but common).
>
>
> Kevin Penrose wrote:
>
> >
> > Greetings!
> >
> > I have just finished reading the release notes for the new release
of
> > Csaba's Tablelist widget, and I'm looking for some feedback from
some
> > experienced users of this widget at Jeff Hobb's TkTable widget.
> >
> > I have several projects which heavily rely on the TkTable widget
and I
> > like its speed and functionality. But the Tablelist widget looks
mighty
> > appealing also.
> >
> > So, how do they stack up against each other? Is one better for
certain
> > uses than the other, etc? Is speed an issue with Tablelist? The
> > interactive cell editing feature of the tablelist widget looks like
> > something I can use for a particular application, but the table may
have
> > several hundred rows, so I worry about performance.
> >
> > All opinions welcomed!
> >
> > Thanks,
> >
> > -- Kevin
>
> --
> Vaclav Snajdr

Ah Ha ! I hope you take this as constructive input. If we all
concentrate more on interface specification then interface users can
easily, freely pick and try implementations. This guy was trying to
start something but it did not gain momentum.

http://rrna.uia.ac.be/interface/index.html

art

excerpt from his web site .

What is tcl interface
In Tcl "objects" can be created in many ways: in C, in Tcl or in any of
the Tcl OO extensions. The term object is used loosely here for each
compound command: a command with subcommands (methods) that
encapsulates a certain functionality. Different kinds of objects can
often have similar functionality: eg. objects for connecting to
different kinds of databases would be nicely interchangeable if they
would support the same set of methods in the same way. In order to let
objects easily communicate with each other they have to be able to find
out the others functionality.

An interface is a set of (related) methods that provide a predefined
functionality. An object implements an interface if it supports all the
methods in the interface the proper way. Of course, one object can
support multiple interfaces. It can advertise the interfaces it
supports. An interface is basically defined by a description of the
interface and its methods and a test suite.

.



Relevant Pages

  • Re: Interface VS Delegate
    ... Interfaces allow us to extend some object's functionality, ... between the interface and the object that implements it. ... to the objects you want to sort unless... ... quicksort algorithm that has a callback (delegate in .NET) as a parameter. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: implementing roles in OOP......
    ... everything should be driven by abstracting the problem ... my draft interfaces define what sort of thing I would ... All I need is the Composite relationships to navigate, ... IEnumerator is an interface defined by my environment, we can put, ...
    (comp.object)
  • Re: multiple inheritance
    ... slice" of functionality, and use MI to get at it from a class that has this ... to think much more about the design at this level than any most programmers ... I'm a MI AND Interface fan. ... Point 1: Aggregation ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Great SWT Program
    ... orthogonal to whether or not a program has a decent user interface. ... A few also knew the arrow keys existed. ... "useful functionality required to qualify the application as an IDE". ... Or maybe you simply use "real text editor" as a synonym for IDE; ...
    (comp.lang.java.programmer)
  • Re: Ensuring a method exists
    ... When different classes offer similar functionality and you want ... Interface types are more flexible than class types because the former ... (defgeneric rem (collection object)) ... It's left up to the responsibility of the programmer to define the right methods, or to leave them out when they are actually not necessary. ...
    (comp.lang.lisp)