> In simple terms I was trying to create a 'folder with a view' which
> displays all the data it contains on one page, rather than having to
> view each node individually.
In that case I'd probably create a FolderView class with a show or display
method.
If you want to do something with the c
On Sat, Jun 6, 2009 at 10:43 AM, Norman Khine wrote:
> http://docs.hforge.org/itools/web.html although this is for the newer
> version, in my case i am maintaining an older version.
>From that page it seems that itools does as I suggest. They claim to
follow the Model-View-Controller pattern which
http://docs.hforge.org/itools/web.html although this is for the newer
version, in my case i am maintaining an older version.
On Sat, Jun 6, 2009 at 3:24 PM, Kent Johnson wrote:
> On Sat, Jun 6, 2009 at 8:26 AM, Norman Khine wrote:
>
>>> You probably don't want the view code in the same class with
On Sat, Jun 6, 2009 at 8:26 AM, Norman Khine wrote:
>> You probably don't want the view code in the same class with the data.
>> It's generally a good idea to separate the model - the representation
>> of data - from the view - the display of the data.
>
> In iTools, each class has a view, edit, s
Hi
On Sat, Jun 6, 2009 at 2:38 PM, Alan Gauld wrote:
>
> "Norman Khine" wrote
>
>> In my application I have 3 folders each containing images, something like:
>>
>> $ tree -L 3 /database/companies/company/
>> |-- product
>> | |-- itinerary
>> | | |-- img1.gif
>> | | |-- img1.gif.metadata
"Norman Khine" wrote
In my application I have 3 folders each containing images, something
like:
$ tree -L 3 /database/companies/company/
|-- product
| |-- itinerary
| | |-- img1.gif
| | |-- img1.gif.metadata
| | |-- day1
| | | |-- img2.gif
| | | `-- img2.gif.metadat
Thanks for the reply.
I am using the iTools python library from http://hforge.org
(http://git.hforge.org/) and the data is stored as XML files.
On Sat, Jun 6, 2009 at 1:02 PM, Kent Johnson wrote:
> On Sat, Jun 6, 2009 at 5:04 AM, Norman Khine wrote:
>> Hello,
>> I would like help to design the fol
On Sat, Jun 6, 2009 at 5:04 AM, Norman Khine wrote:
> Hello,
> I would like help to design the following:
> http://paste.lisp.org/display/81448
Product.get_days() may have a bug, it only returns the first container it finds.
You probably don't want the view code in the same class with the data.
I
Hello,
I would like help to design the following:
In my application I have 3 folders each containing images, something like:
$ tree -L 3 /database/companies/company/
|-- product
| |-- itinerary
| | |-- img1.gif
| | |-- img1.gif.metadata
| | |-- day1
| | | |-- img2.gif
| |
On Thu, Jan 22, 2009 at 6:24 PM, Alan Gauld wrote:
> "Marcus Goldfish" wrote
>
>> I'm trying to design a base class for a hierarchy. The properties I want
>> to
>> specify for the base class depend on the values of other properties of the
>> base class.
>
> Don't worry so much about the properti
"Marcus Goldfish" wrote
I'm trying to design a base class for a hierarchy. The properties I
want to
specify for the base class depend on the values of other properties
of the
base class.
Don't worry so much about the properties, the important thing to focus
on
in your base classes is the
On Thu, Jan 22, 2009 at 3:04 PM, Marcus Goldfish wrote:
> I'm trying to design a base class for a hierarchy. The properties I want to
> specify for the base class depend on the values of other properties of the
> base class. For instance, in this toy example of a base FoodProcessor
> class:
> cl
I'm trying to design a base class for a hierarchy. The properties I want to
specify for the base class depend on the values of other properties of the
base class. For instance, in this toy example of a base FoodProcessor
class:
class FoodProcessor:
"Model for a kitchen appliance food processo
13 matches
Mail list logo