Not sure I'm following you're English, but yes, it's not linking the file, it's importing it into the image as an object.
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of Lord ZealoN Sent: Thursday, March 23, 2006 12:49 PM To: The general-purpose Squeak developers list Subject: Re: FileSystem in Squeak
Then, not is a "link" to the file. The image will be an object inside the image forever
2006/3/23, Ramon Leon rleon@insario.com:
No, that's how you get it into the image from the hard
drive in the first place. Once inside the image, it's an object, you can store it anywhere you like, in any way you like, just like any other object. Inside the image, there's no such thing as a file, it's all just objects.
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On
Behalf Of
Lord ZealoN Sent: Thursday, March 23, 2006 12:39 PM To: The general-purpose Squeak developers list Subject: Re: FileSystem in Squeak
But, then you need the file in the harddrive not in the image.
--
Pero necesitas el archivo físicamente igualmente, no
queda dentro de
la imágen.
2006/3/23, Germán Arduino garduino@gmail.com:
Almost anything may be "embedded" in the image, even in
a method.
By example:
x := Form fromFileNamed: 'mypic.jpg'
and you have the object x as a .jpg inside the image
that you can
manipulate as you want.
Cheers. gsa.
2006/3/23, Lord ZealoN lordzealon@gmail.com:
Hi again, i have a question, and if don't exists is a
good feature.
Would be interesting that you (i) can embbebed (i
don't know if
is correct) files into the squeak image.
Is possible now? is in wish list?
Well, my english is very bad. But i think i understand you.
I want say thath the file don't need it more because is inside the image as an object, true?.
An example thath i want to say is better than 1000 words. I have in a directory the file, squeak3.8.image and the file myphoto.jpg (or clasic.mp3, BeautyAndTheBest.avi, SomethingUseful.pdf or xml, css etc..etc..etc...).
If i do " x := Form fromFileNamed: 'myphoto.jpg' " (or something file) then myphoto.jpg are inside the image and i don't need the file. I can't give the image file only because myphoto.jpg is inside the image.
Omg, i need an english tour.
2006/3/23, Ramon Leon rleon@insario.com:
Not sure I'm following you're English, but yes, it's not linking the file, it's importing it into the image as an object.
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of Lord ZealoN Sent: Thursday, March 23, 2006 12:49 PM To: The general-purpose Squeak developers list Subject: Re: FileSystem in Squeak
Then, not is a "link" to the file. The image will be an object inside the image forever
2006/3/23, Ramon Leon rleon@insario.com:
No, that's how you get it into the image from the hard
drive in the first place. Once inside the image, it's an object, you can store it anywhere you like, in any way you like, just like any other object. Inside the image, there's no such thing as a file, it's all just objects.
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On
Behalf Of
Lord ZealoN Sent: Thursday, March 23, 2006 12:39 PM To: The general-purpose Squeak developers list Subject: Re: FileSystem in Squeak
But, then you need the file in the harddrive not in the image.
--
Pero necesitas el archivo físicamente igualmente, no
queda dentro de
la imágen.
2006/3/23, Germán Arduino garduino@gmail.com:
Almost anything may be "embedded" in the image, even in
a method.
By example:
x := Form fromFileNamed: 'mypic.jpg'
and you have the object x as a .jpg inside the image
that you can
manipulate as you want.
Cheers. gsa.
2006/3/23, Lord ZealoN lordzealon@gmail.com:
Hi again, i have a question, and if don't exists is a
good feature.
Would be interesting that you (i) can embbebed (i
don't know if
is correct) files into the squeak image.
Is possible now? is in wish list?
I STRONGLY recommend you spend some time with the image, almost all may be understood searching examples in the image.
Remember to use inspectors, senders, implementors, references, Method Finder, etc.
Cheers. gsa.
2006/3/23, Lord ZealoN lordzealon@gmail.com:
Well, my english is very bad. But i think i understand you.
I want say thath the file don't need it more because is inside the image as an object, true?.
An example thath i want to say is better than 1000 words. I have in a directory the file, squeak3.8.image and the file myphoto.jpg (or clasic.mp3, BeautyAndTheBest.avi, SomethingUseful.pdf or xml, css etc..etc..etc...).
If i do " x := Form fromFileNamed: 'myphoto.jpg' " (or something file) then myphoto.jpg are inside the image and i don't need the file. I can't give the image file only because myphoto.jpg is inside the image.
Omg, i need an english tour.
Maybe AVI's FTPlet challenge might be of some help:
http://www.cincomsmalltalk.com/userblogs/avi/blogView?showComments=true
Back in January, I challenged the Seaside community to implement a dynamic FTP server. The idea isn't to get Squeak to serve out the filesystem, but to have a way to use the FTP protocol as an interface to any data you want, in the same way that dynamic web servers let you use HTTP for applications far beyond serving static HTML files. Well, Ian Prince wrote a couple of weeks ago that he and Lukas Renggli had started to tackle it at Camp Smalltalk in Brussels. Since then, Lukas has been hacking away, and he just let me know that he had support for passive clients done... Each method is represented as a separate text file, and if you edit and save one, it'll be immediately recompiled and the image updated. Ever wanted to use emacs to edit your Squeak code? Here's your chance. But browsing Smalltalk method source is just the beginning. Any number of databases and domain models could be usefully exposed as a hierarchical file system. Lukas says he's already working on an FTP view for SmallWiki2, turning BBEdit into a dedicated wiki editor.
I'll note until recently the mpeg plugin would only play mp3 files from the file system. This was changed recently, unlikely there is a windows version yet, so that you can give a buffer of data to the plugin for playback. Thus you read the *.mp3 into the image, later you give that buffer to the plugin for playback.
However with Sophie the primary method of playback will be Quicktime, will fallback if possible to the Mpeg plugin.
On 23-Mar-06, at 2:14 PM, Lord ZealoN wrote:
(or clasic.mp3,
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
squeak-dev@lists.squeakfoundation.org