test subdirectory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

test subdirectory

Lukas Renggli
Hi Michel,

thanks for your great enhancement to have a subdirectory with all the
testing application! Maybe we should also create one for the examples?

The only thing I wonder about is why you start the directory name with
an upper-case letter? Wasn't it sort of a convention to have the
directory and applications always lower-case? I am in favour of
consistency ;-)

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: test subdirectory

Michel Bany
> thanks for your great enhancement to have a subdirectory with all the
> testing application!

Thanks, glad you like it.

For those who do not know about it, you just need to implement  
#initialize
on the class side with something like this
        self registerAsApplication: 'foo/bar/zork'
This is designed to automatically create all the needed dispatchers in a
recursive manner.

I also added a 'browse' application that let you browse through the  
available
applications and folders without the need of authenticating. You can  
also
describe the applications by having the root components implement
#description on the class side.

> Maybe we should also create one for the examples?

Sure. Just a matter of listing the applications to be classified as  
examples.

> The only thing I wonder about is why you start the directory name with
> an upper-case letter? Wasn't it sort of a convention to have the
> directory and applications always lower-case?

No special reason. I was not aware of that convention.
I will not object to renaming it.

Some polishing is still needed to the 'config' application to fully
deal with applications defined in a directory.

Enjoy,
Michel.





_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside